Searched refs:MSGMNI (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
D | msgctl10.c | 54 static int MSGMNI, nprocs, nreps; variable 98 nprocs = MSGMNI; in main() 108 if (atoi(argv[2]) > MSGMNI) { in main() 111 MSGMNI); in main() 112 nprocs = MSGMNI; in main() 309 MSGMNI = nr_msgqs - get_used_msgqueues(); in setup() 310 if (MSGMNI > MAXNPROCS) in setup() 311 MSGMNI = MAXNPROCS; in setup() 312 if (MSGMNI <= 0) { in setup()
|
D | msgctl11.c | 61 static int nprocs, nreps, nkids, MSGMNI; variable 151 for (i = 0; i < MSGMNI; i++) { in main() 179 if (MSGMNI <= maxnprocs) { in main() 180 nprocs = MSGMNI; in main() 183 for (i = 0; i < (MSGMNI / maxnprocs); i++) { in main() 185 dotest_iteration(i*(MSGMNI / maxnprocs)); in main() 188 nprocs = MSGMNI % maxnprocs; in main() 189 dotest_iteration(i*(MSGMNI / maxnprocs)); in main() 467 MSGMNI = nr_msgqs - get_used_msgqueues(); in setup() 468 if (MSGMNI <= 0) in setup() [all …]
|
D | msgctl08.c | 57 static int MSGMNI, nprocs, nreps; variable 101 nprocs = MSGMNI; in main() 111 if (atoi(argv[2]) > MSGMNI) { in main() 114 MSGMNI); in main() 115 nprocs = MSGMNI; in main() 327 MSGMNI = min(nr_msgqs, NR_MSGQUEUES); in setup()
|
D | msgctl09.c | 58 static int nprocs, nreps, nkids, MSGMNI; variable 106 nprocs = MSGMNI; in main() 117 if (atoi(argv[2]) > MSGMNI) { in main() 120 MSGMNI); in main() 121 nprocs = MSGMNI; in main() 452 MSGMNI = min(nr_msgqs, NR_MSGQUEUES); in setup()
|
/external/kernel-headers/original/uapi/linux/ |
D | msg.h | 75 #define MSGMNI 32000 /* <= IPCMNI */ /* max # of msg queue identifiers */ macro 80 #define MSGPOOL (MSGMNI * MSGMNB / 1024) /* size in kbytes of message pool */
|