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);
316 struct fsnotify_mark *mark) in fsnotify_iter_set_report_type_mark() argument
318 iter_info->marks[type] = mark; in fsnotify_iter_set_report_type_mark()
367 * A mark is simply an object attached to an in core inode which allows an
378 * mnt->mnt_root->d_lock depending on the mark type.
381 /* Mask this mark is for [mark->lock, group->mark_mutex] */
384 * in kernel that found and may be using this mark. */
386 /* Group this mark is for. Set on mark creation, stable until last ref
390 * mark into destroy_list when it's waiting for the end of SRCU period
395 /* List of marks for inode / vfsmount [connector->lock, mark ref] */
397 /* Head of list of marks for an object [mark ref] */
399 /* Events types to ignore [mark->lock, group->mark_mutex] */
404 unsigned int flags; /* flags [mark->lock] */
428 * This object might be watched by a mark that cares about parent/name in fsnotify_parent_needed_mask()
519 extern void fsnotify_init_mark(struct fsnotify_mark *mark,
521 /* Find mark belonging to given group in the list of marks */
527 /* attach the mark to the object */
528 extern int fsnotify_add_mark(struct fsnotify_mark *mark,
531 extern int fsnotify_add_mark_locked(struct fsnotify_mark *mark,
536 /* attach the mark to the inode */
537 static inline int fsnotify_add_inode_mark(struct fsnotify_mark *mark, in fsnotify_add_inode_mark() argument
541 return fsnotify_add_mark(mark, &inode->i_fsnotify_marks, in fsnotify_add_inode_mark()
544 static inline int fsnotify_add_inode_mark_locked(struct fsnotify_mark *mark, in fsnotify_add_inode_mark_locked() argument
548 return fsnotify_add_mark_locked(mark, &inode->i_fsnotify_marks, in fsnotify_add_inode_mark_locked()
553 /* given a group and a mark, flag mark to be freed when all references are dropped */
554 extern void fsnotify_destroy_mark(struct fsnotify_mark *mark,
556 /* detach mark from inode / mount list, group list, drop inode reference */
557 extern void fsnotify_detach_mark(struct fsnotify_mark *mark);
558 /* free mark */
559 extern void fsnotify_free_mark(struct fsnotify_mark *mark);
579 extern void fsnotify_get_mark(struct fsnotify_mark *mark);
580 extern void fsnotify_put_mark(struct fsnotify_mark *mark);