Searched refs:RLIMIT_NPROC (Results 1 – 14 of 14) sorted by relevance
29 #ifndef RLIMIT_NPROC30 #define RLIMIT_NPROC 6 macro
16 #ifndef RLIMIT_NPROC17 # define RLIMIT_NPROC 6 macro
26 #ifndef RLIMIT_NPROC27 # define RLIMIT_NPROC 6 /* max number of processes */ macro
11 #define RLIMIT_NPROC 8 /* max number of processes */ macro
16 #define RLIMIT_NPROC 7 /* max number of processes */ macro
24 #define RLIMIT_NPROC 8 macro
21 #define RLIMIT_NPROC 8 /* max number of processes */ macro
19 [RLIMIT_NPROC] = { 0, 0 }, \
1162 task_rlimit(current, RLIMIT_NPROC); in io_wq_create()1362 if (new_count[i] > task_rlimit(current, RLIMIT_NPROC)) in io_wq_max_workers()1363 new_count[i] = task_rlimit(current, RLIMIT_NPROC); in io_wq_max_workers()
825 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; in fork_init()826 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; in fork_init()828 init_task.signal->rlim[RLIMIT_NPROC]; in fork_init()2000 task_rlimit(p, RLIMIT_NPROC)) { in copy_process()
477 if (atomic_read(&new_user->processes) >= rlimit(RLIMIT_NPROC) && in set_user()
1882 atomic_read(¤t_user()->processes) > rlimit(RLIMIT_NPROC)) { in do_execveat_common()
591 [RLIMIT_NPROC] = {"Max processes", "processes"},
1210 limits (in particular, ``RLIMIT_AS`` and ``RLIMIT_NPROC``). Most systems don't