Lines Matching refs:msg_flags
361 unsigned int *msg_flags, struct cmsghdr *cmsg, int ret) in xs_sock_process_cmsg() argument
374 *msg_flags &= ~MSG_EOR; in xs_sock_process_cmsg()
389 xs_sock_recv_cmsg(struct socket *sock, unsigned int *msg_flags, int flags) in xs_sock_recv_cmsg() argument
401 .msg_flags = *msg_flags, in xs_sock_recv_cmsg()
413 ret = xs_sock_process_cmsg(sock, &msg, msg_flags, &u.cmsg, in xs_sock_recv_cmsg()
427 if (msg->msg_flags & MSG_CTRUNC) { in xs_sock_recvmsg()
428 msg->msg_flags &= ~(MSG_CTRUNC | MSG_EOR); in xs_sock_recvmsg()
430 ret = xs_sock_recv_cmsg(sock, &msg->msg_flags, flags); in xs_sock_recvmsg()
493 if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_xdr_buf()
516 if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_xdr_buf()
532 if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_xdr_buf()
570 msg->msg_flags |= MSG_EOR; in xs_read_stream_check_eor()
604 msg->msg_flags |= MSG_TRUNC; in xs_read_stream_request()
653 if (msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_stream_call()
679 msg->msg_flags |= MSG_TRUNC; in xs_read_stream_reply()
688 if (msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_stream_reply()
722 msg.msg_flags |= MSG_TRUNC; in xs_read_stream()
730 if (msg.msg_flags & MSG_TRUNC) { in xs_read_stream()
738 if (!(msg.msg_flags & MSG_TRUNC)) in xs_read_stream()
740 msg.msg_flags = 0; in xs_read_stream()
958 .msg_flags = XS_SENDMSG_FLAGS, in xs_local_send_request()
1028 .msg_flags = XS_SENDMSG_FLAGS, in xs_udp_send_request()
1114 .msg_flags = XS_SENDMSG_FLAGS, in xs_tcp_send_request()
2987 .msg_flags = 0, in bc_sendto()