Searched refs:RLIMIT_NPROC (Results 1 – 11 of 11) sorted by relevance
/linux/include/uapi/asm-generic/ |
H A D | resource.h | 26 #ifndef RLIMIT_NPROC 27 # define RLIMIT_NPROC 6 /* max number of processes */ macro
|
/linux/arch/sparc/include/uapi/asm/ |
H A D | resource.h | 16 #define RLIMIT_NPROC 7 /* max number of processes */ macro
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | resource.h | 11 #define RLIMIT_NPROC 8 /* max number of processes */ macro
|
/linux/arch/mips/include/uapi/asm/ |
H A D | resource.h | 21 #define RLIMIT_NPROC 8 /* max number of processes */ macro
|
/linux/include/asm-generic/ |
H A D | resource.h | 19 [RLIMIT_NPROC] = { 0, 0 }, \
|
/linux/tools/testing/selftests/rlimits/ |
H A D | rlimits-per-userns.c | 40 if (setrlimit(RLIMIT_NPROC, &limit) < 0) in setrlimit_nproc()
|
/linux/io_uring/ |
H A D | io-wq.c | 1174 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 D | fork.c | 1062 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 D | user_namespace.c | 69 limit = rlimit(RLIMIT_NPROC); in enforced_nproc_rlimit()
|
H A D | sys.c | 516 if (is_rlimit_overlimit(new->ucounts, UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC)) && in flag_nproc_exceeded()
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | kernel.rst | 1353 limits (in particular, ``RLIMIT_AS`` and ``RLIMIT_NPROC``). Most systems don't
|