Lines Matching full:marks
36 * Legacy fanotify marks limits (8192) is per group and we introduced a tunable
37 * limit of marks per user, similar to inotify. Effectively, the legacy limit
38 * of fanotify marks per user is <max marks per group> * <max groups per user>.
1227 /* Only detached marks left? */ in fanotify_set_mark_fsid()
1231 /* Do not allow mixing of marks with weak and strong fsid */ in fanotify_set_mark_fsid()
1235 /* Allow mixing of marks with strong fsid from different fs */ in fanotify_set_mark_fsid()
1239 /* Do not allow mixing marks with weak fsid from different fs */ in fanotify_set_mark_fsid()
1243 /* Do not allow mixing marks from different btrfs sub-volumes */ in fanotify_set_mark_fsid()
1263 * Enforce per user marks limits per user in all containing user ns. in fanotify_add_new_mark()
1476 * unlimited queue/marks. in SYSCALL_DEFINE2()
1483 * prevents setting mount/filesystem marks on this group and in SYSCALL_DEFINE2()
1714 * mount and sb marks are not allowed on kernel internal pseudo fs, in fanotify_events_supported()
1826 * marks. This also includes setting up such marks by a group that in do_fanotify_mark()
1849 * Evictable is only relevant for inode marks, because only inode object in do_fanotify_mark()
1917 /* FAN_MARK_IGNORE requires SURV_MODIFY for sb/mount/dir marks */ in do_fanotify_mark()
1923 /* Mask out FAN_EVENT_ON_CHILD flag for sb/mount/non-dir marks */ in do_fanotify_mark()
2004 * marks limited to the range [8192, 1048576]. mount and sb marks are in fanotify_user_setup()
2005 * a lot cheaper than inode marks, but there is no reason for a user in fanotify_user_setup()
2006 * to have many of those, so calculate by the cost of inode marks. in fanotify_user_setup()