Searched refs:pid_max (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/kernel/ |
D | pid.c | 60 int pid_max = PID_MAX_DEFAULT; variable 194 pid_max, GFP_ATOMIC); in alloc_pid() 530 pid_max = min(pid_max_max, max_t(int, pid_max, in pid_idr_init() 534 pr_info("pid_max: default: %u minimum: %u\n", pid_max, pid_max_min); in pid_idr_init()
|
D | pid_namespace.c | 293 extern int pid_max; 301 .extra2 = &pid_max,
|
D | sysctl.c | 113 extern int pid_max; 827 .data = &pid_max,
|
/Linux-v5.4/kernel/trace/ |
D | trace.c | 358 if (search_pid >= filtered_pids->pid_max) in trace_find_filtered_pid() 412 if (task->pid >= pid_list->pid_max) in trace_filter_add_remove_task() 441 pid = find_next_bit(pid_list->pids, pid_list->pid_max, pid); in trace_pid_next() 444 if (pid < pid_list->pid_max) in trace_pid_next() 466 pid = find_first_bit(pid_list->pids, pid_list->pid_max); in trace_pid_start() 467 if (pid >= pid_list->pid_max) in trace_pid_start() 524 pid_list->pid_max = READ_ONCE(pid_max); in trace_pid_write() 527 if (filtered_pids && filtered_pids->pid_max > pid_list->pid_max) in trace_pid_write() 528 pid_list->pid_max = filtered_pids->pid_max; in trace_pid_write() 530 pid_list->pids = vzalloc((pid_list->pid_max + 7) >> 3); in trace_pid_write() [all …]
|
D | trace.h | 192 int pid_max; member 765 extern int pid_max;
|
/Linux-v5.4/tools/perf/ |
D | builtin-sched.c | 446 static int pid_max; in register_pid() local 449 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid() 450 pid_max = MAX_PID; in register_pid() 451 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid() 453 if (pid >= (unsigned long)pid_max) { in register_pid() 456 while (pid >= (unsigned long)pid_max) in register_pid() 457 sched->pid_to_task[pid_max++] = NULL; in register_pid()
|
/Linux-v5.4/Documentation/admin-guide/sysctl/ |
D | kernel.rst | 75 - pid_max 774 pid_max: 779 PIDs of value pid_max or larger are not allocated.
|