Searched refs:ucount_max (Results 1 – 6 of 6) sorted by relevance
109 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()
123 ns->ucount_max[i] = INT_MAX; in create_user_ns()
841 init_user_ns.ucount_max[i] = max_threads/2; in fork_init()
101 long ucount_max[UCOUNT_COUNTS]; member137 ns->ucount_max[type] = max <= LONG_MAX ? max : LONG_MAX; in set_rlimit_ucount_max()
64 .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()
64 .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()