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
143 * freeing_mark - called when a mark is being destroyed for some reason. The group
144 * MUST be holding a reference on each mark and that reference must be
153 int (*handle_inode_event)(struct fsnotify_mark *mark, u32 mask,
157 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
160 void (*free_mark)(struct fsnotify_mark *mark);
210 atomic_t num_marks; /* 1 for each mark and 1 for not being
319 struct fsnotify_mark *mark) in fsnotify_iter_set_report_type_mark() argument
321 iter_info->marks[type] = mark; in fsnotify_iter_set_report_type_mark()
370 * A mark is simply an object attached to an in core inode which allows an
381 * mnt->mnt_root->d_lock depending on the mark type.
384 /* Mask this mark is for [mark->lock, group->mark_mutex] */
387 * in kernel that found and may be using this mark. */
389 /* Group this mark is for. Set on mark creation, stable until last ref
393 * mark into destroy_list when it's waiting for the end of SRCU period
398 /* List of marks for inode / vfsmount [connector->lock, mark ref] */
400 /* Head of list of marks for an object [mark ref] */
402 /* Events types to ignore [mark->lock, group->mark_mutex] */
407 unsigned int flags; /* flags [mark->lock] */
431 * This object might be watched by a mark that cares about parent/name in fsnotify_parent_needed_mask()
513 extern void fsnotify_init_mark(struct fsnotify_mark *mark,
515 /* Find mark belonging to given group in the list of marks */
521 /* attach the mark to the object */
522 extern int fsnotify_add_mark(struct fsnotify_mark *mark,
525 extern int fsnotify_add_mark_locked(struct fsnotify_mark *mark,
530 /* attach the mark to the inode */
531 static inline int fsnotify_add_inode_mark(struct fsnotify_mark *mark, in fsnotify_add_inode_mark() argument
535 return fsnotify_add_mark(mark, &inode->i_fsnotify_marks, in fsnotify_add_inode_mark()
538 static inline int fsnotify_add_inode_mark_locked(struct fsnotify_mark *mark, in fsnotify_add_inode_mark_locked() argument
542 return fsnotify_add_mark_locked(mark, &inode->i_fsnotify_marks, in fsnotify_add_inode_mark_locked()
547 /* given a group and a mark, flag mark to be freed when all references are dropped */
548 extern void fsnotify_destroy_mark(struct fsnotify_mark *mark,
550 /* detach mark from inode / mount list, group list, drop inode reference */
551 extern void fsnotify_detach_mark(struct fsnotify_mark *mark);
552 /* free mark */
553 extern void fsnotify_free_mark(struct fsnotify_mark *mark);
573 extern void fsnotify_get_mark(struct fsnotify_mark *mark);
574 extern void fsnotify_put_mark(struct fsnotify_mark *mark);