Searched refs:pid_max (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/getppid/ |
D | getppid01.c | 17 pid_t ppid, pid_max; in verify_getppid() local 19 SAFE_FILE_SCANF("/proc/sys/kernel/pid_max", "%d\n", &pid_max); in verify_getppid() 22 if (ppid > pid_max) in verify_getppid()
|
/third_party/ltp/testcases/kernel/syscalls/getpid/ |
D | getpid01.c | 17 pid_t pid_max, pid; in verify_getpid() local 20 SAFE_FILE_SCANF("/proc/sys/kernel/pid_max", "%d\n", &pid_max); in verify_getpid() 28 if (1 < pid && pid <= pid_max) in verify_getpid()
|
/third_party/ltp/testcases/kernel/syscalls/wait4/ |
D | wait402.c | 43 long pid_max; in get_pid_max() local 45 SAFE_FILE_SCANF(NULL, "/proc/sys/kernel/pid_max", "%ld", &pid_max); in get_pid_max() 47 return pid_max; in get_pid_max()
|
/third_party/ltp/testcases/kernel/syscalls/fork/ |
D | fork13.c | 62 static unsigned long pid_max; variable 138 SAFE_FILE_SCANF(NULL, PID_MAX_PATH, "%lu", &pid_max); in setup() 146 FILE_PRINTF(PID_MAX_PATH, "%lu", pid_max); in cleanup()
|
/third_party/ltp/testcases/kernel/containers/pidns/ |
D | pidns05.c | 85 int next = 0, pid_max, i; in find_cinit_pids() local 88 pid_max = max_pid(); in find_cinit_pids() 94 if (i > pid_max) in find_cinit_pids()
|
/third_party/ltp/doc/ |
D | c-test-api.txt | 430 SAFE_FILE_SCANF("/proc/sys/kernel/pid_max", "%lu", &pid_max);
|