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
198 * Calculate mask of events for a list of marks. The caller must make sure
326 /* Catch marks that were actually never attached to object */ in fsnotify_put_mark()
401 * Puts marks and wakes up group destruction if necessary.
413 * all marks pinned when waiting for userspace. in fsnotify_put_mark_wake()
427 if (!fsnotify_get_mark_safe(iter_info->marks[type])) { in fsnotify_prepare_user_wait()
434 * Now that both marks are pinned by refcount in the inode / vfsmount in fsnotify_prepare_user_wait()
444 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_prepare_user_wait()
455 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_finish_user_wait()
511 * Some groups like to know that marks are being freed. This is a in fsnotify_free_mark()
530 * Sorting function for lists of fsnotify marks.
534 * decreasing priority order. To achieve this marks in notification lists for
539 * and vfsmount marks of each group together. Using the group address as
541 * merge inode and vfsmount lists of marks in linear time and find groups
545 * A return value of 0 signifies that the two marks have to be handled together.
630 * Add mark into proper place in given list of marks. These marks may be used
632 * to which group and for which inodes. These marks are ordered according to
727 * These marks may be used for the fsnotify backend to determine which
785 * Given a list of marks, find the mark associated with given group. If found
811 /* Clear any marks in a group with given type mask */
819 /* Skip selection step if we want to clear all marks. */ in fsnotify_clear_marks_by_group()
826 * fsnotify_clear_marks_by_inode() can come and free marks. Even in our in fsnotify_clear_marks_by_group()
830 * move marks to free to to_free list in one go and then free marks in in fsnotify_clear_marks_by_group()
856 /* Destroy all marks attached to an object via connector */
911 * Destroy all marks in destroy_list, waits for SRCU period to finish before
912 * actually freeing marks.
932 /* Wait for all marks queued for destruction to be actually destroyed */