Lines Matching defs:curbuf
312 msghdr_t *curbuf;
332 curbuf = MQ_PTR(mqhp, currentp);
334 if ((*headpp = curbuf->msg_next) == NULL) {
355 (void) memcpy(msgp, (char *)&curbuf[1], curbuf->msg_len);
356 curbuf->msg_next = mqhp->mq_freep;
359 return (curbuf->msg_len);
367 msghdr_t *curbuf;
380 curbuf = MQ_PTR(mqhp, currentp);
385 mqhp->mq_freep = curbuf->msg_next;
386 curbuf->msg_next = NULL;
387 (void) memcpy((char *)&curbuf[1], msgp, len);
388 curbuf->msg_len = len;