Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/
Dpid.c58 int pid_max = PID_MAX_DEFAULT; variable
193 pid_max, GFP_ATOMIC); in alloc_pid()
458 pid_max = min(pid_max_max, max_t(int, pid_max, in pid_idr_init()
462 pr_info("pid_max: default: %u minimum: %u\n", pid_max, pid_max_min); in pid_idr_init()
Dpid_namespace.c292 extern int pid_max;
301 .extra2 = &pid_max,
Dsysctl.c108 extern int pid_max;
795 .data = &pid_max,
/Linux-v4.19/kernel/trace/
Dtrace.c338 if (search_pid >= filtered_pids->pid_max) in trace_find_filtered_pid()
392 if (task->pid >= pid_list->pid_max) in trace_filter_add_remove_task()
421 pid = find_next_bit(pid_list->pids, pid_list->pid_max, pid); in trace_pid_next()
424 if (pid < pid_list->pid_max) in trace_pid_next()
446 pid = find_first_bit(pid_list->pids, pid_list->pid_max); in trace_pid_start()
447 if (pid >= pid_list->pid_max) in trace_pid_start()
502 pid_list->pid_max = READ_ONCE(pid_max); in trace_pid_write()
505 if (filtered_pids && filtered_pids->pid_max > pid_list->pid_max) in trace_pid_write()
506 pid_list->pid_max = filtered_pids->pid_max; in trace_pid_write()
508 pid_list->pids = vzalloc((pid_list->pid_max + 7) >> 3); in trace_pid_write()
[all …]
Dtrace.h193 int pid_max; member
672 extern int pid_max;
/Linux-v4.19/tools/perf/
Dbuiltin-sched.c439 static int pid_max; in register_pid() local
442 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid()
443 pid_max = MAX_PID; in register_pid()
444 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
446 if (pid >= (unsigned long)pid_max) { in register_pid()
449 while (pid >= (unsigned long)pid_max) in register_pid()
450 sched->pid_to_task[pid_max++] = NULL; in register_pid()
/Linux-v4.19/Documentation/sysctl/
Dkernel.txt69 - pid_max
741 pid_max:
745 PIDs of value pid_max or larger are not allocated.