Searched refs:pid_max (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/kernel/ |
D | pid.c | 62 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() 614 pid_max = min(pid_max_max, max_t(int, pid_max, in pid_idr_init() 618 pr_info("pid_max: default: %u minimum: %u\n", pid_max, pid_max_min); in pid_idr_init()
|
D | pid_namespace.c | 309 extern int pid_max; 317 .extra2 = &pid_max,
|
D | sysctl.c | 2321 .data = &pid_max,
|
/kernel/linux/linux-5.10/include/linux/ |
D | pid.h | 113 extern int pid_max;
|
/kernel/linux/linux-5.10/tools/testing/kunit/test_data/ |
D | test_is_test_passed-no_tests_run.log | 19 pid_max: default: 32768 minimum: 301
|
D | test_output_isolated_correctly.log | 44 pid_max: default: 32768 minimum: 301
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | trace.c | 528 if (search_pid >= filtered_pids->pid_max) in trace_find_filtered_pid() 588 if (task->pid >= pid_list->pid_max) in trace_filter_add_remove_task() 617 pid = find_next_bit(pid_list->pids, pid_list->pid_max, pid); in trace_pid_next() 620 if (pid < pid_list->pid_max) in trace_pid_next() 642 pid = find_first_bit(pid_list->pids, pid_list->pid_max); in trace_pid_start() 643 if (pid >= pid_list->pid_max) in trace_pid_start() 700 pid_list->pid_max = READ_ONCE(pid_max); in trace_pid_write() 703 if (filtered_pids && filtered_pids->pid_max > pid_list->pid_max) in trace_pid_write() 704 pid_list->pid_max = filtered_pids->pid_max; in trace_pid_write() 706 pid_list->pids = vzalloc((pid_list->pid_max + 7) >> 3); in trace_pid_write() [all …]
|
D | trace.h | 210 int pid_max; member 809 extern int pid_max;
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-sched.c | 450 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()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/ |
D | kernel.rst | 910 pid_max chapter 915 PIDs of value ``pid_max`` or larger are not allocated.
|