Lines Matching full:mark

53  * Set on inode mark that cares about things that happen to its children.
89 * It may include events that can be sent to an inode/sb/mount mark, but cannot
133 * @mark: mark to notify
142 * freeing_mark - called when a mark is being destroyed for some reason. The group
143 * MUST be holding a reference on each mark and that reference must be
152 int (*handle_inode_event)(struct fsnotify_mark *mark, u32 mask,
156 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
159 void (*free_mark)(struct fsnotify_mark *mark);
209 atomic_t num_marks; /* 1 for each mark and 1 for not being
318 struct fsnotify_mark *mark) in fsnotify_iter_set_report_type_mark() argument
320 iter_info->marks[type] = mark; in fsnotify_iter_set_report_type_mark()
369 * A mark is simply an object attached to an in core inode which allows an
380 * mnt->mnt_root->d_lock depending on the mark type.
383 /* Mask this mark is for [mark->lock, group->mark_mutex] */
386 * in kernel that found and may be using this mark. */
388 /* Group this mark is for. Set on mark creation, stable until last ref
392 * mark into destroy_list when it's waiting for the end of SRCU period
397 /* List of marks for inode / vfsmount [connector->lock, mark ref] */
399 /* Head of list of marks for an object [mark ref] */
401 /* Events types to ignore [mark->lock, group->mark_mutex] */
406 unsigned int flags; /* flags [mark->lock] */
430 * This object might be watched by a mark that cares about parent/name in fsnotify_parent_needed_mask()
512 extern void fsnotify_init_mark(struct fsnotify_mark *mark,
514 /* Find mark belonging to given group in the list of marks */
520 /* attach the mark to the object */
521 extern int fsnotify_add_mark(struct fsnotify_mark *mark,
524 extern int fsnotify_add_mark_locked(struct fsnotify_mark *mark,
529 /* attach the mark to the inode */
530 static inline int fsnotify_add_inode_mark(struct fsnotify_mark *mark, in fsnotify_add_inode_mark() argument
534 return fsnotify_add_mark(mark, &inode->i_fsnotify_marks, in fsnotify_add_inode_mark()
537 static inline int fsnotify_add_inode_mark_locked(struct fsnotify_mark *mark, in fsnotify_add_inode_mark_locked() argument
541 return fsnotify_add_mark_locked(mark, &inode->i_fsnotify_marks, in fsnotify_add_inode_mark_locked()
546 /* given a group and a mark, flag mark to be freed when all references are dropped */
547 extern void fsnotify_destroy_mark(struct fsnotify_mark *mark,
549 /* detach mark from inode / mount list, group list, drop inode reference */
550 extern void fsnotify_detach_mark(struct fsnotify_mark *mark);
551 /* free mark */
552 extern void fsnotify_free_mark(struct fsnotify_mark *mark);
572 extern void fsnotify_get_mark(struct fsnotify_mark *mark);
573 extern void fsnotify_put_mark(struct fsnotify_mark *mark);