Home
last modified time | relevance | path

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

/tools/testing/selftests/clone3/
Dclone3_set_tid.c153 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()
/tools/testing/kunit/test_data/
Dtest_is_test_passed-no_tests_run.log19 pid_max: default: 32768 minimum: 301
Dtest_output_isolated_correctly.log44 pid_max: default: 32768 minimum: 301
/tools/perf/
Dbuiltin-sched.c450 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()