Lines Matching +full:max +full:- +full:msg +full:- +full:size
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
14 #define MSG_EXCEPT 020000 /* recv any msg except of specified type.*/
20 struct msg *msg_first; /* first message on queue,unused */
21 struct msg *msg_last; /* last message in queue,unused */
29 unsigned short msg_qbytes; /* max number of bytes on queue */
65 * MSGMNB is the default size of a new message queue. Non-root tasks can
66 * decrease the size with msgctl(IPC_SET), root tasks
68 * size. The optimal value is application dependent.
71 * MAXMAX is the maximum size of an individual message, it's a global
72 * (per-namespace) limit that applies for all message queues.
77 #define MSGMNI 32000 /* <= IPCMNI */ /* max # of msg queue identifiers */
78 #define MSGMAX 8192 /* <= INT_MAX */ /* max size of message (bytes) */
79 #define MSGMNB 16384 /* <= INT_MAX */ /* default max size of a message queue */
82 #define MSGPOOL (MSGMNI * MSGMNB / 1024) /* size in kbytes of message pool */
85 #define MSGSSZ 16 /* message segment size */
86 #define __MSGSEG ((MSGPOOL * 1024) / MSGSSZ) /* max no. of segments */