Searched refs:free_pids (Results 1 – 2 of 2) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
D | msgstress03.c | 81 int i, j, ok, pid, free_pids; in main() local 112 free_pids = tst_get_free_pids(cleanup); in main() 113 if (nprocs >= free_pids) { in main() 116 "setting to %d", nprocs, free_pids, free_pids); in main() 117 nprocs = free_pids; in main()
|
D | msgstress04.c | 390 int nr_msgqs, free_pids; in setup() local 415 free_pids = tst_get_free_pids(cleanup); in setup() 418 maxnprocs = (free_pids / 2) / (1 + 2 * maxnkids); in setup() 423 tst_resm(TINFO, "Using upto %d pids", free_pids / 2); in setup()
|