Searched refs:MSGMNI (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
D | msgstress03.c | 54 static int MSGMNI, nprocs, nreps; variable 90 nprocs = MSGMNI; in main() 104 if (nprocs > MSGMNI) { in main() 107 "setting to Max. of %d", MSGMNI); in main() 108 nprocs = MSGMNI; in main() 273 MSGMNI = nr_msgqs - get_used_msgqueues(); in setup() 274 if (MSGMNI > MAXNPROCS) in setup() 275 MSGMNI = MAXNPROCS; in setup() 276 if (MSGMNI <= 0) { in setup()
|
D | msgstress04.c | 61 static int nprocs, nreps, nkids, MSGMNI; variable 128 "setting to Max. of %d", MSGMNI); in main() 145 for (i = 0; i < MSGMNI; i++) { in main() 173 if (MSGMNI <= maxnprocs) { in main() 174 nprocs = MSGMNI; in main() 177 for (i = 0; i < (MSGMNI / maxnprocs); i++) { in main() 182 nprocs = MSGMNI % maxnprocs; in main() 408 MSGMNI = nr_msgqs - get_used_msgqueues(); in setup() 409 if (MSGMNI <= 0) in setup() 413 tst_resm(TINFO, "Found %d available message queues", MSGMNI); in setup()
|
D | msgstress01.c | 57 static int MSGMNI, nprocs, nreps; variable 93 nprocs = MSGMNI; in main() 107 if (nprocs > MSGMNI) { in main() 110 "setting to Max. of %d", MSGMNI); in main() 111 nprocs = MSGMNI; in main() 283 MSGMNI = min(nr_msgqs, NR_MSGQUEUES); in setup()
|
D | msgstress02.c | 58 static int nprocs, nreps, nkids, MSGMNI; variable 96 nprocs = MSGMNI; in main() 111 if (nprocs > MSGMNI) { in main() 114 "setting to Max. of %d", MSGMNI); in main() 115 nprocs = MSGMNI; in main() 388 MSGMNI = min(nr_msgqs, NR_MSGQUEUES); in setup()
|