Home
last modified time | relevance | path

Searched refs:pid_max (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/clone3/
A Dclone3_set_tid.c153 int pid_max = 0; in main() local
171 fscanf(f, "%d", &pid_max); in main()
173 ksft_print_msg("/proc/sys/kernel/pid_max %d\n", pid_max); in main()
239 set_tid[0] = pid_max; in main()
/linux/kernel/
A Dpid.c62 int pid_max = PID_MAX_DEFAULT; variable
194 if (tid < 1 || tid >= pid_max) in alloc_pid()
234 pid_max, GFP_ATOMIC); in alloc_pid()
655 pid_max = min(pid_max_max, max_t(int, pid_max, in pid_idr_init()
659 pr_info("pid_max: default: %u minimum: %u\n", pid_max, pid_max_min); in pid_idr_init()
A Dpid_namespace.c285 extern int pid_max;
293 .extra2 = &pid_max,
A Dsysctl.c2232 .data = &pid_max,
/linux/include/linux/
A Dpid.h115 extern int pid_max;
/linux/tools/testing/kunit/test_data/
A Dtest_is_test_passed-no_tests_run_no_header.log19 pid_max: default: 32768 minimum: 301
A Dtest_output_isolated_correctly.log44 pid_max: default: 32768 minimum: 301
/linux/tools/perf/
A Dbuiltin-sched.c450 static int pid_max; in register_pid() local
453 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid()
454 pid_max = MAX_PID; in register_pid()
455 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
457 if (pid >= (unsigned long)pid_max) { in register_pid()
460 while (pid >= (unsigned long)pid_max) in register_pid()
461 sched->pid_to_task[pid_max++] = NULL; in register_pid()
/linux/kernel/trace/
A Dpid_list.c417 WARN_ON_ONCE(pid_max > (1 << 30)); in trace_pid_list_alloc()
A Dtrace.h665 extern int pid_max;
A Dtrace.c5279 tgid_map_max = pid_max; in set_tracer_flag()
/linux/Documentation/admin-guide/sysctl/
A Dkernel.rst908 pid_max chapter
913 PIDs of value ``pid_max`` or larger are not allocated.
/linux/
A DSystem.map130669 ffff800011de0358 D pid_max
A D.tmp_System.map130669 ffff800011de0358 D pid_max

Completed in 373 milliseconds