Lines Matching full:marks
18 * There are 3 locks involved with fsnotify inode marks and they MUST be taken
29 * mark->lock protects the marks attributes like its masks and flags.
34 * mark->connector->lock protects the list of marks anchored inside an
37 * A list of notification marks relating to inode / mnt is contained in
39 * marks in the list and is also protected by fsnotify_mark_srcu. A mark gets
48 * Inode marks survive between when they are added to an inode and when their
49 * refcnt==0. Marks are also protected by fsnotify_mark_srcu.
56 * - The fsnotify_group associated with the mark is going away and all such marks
165 * is attached and has any marks attached.
282 * Calculate mask of events for a list of marks. The caller must make sure
387 /* Catch marks that were actually never attached to object */ in fsnotify_put_mark()
467 * Puts marks and wakes up group destruction if necessary.
479 * all marks pinned when waiting for userspace. in fsnotify_put_mark_wake()
493 if (!fsnotify_get_mark_safe(iter_info->marks[type])) { in fsnotify_prepare_user_wait()
500 * Now that both marks are pinned by refcount in the inode / vfsmount in fsnotify_prepare_user_wait()
510 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_prepare_user_wait()
521 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_finish_user_wait()
577 * Some groups like to know that marks are being freed. This is a in fsnotify_free_mark()
596 * Sorting function for lists of fsnotify marks.
600 * decreasing priority order. To achieve this marks in notification lists for
605 * and vfsmount marks of each group together. Using the group address as
607 * merge inode and vfsmount lists of marks in linear time and find groups
611 * A return value of 0 signifies that the two marks have to be handled together.
705 * Add mark into proper place in given list of marks. These marks may be used
707 * to which group and for which inodes. These marks are ordered according to
788 * These marks may be used for the fsnotify backend to determine which
845 * Given a list of marks, find the mark associated with given group. If found
875 /* Clear any marks in a group with given type mask */
883 /* Skip selection step if we want to clear all marks. */ in fsnotify_clear_marks_by_group()
890 * fsnotify_clear_marks_by_inode() can come and free marks. Even in our in fsnotify_clear_marks_by_group()
894 * move marks to free to to_free list in one go and then free marks in in fsnotify_clear_marks_by_group()
920 /* Destroy all marks attached to an object via connector */
975 * Destroy all marks in destroy_list, waits for SRCU period to finish before
976 * actually freeing marks.
996 /* Wait for all marks queued for destruction to be actually destroyed */