Searched refs:pid_max (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/tools/testing/selftests/clone3/ |
D | clone3_set_tid.c | 153 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-6.6.21/kernel/ |
D | pid.c | 62 int pid_max = PID_MAX_DEFAULT; variable 197 if (tid < 1 || tid >= pid_max) in alloc_pid() 237 pid_max, GFP_ATOMIC); in alloc_pid() 654 pid_max = min(pid_max_max, max_t(int, pid_max, in pid_idr_init() 658 pr_info("pid_max: default: %u minimum: %u\n", pid_max, pid_max_min); in pid_idr_init()
|
D | pid_namespace.c | 305 extern int pid_max; 313 .extra2 = &pid_max,
|
D | sysctl.c | 1814 .data = &pid_max,
|
/linux-6.6.21/include/linux/ |
D | pid.h | 116 extern int pid_max;
|
/linux-6.6.21/tools/testing/kunit/test_data/ |
D | test_is_test_passed-no_tests_run_no_header.log | 19 pid_max: default: 32768 minimum: 301
|
D | test_output_isolated_correctly.log | 44 pid_max: default: 32768 minimum: 301
|
/linux-6.6.21/kernel/trace/ |
D | pid_list.c | 417 WARN_ON_ONCE(pid_max > (1 << 30)); in trace_pid_list_alloc()
|
D | trace.h | 699 extern int pid_max;
|
D | trace.c | 5464 tgid_map_max = pid_max; in set_tracer_flag()
|
/linux-6.6.21/tools/perf/ |
D | builtin-sched.c | 452 static int pid_max; in register_pid() local 455 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid() 456 pid_max = MAX_PID; in register_pid() 457 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid() 459 if (pid >= (unsigned long)pid_max) { in register_pid() 462 while (pid >= (unsigned long)pid_max) in register_pid() 463 sched->pid_to_task[pid_max++] = NULL; in register_pid()
|
/linux-6.6.21/Documentation/admin-guide/sysctl/ |
D | kernel.rst | 1003 pid_max chapter 1008 PIDs of value ``pid_max`` or larger are not allocated.
|