Searched refs:max_pids (Results 1 – 3 of 3) sorted by relevance
42 int rc, used_pids, max_pids; in tst_get_free_pids_() local58 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_()
48 static int max_pids; variable125 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()
559 int pids, max_pids; in killall() local565 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()