Searched defs:MSGMNI (Results 1 - 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
H A Dmsgctl08.c57 static int MSGMNI, nprocs, nreps; variable
93 nprocs = MSGMNI;
107 if (nprocs > MSGMNI) {
110 "setting to Max. of %d", MSGMNI);
111 nprocs = MSGMNI;
283 MSGMNI = min(nr_msgqs, NR_MSGQUEUES);
H A Dmsgctl10.c54 static int MSGMNI, nprocs, nreps; variable
90 nprocs = MSGMNI;
104 if (nprocs > MSGMNI) {
107 "setting to Max. of %d", MSGMNI);
108 nprocs = MSGMNI;
265 MSGMNI = nr_msgqs - get_used_msgqueues();
266 if (MSGMNI > MAXNPROCS)
267 MSGMNI = MAXNPROCS;
268 if (MSGMNI <= 0) {
H A Dmsgctl09.c58 static int nprocs, nreps, nkids, MSGMNI; variable
96 nprocs = MSGMNI;
111 if (nprocs > MSGMNI) {
114 "setting to Max. of %d", MSGMNI);
115 nprocs = MSGMNI;
388 MSGMNI = min(nr_msgqs, NR_MSGQUEUES);
H A Dmsgctl11.c61 static int nprocs, nreps, nkids, MSGMNI; variable
128 "setting to Max. of %d", MSGMNI);
145 for (i = 0; i < MSGMNI; i++) {
173 if (MSGMNI <= maxnprocs) {
174 nprocs = MSGMNI;
177 for (i = 0; i < (MSGMNI / maxnprocs); i++) {
179 dotest_iteration(i*(MSGMNI / maxnprocs));
182 nprocs = MSGMNI % maxnprocs;
183 dotest_iteration(i*(MSGMNI / maxnprocs));
408 MSGMNI
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dmsg.h55 * MSGMNI, MSGMAX and MSGMNB are default values which can be
58 * MSGMNI is the upper limit for the number of messages queues per
76 #define MSGMNI 32000 /* <= IPCMNI */ /* max # of msg queue identifiers */ macro
81 #define MSGPOOL (MSGMNI * MSGMNB / 1024) /* size in kbytes of message pool */

Completed in 158 milliseconds