Lines Matching refs:cmsg
440 * args is a pointer to an in-kernel copy in the sendmsg cmsg.
586 struct cmsghdr *cmsg)
593 if (cmsg->cmsg_len != CMSG_LEN(sizeof (struct rds_rdma_args)) ||
597 ASSERT(sizeof (buf) >= cmsg->cmsg_len && ((uintptr_t)buf & 0x7) == 0);
599 bcopy(CMSG_DATA(cmsg), (char *)buf, cmsg->cmsg_len);
615 struct cmsghdr *cmsg)
621 if (cmsg->cmsg_len != CMSG_LEN(sizeof (rds_rdma_cookie_t)) ||
625 (void) memcpy(&rm->m_rdma_cookie, CMSG_DATA(cmsg),
659 struct cmsghdr *cmsg)
666 if (cmsg->cmsg_len != CMSG_LEN(sizeof (struct rds_get_mr_args)) ||
670 ASSERT(sizeof (buf) >= cmsg->cmsg_len && ((uintptr_t)buf & 0x7) == 0);
672 bcopy(CMSG_DATA(cmsg), (char *)buf, cmsg->cmsg_len);