Home
last modified time | relevance | path

Searched refs:MSGMNI (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/msgstress/
Dmsgstress03.c54 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()
265 MSGMNI = nr_msgqs - get_used_msgqueues(); in setup()
266 if (MSGMNI > MAXNPROCS) in setup()
267 MSGMNI = MAXNPROCS; in setup()
268 if (MSGMNI <= 0) { in setup()
Dmsgstress04.c61 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()
Dmsgstress01.c57 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()
Dmsgstress02.c58 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()
/external/kernel-headers/original/uapi/linux/
Dmsg.h77 #define MSGMNI 32000 /* <= IPCMNI */ /* max # of msg queue identifiers */ macro
82 #define MSGPOOL (MSGMNI * MSGMNB / 1024) /* size in kbytes of message pool */