Lines Matching refs:msgsz

715 	size_t msgsz = (size_t)uap->msgsz;      /* limit to 4G */  in msgsnd_nocancel()  local
732 printf("call to msgsnd(%d, 0x%qx, %ld, %d)\n", msqid, user_msgp, msgsz, in msgsnd_nocancel()
777 segs_needed = (msgsz + msginfo.msgssz - 1) / msginfo.msgssz; in msgsnd_nocancel()
779 printf("msgsz=%ld, msgssz=%d, segs_needed=%d\n", msgsz, msginfo.msgssz, in msgsnd_nocancel()
797 if (msgsz > msqptr->u.msg_qbytes) { in msgsnd_nocancel()
821 if (msgsz + msqptr->u.msg_cbytes > msqptr->u.msg_qbytes) { in msgsnd_nocancel()
921 if (msgsz + msqptr->u.msg_cbytes > msqptr->u.msg_qbytes) { in msgsnd_nocancel()
943 msghdr->msg_ts = msgsz; in msgsnd_nocancel()
1024 while (msgsz > 0) { in msgsnd_nocancel()
1027 if (msgsz > (size_t)msginfo.msgssz) { in msgsnd_nocancel()
1030 tlen = msgsz; in msgsnd_nocancel()
1053 msgsz -= tlen; in msgsnd_nocancel()
1143 size_t msgsz = (size_t)uap->msgsz; /* limit to 4G */ in msgrcv_nocancel() local
1163 msgsz, msgtyp, msgflg); in msgrcv_nocancel()
1212 if (msgsz < msghdr->msg_ts && in msgrcv_nocancel()
1216 msgsz, msghdr->msg_ts); in msgrcv_nocancel()
1260 if (msgsz < msghdr->msg_ts && in msgrcv_nocancel()
1264 msgsz, msghdr->msg_ts); in msgrcv_nocancel()
1391 printf("found a message, msgsz=%ld, msg_ts=%d\n", msgsz, in msgrcv_nocancel()
1394 if (msgsz > msghdr->msg_ts) { in msgrcv_nocancel()
1395 msgsz = msghdr->msg_ts; in msgrcv_nocancel()
1436 for (len = 0; len < msgsz; len += msginfo.msgssz) { in msgrcv_nocancel()
1443 tlen = MIN(msgsz - len, (size_t)msginfo.msgssz); in msgrcv_nocancel()
1473 *retval = msgsz; in msgrcv_nocancel()