/external/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
msgstress01.c | 57 static int MSGMNI, nprocs, nreps; 93 nprocs = MSGMNI; 107 if (nprocs > MSGMNI) { 110 "setting to Max. of %d", MSGMNI); 111 nprocs = MSGMNI; 279 * Since msgmni scales to the memory size, it may reach huge values 283 MSGMNI = min(nr_msgqs, NR_MSGQUEUES);
|
msgstress02.c | 58 static int nprocs, nreps, nkids, MSGMNI; 96 nprocs = MSGMNI; 111 if (nprocs > MSGMNI) { 114 "setting to Max. of %d", MSGMNI); 115 nprocs = MSGMNI; 384 * Since msgmni scales to the memory size, it may reach huge values 388 MSGMNI = min(nr_msgqs, NR_MSGQUEUES);
|
msgstress03.c | 24 * Same as msgstress01 but gets the actual msgmni value under procfs. 54 static int MSGMNI, nprocs, nreps; 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) [all...] |
msgstress04.c | 24 * Same as msgstress02 but gets the actual msgmni value under procfs. 61 static int nprocs, nreps, nkids, MSGMNI; 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++) { 182 nprocs = MSGMNI % maxnprocs; 408 MSGMNI = nr_msgqs - get_used_msgqueues(); 409 if (MSGMNI <= 0 [all...] |
/bionic/libc/kernel/uapi/linux/ |
msg.h | 53 int msgmni; member in struct:msginfo 58 #define MSGMNI 32000 61 #define MSGPOOL (MSGMNI * MSGMNB / 1024)
|
/external/kernel-headers/original/uapi/linux/ |
msg.h | 49 int msgmni; member in struct:msginfo 56 * MSGMNI, MSGMAX and MSGMNB are default values which can be 59 * MSGMNI is the upper limit for the number of messages queues per 77 #define MSGMNI 32000 /* <= IPCMNI */ /* max # of msg queue identifiers */ 82 #define MSGPOOL (MSGMNI * MSGMNB / 1024) /* size in kbytes of message pool */
|