Home
last modified time | relevance | path

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

/linux/kernel/
A Ducount.c109 tbl[i].data = &ns->ucount_max[i]; in setup_userns_sysctls()
240 max = READ_ONCE(tns->ucount_max[type]); in inc_ucount()
276 max = READ_ONCE(iter->ns->ucount_max[type]); in inc_rlimit_ucounts()
325 max = READ_ONCE(iter->ns->ucount_max[type]); in inc_rlimit_get_ucounts()
353 max = READ_ONCE(iter->ns->ucount_max[type]); in is_ucounts_overlimit()
A Duser_namespace.c123 ns->ucount_max[i] = INT_MAX; in create_user_ns()
A Dfork.c840 init_user_ns.ucount_max[i] = max_threads/2; in fork_init()
/linux/include/linux/
A 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/fs/notify/inotify/
A 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/fs/notify/fanotify/
A Dfanotify_user.c65 .data = &init_user_ns.ucount_max[UCOUNT_FANOTIFY_GROUPS],
74 .data = &init_user_ns.ucount_max[UCOUNT_FANOTIFY_MARKS],
1685 init_user_ns.ucount_max[UCOUNT_FANOTIFY_GROUPS] = in fanotify_user_setup()
1687 init_user_ns.ucount_max[UCOUNT_FANOTIFY_MARKS] = max_marks; in fanotify_user_setup()

Completed in 16 milliseconds