Home
last modified time | relevance | path

Searched refs:RLIMIT_NPROC (Results 1 – 11 of 11) sorted by relevance

/linux/include/uapi/asm-generic/
H A Dresource.h26 #ifndef RLIMIT_NPROC
27 # define RLIMIT_NPROC 6 /* max number of processes */ macro
/linux/arch/sparc/include/uapi/asm/
H A Dresource.h16 #define RLIMIT_NPROC 7 /* max number of processes */ macro
/linux/arch/alpha/include/uapi/asm/
H A Dresource.h11 #define RLIMIT_NPROC 8 /* max number of processes */ macro
/linux/arch/mips/include/uapi/asm/
H A Dresource.h21 #define RLIMIT_NPROC 8 /* max number of processes */ macro
/linux/include/asm-generic/
H A Dresource.h19 [RLIMIT_NPROC] = { 0, 0 }, \
/linux/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c40 if (setrlimit(RLIMIT_NPROC, &limit) < 0) in setrlimit_nproc()
/linux/io_uring/
H A Dio-wq.c1174 task_rlimit(current, RLIMIT_NPROC); in io_wq_create()
1366 if (new_count[i] > task_rlimit(current, RLIMIT_NPROC)) in io_wq_max_workers()
1367 new_count[i] = task_rlimit(current, RLIMIT_NPROC); in io_wq_max_workers()
/linux/kernel/
H A Dfork.c1062 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init()
1063 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init()
1065 init_task.signal->rlim[RLIMIT_NPROC]; in fork_init()
2263 if (is_rlimit_overlimit(task_ucounts(p), UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC))) { in copy_process()
H A Duser_namespace.c69 limit = rlimit(RLIMIT_NPROC); in enforced_nproc_rlimit()
H A Dsys.c516 if (is_rlimit_overlimit(new->ucounts, UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC)) && in flag_nproc_exceeded()
/linux/Documentation/admin-guide/sysctl/
H A Dkernel.rst1353 limits (in particular, ``RLIMIT_AS`` and ``RLIMIT_NPROC``). Most systems don't