Home
last modified time | relevance | path

Searched refs:max_pids (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c82 unsigned long bytecount, alloc_bytes, max_pids; in main() local
155 max_pids = total_ram * sstats.mem_unit in main()
158 if ((pid_list = malloc(max_pids * sizeof(pid_t))) == NULL) in main()
160 memset(pid_list, 0, max_pids * sizeof(pid_t)); in main()
204 if (i >= max_pids) in main()
223 if (i >= max_pids) in main()
242 if (i >= max_pids) in main()
/external/ltp/lib/
Dtst_pid.c42 int rc, used_pids, max_pids; in tst_get_free_pids_() local
58 SAFE_FILE_SCANF(cleanup_fn, PID_MAX_PATH, "%d", &max_pids); in tst_get_free_pids_()
63 return max_pids - used_pids; in tst_get_free_pids_()
/external/selinux/sandbox/
Dseunshare.c559 int pids, max_pids; in killall() local
565 max_pids = 256; in killall()
566 pid_table = malloc(max_pids * sizeof (pid_t)); in killall()
580 if (pids == max_pids) { in killall()
588 max_pids *= 2; in killall()