HomeSort by: relevance | last modified time | path
    Searched refs:msgssz (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/kern/
sysv_msg.c 103 * msginfo.msgssz should be a power of two for efficiency reasons.
104 * It is also pretty silly if msginfo.msgssz is less than 8
109 while (i < 1024 && i != msginfo.msgssz)
111 if (i != msginfo.msgssz) {
112 printf("msginfo.msgssz = %d, not a small power of 2",
113 msginfo.msgssz);
223 newmsgmax = msginfo.msgssz * newmsgseg;
345 segcnt = (msgsz + msginfo.msgssz - 1) / msginfo.msgssz;
362 if (msgsz >= msginfo.msgssz) {
    [all...]
  /src/sys/sys/
msg.h 102 * Each message is broken up and stored in segments that are msgssz bytes
105 * Consequently, msginit in kern/sysv_msg.c checks that msgssz is a power of
113 int32_t msgssz; /* size of a message segment member in struct:msginfo
139 #ifndef MSGSSZ
140 #define MSGSSZ 8 /* Each segment must be 2^N long */
146 #define MSGMAX (MSGSSZ*MSGSEG)
  /src/usr.bin/ipcs/
ipcs.c 250 msginfo->msgssz);

Completed in 34 milliseconds