Searched refs:pid_max (Results 1 - 7 of 7) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | threads.h | 39 * minimum settable value for pid_max on the running system based
|
/linux-4.1.27/kernel/ |
H A D | pid.c | 48 int pid_max = PID_MAX_DEFAULT; variable 66 * first use and are never deallocated. This way a low pid_max 160 if (pid >= pid_max) alloc_pidmap() 169 max_scan = DIV_ROUND_UP(pid_max, BITS_PER_PAGE) - !offset; alloc_pidmap() 198 if (pid >= pid_max) alloc_pidmap() 202 if (map < &pid_ns->pidmap[(pid_max-1)/BITS_PER_PAGE]) { alloc_pidmap() 595 /* bump default and minimum pid_max based on number of cpus */ pidmap_init() 596 pid_max = min(pid_max_max, max_t(int, pid_max, pidmap_init() 600 pr_info("pid_max: default: %u minimum: %u\n", pid_max, pid_max_min); pidmap_init()
|
H A D | pid_namespace.c | 292 extern int pid_max; 301 .extra2 = &pid_max,
|
H A D | sysctl.c | 105 extern int pid_max; 763 .procname = "pid_max", 764 .data = &pid_max,
|
H A D | sysctl_binary.c | 117 { CTL_INT, KERN_PIDMAX, "pid_max" },
|
/linux-4.1.27/samples/hw_breakpoint/ |
H A D | data_breakpoint.c | 39 static char ksym_name[KSYM_NAME_LEN] = "pid_max";
|
/linux-4.1.27/tools/perf/ |
H A D | builtin-sched.c | 331 static int pid_max; register_pid() local 334 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) register_pid() 335 pid_max = MAX_PID; register_pid() 336 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); register_pid() 338 if (pid >= (unsigned long)pid_max) { register_pid() 341 while (pid >= (unsigned long)pid_max) register_pid() 342 sched->pid_to_task[pid_max++] = NULL; register_pid()
|
Completed in 238 milliseconds