Searched refs:VHOST_USER_HDR_SIZE (Results 1 – 3 of 3) sorted by relevance
49 #define VHOST_USER_HDR_SIZE offsetof(struct vhost_user_msg, payload.u64) macro51 (sizeof(struct vhost_user_msg) - VHOST_USER_HDR_SIZE)91 int ret, sz_hdr = VHOST_USER_HDR_SIZE, sz_payload; in vhost_user_read()362 len = VHOST_USER_HDR_SIZE + msg.size; in vhost_user_sock()
156 #define VHOST_USER_HDR_SIZE offsetof(VhostUserMsg, payload.u64) macro
2564 ret = read_fd_message(sockfd, (char *)msg, VHOST_USER_HDR_SIZE, in read_vhost_message()2568 } else if (ret != VHOST_USER_HDR_SIZE) { in read_vhost_message()2600 VHOST_USER_HDR_SIZE + msg->size, msg->fds, msg->fd_num); in send_vhost_message()