Home
last modified time | relevance | path

Searched refs:ucount_max (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/kernel/
Ducount.c109 tbl[i].data = &ns->ucount_max[i]; in setup_userns_sysctls()
234 max = READ_ONCE(tns->ucount_max[type]); in inc_ucount()
264 long max = READ_ONCE(iter->ns->ucount_max[type]); in inc_rlimit_ucounts()
312 long max = READ_ONCE(iter->ns->ucount_max[type]); in inc_rlimit_get_ucounts()
342 max = READ_ONCE(iter->ns->ucount_max[type]); in is_ucounts_overlimit()
Duser_namespace.c123 ns->ucount_max[i] = INT_MAX; in create_user_ns()
Dfork.c841 init_user_ns.ucount_max[i] = max_threads/2; in fork_init()
/Linux-v5.15/include/linux/
Duser_namespace.h101 long ucount_max[UCOUNT_COUNTS]; member
137 ns->ucount_max[type] = max <= LONG_MAX ? max : LONG_MAX; in set_rlimit_ucount_max()
/Linux-v5.15/fs/notify/inotify/
Dinotify_user.c64 .data = &init_user_ns.ucount_max[UCOUNT_INOTIFY_INSTANCES],
73 .data = &init_user_ns.ucount_max[UCOUNT_INOTIFY_WATCHES],
850 init_user_ns.ucount_max[UCOUNT_INOTIFY_INSTANCES] = 128; in inotify_user_setup()
851 init_user_ns.ucount_max[UCOUNT_INOTIFY_WATCHES] = watches_max; in inotify_user_setup()
/Linux-v5.15/fs/notify/fanotify/
Dfanotify_user.c64 .data = &init_user_ns.ucount_max[UCOUNT_FANOTIFY_GROUPS],
73 .data = &init_user_ns.ucount_max[UCOUNT_FANOTIFY_MARKS],
1604 init_user_ns.ucount_max[UCOUNT_FANOTIFY_GROUPS] = in fanotify_user_setup()
1606 init_user_ns.ucount_max[UCOUNT_FANOTIFY_MARKS] = max_marks; in fanotify_user_setup()