Home
last modified time | relevance | path

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

/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/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c48 static int max_pids; variable
125 max_pids = total_free * sstats.mem_unit in setup()
127 pid_list = SAFE_MALLOC(max_pids * sizeof(pid_t)); in setup()
202 } while (pid_cntr < max_pids); in mem_test()
/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()