tag | line | file | source code |
MSGMNI | 49 | include/linux/msg.h | #define MSGPOOL (MSGMNI*MSGMNB/1024) /* size in kilobytes of message pool */ |
MSGMNI | 25 | ipc/msg.c | static struct msqid_ds *msgque[MSGMNI]; |
MSGMNI | 42 | ipc/msg.c | for (id = 0; id < MSGMNI; id++) |
MSGMNI | 74 | ipc/msg.c | id = (unsigned int) msqid % MSGMNI; |
MSGMNI | 81 | ipc/msg.c | if (msq->msg_perm.seq != (unsigned int) msqid / MSGMNI) |
MSGMNI | 133 | ipc/msg.c | || msq->msg_perm.seq != (unsigned int) msqid / MSGMNI) { |
MSGMNI | 169 | ipc/msg.c | msq = msgque [ (unsigned int) kerneld_msqid % MSGMNI ]; |
MSGMNI | 209 | ipc/msg.c | id = (unsigned int) msqid % MSGMNI; |
MSGMNI | 232 | ipc/msg.c | if (msq->msg_perm.seq != (unsigned int) msqid / MSGMNI) |
MSGMNI | 376 | ipc/msg.c | for (id = 0; id < MSGMNI; id++) |
MSGMNI | 410 | ipc/msg.c | return (unsigned int) msq->msg_perm.seq * MSGMNI + id; |
MSGMNI | 453 | ipc/msg.c | return (unsigned int) msq->msg_perm.seq * MSGMNI + id; |
MSGMNI | 462 | ipc/msg.c | msg_seq = (msg_seq+1) % ((unsigned)(1<<31)/MSGMNI); /* increment, but avoid overflow */ |
MSGMNI | 499 | ipc/msg.c | msginfo.msgmni = MSGMNI; |
MSGMNI | 531 | ipc/msg.c | id = (unsigned int) msq->msg_perm.seq * MSGMNI + msqid; |
MSGMNI | 560 | ipc/msg.c | id = (unsigned int) msqid % MSGMNI; |
MSGMNI | 564 | ipc/msg.c | if (msq->msg_perm.seq != (unsigned int) msqid / MSGMNI) |