Home
last modified time | relevance | path

Searched refs:MSG_DONTWAIT (Results 1 – 93 of 93) sorted by relevance

/linux-4.4.14/net/phonet/
Ddatagram.c92 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pn_sendmsg()
106 msg->msg_flags & MSG_DONTWAIT, &err); in pn_sendmsg()
135 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg()
Dpep.c1132 if ((msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pep_sendmsg()
1138 flags & MSG_DONTWAIT, &err); in pep_sendmsg()
1148 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in pep_sendmsg()
1254 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg()
/linux-4.4.14/fs/ncpfs/
Dsock.c212 req->tx_totallen, MSG_DONTWAIT); in ncpdgram_send()
229 rq->tx_totallen, MSG_NOSIGNAL | MSG_DONTWAIT); in __ncptcp_try_send()
394 result = _recv(sock, &reply, sizeof(reply), MSG_PEEK | MSG_DONTWAIT); in ncpdgram_rcv_proc()
407 result = _recv(sock, buf, sizeof(buf), MSG_DONTWAIT); in ncpdgram_rcv_proc()
425 … _recv(sock, server->unexpected_packet.data, sizeof(server->unexpected_packet.data), MSG_DONTWAIT); in ncpdgram_rcv_proc()
441 result = _recv(sock, server->rxbuf, req->datalen, MSG_DONTWAIT); in ncpdgram_rcv_proc()
469 _recv(sock, &reply, sizeof(reply), MSG_DONTWAIT); in ncpdgram_rcv_proc()
515 result = _recv(server->ncp_sock, buffer, len, MSG_DONTWAIT); in do_tcp_rcv()
522 result = _recv(server->ncp_sock, dummy, len, MSG_DONTWAIT); in do_tcp_rcv()
/linux-4.4.14/net/rds/
Dtcp_send.c73 .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL, in rds_tcp_sendmsg()
122 int flags = MSG_DONTWAIT | MSG_NOSIGNAL | more; in rds_tcp_xmit()
Dsend.c990 int nonblock = msg->msg_flags & MSG_DONTWAIT; in rds_sendmsg()
995 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_CMSG_COMPAT)) { in rds_sendmsg()
Drecv.c404 int ret = 0, nonblock = msg_flags & MSG_DONTWAIT; in rds_recvmsg()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_lib.c100 struct msghdr msg = {.msg_flags = MSG_DONTWAIT}; in ksocknal_lib_send_iov()
136 int msgflg = MSG_DONTWAIT; in ksocknal_lib_send_kiov()
163 struct msghdr msg = {.msg_flags = MSG_DONTWAIT}; in ksocknal_lib_send_kiov()
232 scratchiov, niov, nob, MSG_DONTWAIT); in ksocknal_lib_recv_iov()
351 (struct kvec *)scratchiov, n, nob, MSG_DONTWAIT); in ksocknal_lib_recv_kiov()
/linux-4.4.14/net/irda/
Daf_irda.c1278 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_EOR | MSG_CMSG_COMPAT | in irda_sendmsg()
1317 msg->msg_flags & MSG_DONTWAIT, &err); in irda_sendmsg()
1367 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in irda_recvmsg_dgram()
1368 flags & MSG_DONTWAIT, &err); in irda_recvmsg_dgram()
1410 int noblock = flags & MSG_DONTWAIT; in irda_recvmsg_stream()
1536 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_CMSG_COMPAT)) in irda_sendmsg_dgram()
1564 msg->msg_flags & MSG_DONTWAIT, &err); in irda_sendmsg_dgram()
1618 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_CMSG_COMPAT)) in irda_sendmsg_ultra()
1673 msg->msg_flags & MSG_DONTWAIT, &err); in irda_sendmsg_ultra()
/linux-4.4.14/net/caif/
Dcaif_socket.c370 timeo = sock_rcvtimeo(sk, flags&MSG_DONTWAIT); in caif_stream_recvmsg()
544 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg()
610 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in caif_stream_sendmsg()
633 msg->msg_flags&MSG_DONTWAIT, in caif_stream_sendmsg()
654 msg->msg_flags&MSG_DONTWAIT, timeo); in caif_stream_sendmsg()
/linux-4.4.14/net/core/
Ddatagram.c209 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in __skb_recv_datagram()
248 sk_busy_loop(sk, flags & MSG_DONTWAIT)) in __skb_recv_datagram()
273 return __skb_recv_datagram(sk, flags | (noblock ? MSG_DONTWAIT : 0), in skb_recv_datagram()
Dsock.c2626 err = sk->sk_prot->recvmsg(sk, msg, size, flags & MSG_DONTWAIT, in sock_common_recvmsg()
2627 flags & ~MSG_DONTWAIT, &addr_len); in sock_common_recvmsg()
Drtnetlink.c630 err = netlink_unicast(rtnl, skb, pid, MSG_DONTWAIT); in rtnetlink_send()
/linux-4.4.14/net/rxrpc/
Dar-output.c531 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in rxrpc_send_data()
554 if (msg->msg_flags & MSG_DONTWAIT) in rxrpc_send_data()
579 sk, size, msg->msg_flags & MSG_DONTWAIT, &ret); in rxrpc_send_data()
Dar-recvmsg.c66 timeo = sock_rcvtimeo(&rx->sk, flags & MSG_DONTWAIT); in rxrpc_recvmsg()
/linux-4.4.14/net/can/
Draw.c746 msg->msg_flags & MSG_DONTWAIT, &err); in raw_sendmsg()
789 noblock = flags & MSG_DONTWAIT; in raw_recvmsg()
790 flags &= ~MSG_DONTWAIT; in raw_recvmsg()
Dbcm.c1553 noblock = flags & MSG_DONTWAIT; in bcm_recvmsg()
1554 flags &= ~MSG_DONTWAIT; in bcm_recvmsg()
/linux-4.4.14/net/x25/
Dx25_out.c57 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output()
Daf_x25.c1088 int noblock = msg->msg_flags & MSG_DONTWAIT; in x25_sendmsg()
1093 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_OOB|MSG_EOR|MSG_CMSG_COMPAT)) in x25_sendmsg()
1306 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in x25_recvmsg()
1307 flags & MSG_DONTWAIT, &rc); in x25_recvmsg()
/linux-4.4.14/drivers/vhost/
Dnet.c303 .msg_flags = MSG_DONTWAIT, in handle_tx()
528 .msg_flags = MSG_DONTWAIT, in handle_rx()
569 1, MSG_DONTWAIT | MSG_TRUNC); in handle_rx()
595 sock_len, MSG_DONTWAIT | MSG_TRUNC); in handle_rx()
/linux-4.4.14/net/decnet/
Daf_decnet.c1687 long timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in dn_recvmsg()
1705 if (flags & ~(MSG_CMSG_COMPAT|MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) { in dn_recvmsg()
1747 if (flags & MSG_DONTWAIT) { in dn_recvmsg()
1928 if (flags & ~(MSG_TRYHARD|MSG_OOB|MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL|MSG_MORE|MSG_CMSG_COMPAT)) in dn_sendmsg()
1935 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in dn_sendmsg()
2004 if (flags & MSG_DONTWAIT) { in dn_sendmsg()
2025 flags & MSG_DONTWAIT, &err); in dn_sendmsg()
/linux-4.4.14/net/unix/
Daf_unix.c1699 msg->msg_flags & MSG_DONTWAIT, &err, in unix_dgram_sendmsg()
1716 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in unix_dgram_sendmsg()
1900 msg->msg_flags & MSG_DONTWAIT, &err, in unix_stream_sendmsg()
1975 newskb = sock_alloc_send_pskb(sk, 0, 0, flags & MSG_DONTWAIT, in unix_stream_sendpage()
1986 err = flags & MSG_DONTWAIT ? -EAGAIN : -ERESTARTSYS; in unix_stream_sendpage()
2116 int noblock = flags & MSG_DONTWAIT; in unix_dgram_recvmsg()
2269 int noblock = flags & MSG_DONTWAIT; in unix_stream_read_generic()
2526 state.flags = MSG_DONTWAIT; in unix_stream_splice_read()
Ddiag.c283 MSG_DONTWAIT); in unix_diag_get_exact()
/linux-4.4.14/net/tipc/
Dserver.c265 MSG_DONTWAIT); in tipc_receive_from_sock()
505 msg.msg_flags = MSG_DONTWAIT; in tipc_send_to_sock()
Dsocket.c900 timeo = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT); in __tipc_sendmsg()
1048 timeo = sock_sndtimeo(sk, m->msg_flags & MSG_DONTWAIT); in __tipc_send_stream()
1311 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tipc_recvmsg()
1408 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tipc_recv_stream()
1897 m.msg_flags = MSG_DONTWAIT; in tipc_connect()
/linux-4.4.14/net/netfilter/
Dnfnetlink_cttimeout.c284 MSG_DONTWAIT); in cttimeout_get_timeout()
502 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in cttimeout_default_get()
Dnfnetlink_acct.c308 MSG_DONTWAIT); in nfnl_acct_get()
Dnfnetlink_cthelper.c562 MSG_DONTWAIT); in nfnl_cthelper_get()
Dnft_compat.c586 MSG_DONTWAIT); in nfnl_compat_get()
Dnf_conntrack_netlink.c1241 err = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ctnetlink_get_conntrack()
2102 err = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ctnetlink_stat_ct()
2840 err = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ctnetlink_get_expect()
Dnfnetlink_log.c366 MSG_DONTWAIT); in __nfulnl_send()
Dnfnetlink_queue.c585 err = nfnetlink_unicast(nskb, net, queue->peer_portid, MSG_DONTWAIT); in __nfqnl_enqueue_packet()
/linux-4.4.14/net/netrom/
Daf_netrom.c1037 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT)) in nr_sendmsg()
1089 if ((skb = sock_alloc_send_skb(sk, size, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL) in nr_sendmsg()
1156 if ((skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, flags & MSG_DONTWAIT, &er)) == NULL) { in nr_recvmsg()
/linux-4.4.14/include/linux/
Dsocket.h265 #define MSG_DONTWAIT 0x40 /* Nonblocking io */ macro
/linux-4.4.14/net/ipv4/
Dudp_diag.c85 MSG_DONTWAIT); in udp_dump_one()
Dip_output.c831 (flags & MSG_DONTWAIT), &err); in ip_ufo_append_data()
991 (flags & MSG_DONTWAIT), &err); in __ip_append_data()
1593 len, 0, &ipc, &rt, MSG_DONTWAIT); in ip_send_unicast_reply()
Daf_inet.c767 err = sk->sk_prot->recvmsg(sk, msg, size, flags & MSG_DONTWAIT, in inet_recvmsg()
768 flags & ~MSG_DONTWAIT, &addr_len); in inet_recvmsg()
Dtcp.c896 long timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in do_tcp_sendpages()
1082 flags = (msg->msg_flags & MSG_DONTWAIT) ? O_NONBLOCK : 0; in tcp_sendmsg_fastopen()
1110 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in tcp_sendmsg()
Dicmp.c365 ipc, rt, MSG_DONTWAIT) < 0) { in icmp_push_reply()
Draw.c364 flags & MSG_DONTWAIT, &err); in raw_send_hdrinc()
Dinet_diag.c404 MSG_DONTWAIT); in inet_diag_dump_one_icsk()
Dfib_frontend.c1098 netlink_unicast(net->ipv4.fibnl, skb, portid, MSG_DONTWAIT); in nl_fib_input()
Dudp.c1284 skb = __skb_recv_datagram(sk, flags | (noblock ? MSG_DONTWAIT : 0), in udp_recvmsg()
/linux-4.4.14/net/bluetooth/
Daf_bluetooth.c216 int noblock = flags & MSG_DONTWAIT; in bt_sock_recvmsg()
302 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in bt_sock_stream_recvmsg()
Dhci_sock.c997 int noblock = flags & MSG_DONTWAIT; in hci_sock_recvmsg()
1167 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_NOSIGNAL|MSG_ERRQUEUE)) in hci_sock_sendmsg()
1205 skb = bt_skb_send_alloc(sk, len, msg->msg_flags & MSG_DONTWAIT, &err); in hci_sock_sendmsg()
Dsco.c286 skb = bt_skb_send_alloc(sk, len, msg->msg_flags & MSG_DONTWAIT, &err); in sco_send_frame()
Dl2cap_core.c2133 msg->msg_flags & MSG_DONTWAIT); in l2cap_skbuff_fromiovec()
2169 msg->msg_flags & MSG_DONTWAIT); in l2cap_create_connless_pdu()
2200 msg->msg_flags & MSG_DONTWAIT); in l2cap_create_basic_pdu()
2242 msg->msg_flags & MSG_DONTWAIT); in l2cap_create_iframe_pdu()
2360 msg->msg_flags & MSG_DONTWAIT); in l2cap_create_le_flowctl_pdu()
/linux-4.4.14/net/atm/
Dcommon.c538 if (flags & ~(MSG_DONTWAIT | MSG_PEEK)) in vcc_recvmsg()
547 skb = skb_recv_datagram(sk, flags, flags & MSG_DONTWAIT, &error); in vcc_recvmsg()
610 if (m->msg_flags & MSG_DONTWAIT) { in vcc_sendmsg()
/linux-4.4.14/net/rose/
Daf_rose.c1061 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT)) in rose_sendmsg()
1112 if ((skb = sock_alloc_send_skb(sk, size, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL) in rose_sendmsg()
1232 if ((skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, flags & MSG_DONTWAIT, &er)) == NULL) in rose_recvmsg()
/linux-4.4.14/net/ipv6/
Dping.c176 MSG_DONTWAIT, np->dontfrag); in ping_v6_sendmsg()
Dicmp.c530 MSG_DONTWAIT, np->dontfrag); in icmp6_send()
619 (struct rt6_info *)dst, MSG_DONTWAIT, in icmpv6_echo_reply()
Draw.c533 err = (flags&MSG_DONTWAIT) ? -EAGAIN : -EHOSTUNREACH; in rawv6_recvmsg()
634 flags & MSG_DONTWAIT, &err); in rawv6_send_hdrinc()
Dip6_output.c1104 (flags & MSG_DONTWAIT), &err); in ip6_ufo_append_data()
1430 (flags & MSG_DONTWAIT), &err); in __ip6_append_data()
Dudp.c415 skb = __skb_recv_datagram(sk, flags | (noblock ? MSG_DONTWAIT : 0), in udpv6_recvmsg()
/linux-4.4.14/net/
Dsocket.c762 flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; in sock_sendpage()
790 msg.msg_flags = MSG_DONTWAIT; in sock_read_iter()
815 msg.msg_flags = MSG_DONTWAIT; in sock_write_iter()
1649 flags |= MSG_DONTWAIT; in SYSCALL_DEFINE6()
1701 flags |= MSG_DONTWAIT; in SYSCALL_DEFINE6()
1933 msg_sys->msg_flags |= MSG_DONTWAIT; in ___sys_sendmsg()
2098 flags |= MSG_DONTWAIT; in ___sys_recvmsg()
2221 flags |= MSG_DONTWAIT; in __sys_recvmmsg()
/linux-4.4.14/net/nfc/
Dllcp_commands.c328 skb = nfc_alloc_send_skb(sock->dev, &sock->sk, MSG_DONTWAIT, in llcp_allocate_pdu()
753 pdu = nfc_alloc_send_skb(sock->dev, &sock->sk, MSG_DONTWAIT, in nfc_llcp_send_ui_frame()
Drawsock.c253 int noblock = flags & MSG_DONTWAIT; in rawsock_recvmsg()
Dllcp_sock.c799 int noblock = flags & MSG_DONTWAIT; in llcp_sock_recvmsg()
Dcore.c731 skb = sock_alloc_send_skb(sk, total_size, flags & MSG_DONTWAIT, err); in nfc_alloc_send_skb()
/linux-4.4.14/net/appletalk/
Dddp.c1577 if (flags & ~(MSG_DONTWAIT|MSG_CMSG_COMPAT)) in atalk_sendmsg()
1639 skb = sock_alloc_send_skb(sk, size, (flags & MSG_DONTWAIT), &err); in atalk_sendmsg()
1740 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in atalk_recvmsg()
1741 flags & MSG_DONTWAIT, &err); in atalk_recvmsg()
/linux-4.4.14/drivers/net/
Dmacvtap.c1233 return macvtap_get_user(q, m, &m->msg_iter, m->msg_flags & MSG_DONTWAIT); in macvtap_sendmsg()
1241 if (flags & ~(MSG_DONTWAIT|MSG_TRUNC)) in macvtap_recvmsg()
1243 ret = macvtap_do_read(q, &m->msg_iter, flags & MSG_DONTWAIT); in macvtap_recvmsg()
Dtun.c1415 skb = __skb_recv_datagram(tfile->socket.sk, noblock ? MSG_DONTWAIT : 0, in tun_do_read()
1514 m->msg_flags & MSG_DONTWAIT); in tun_sendmsg()
1529 if (flags & ~(MSG_DONTWAIT|MSG_TRUNC|MSG_ERRQUEUE)) { in tun_recvmsg()
1538 ret = tun_do_read(tun, tfile, &m->msg_iter, flags & MSG_DONTWAIT); in tun_recvmsg()
/linux-4.4.14/net/ax25/
Daf_ax25.c1448 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT)) in ax25_sendmsg()
1546 skb = sock_alloc_send_skb(sk, size, msg->msg_flags&MSG_DONTWAIT, &err); in ax25_sendmsg()
1622 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in ax25_recvmsg()
1623 flags & MSG_DONTWAIT, &err); in ax25_recvmsg()
/linux-4.4.14/net/ipx/
Daf_ipx.c1704 if (flags & ~(MSG_DONTWAIT|MSG_CMSG_COMPAT)) in ipx_sendmsg()
1747 rc = ipxrtr_route_packet(sk, usipx, msg, len, flags & MSG_DONTWAIT); in ipx_sendmsg()
1794 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in ipx_recvmsg()
1795 flags & MSG_DONTWAIT, &rc); in ipx_recvmsg()
/linux-4.4.14/drivers/isdn/mISDN/
Dsocket.c133 skb = skb_recv_datagram(sk, flags, flags & MSG_DONTWAIT, &err); in mISDN_sock_recvmsg()
190 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_NOSIGNAL | MSG_ERRQUEUE)) in mISDN_sock_sendmsg()
/linux-4.4.14/Documentation/networking/timestamping/
Dtimestamping.c301 res = recvmsg(sock, &msg, recvmsg_flags|MSG_DONTWAIT); in recvpacket()
/linux-4.4.14/net/netfilter/ipset/
Dip_set_core.c1495 MSG_DONTWAIT); in call_ad()
1684 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_header()
1745 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_type()
1789 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_protocol()
/linux-4.4.14/net/netlink/
Daf_netlink.c765 if (!(msg->msg_flags & MSG_DONTWAIT) && in netlink_mmap_sendmsg()
806 msg->msg_flags & MSG_DONTWAIT); in netlink_mmap_sendmsg()
812 (!(msg->msg_flags & MSG_DONTWAIT) && in netlink_mmap_sendmsg()
2511 err = netlink_unicast(sk, skb, dst_portid, msg->msg_flags&MSG_DONTWAIT); in netlink_sendmsg()
2524 int noblock = flags&MSG_DONTWAIT; in netlink_recvmsg()
2988 netlink_unicast(in_skb->sk, skb, NETLINK_CB(in_skb).portid, MSG_DONTWAIT); in netlink_ack()
/linux-4.4.14/net/sunrpc/
Dsvcsock.c323 .msg_flags = MSG_DONTWAIT, in svc_recvfrom()
577 .msg_flags = MSG_DONTWAIT, in svc_udp_recvfrom()
598 0, 0, MSG_PEEK | MSG_DONTWAIT); in svc_udp_recvfrom()
Dxprtsock.c324 #define XS_SENDMSG_FLAGS (MSG_DONTWAIT | MSG_NOSIGNAL)
/linux-4.4.14/drivers/net/ppp/
Dpppoe.c1006 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in pppoe_recvmsg()
1007 flags & MSG_DONTWAIT, &error); in pppoe_recvmsg()
/linux-4.4.14/crypto/
Dalgif_skcipher.c206 if (flags & MSG_DONTWAIT) in skcipher_wait_for_wmem()
251 if (flags & MSG_DONTWAIT) { in skcipher_wait_for_data()
Dalgif_aead.c125 if (flags & MSG_DONTWAIT) in aead_wait_for_data()
/linux-4.4.14/net/ieee802154/
Dsocket.c288 msg->msg_flags & MSG_DONTWAIT, &err); in raw_sendmsg()
652 msg->msg_flags & MSG_DONTWAIT, in dgram_sendmsg()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dlib-socket.c270 .msg_flags = (timeout == 0) ? MSG_DONTWAIT : 0 in lnet_sock_write()
/linux-4.4.14/net/llc/
Daf_llc.c712 const int nonblock = flags & MSG_DONTWAIT; in llc_ui_recvmsg()
888 int noblock = flags & MSG_DONTWAIT; in llc_ui_sendmsg()
/linux-4.4.14/include/net/
Dnetlink.h582 err = netlink_unicast(sk, skb, portid, MSG_DONTWAIT); in nlmsg_unicast()
/linux-4.4.14/fs/dlm/
Dlowcomms.c623 MSG_DONTWAIT | MSG_NOSIGNAL); in receive_from_sock()
1424 const int msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in send_to_sock()
/linux-4.4.14/net/vmw_vsock/
Daf_vsock.c1554 timeout = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in vsock_stream_sendmsg()
1712 timeout = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in vsock_stream_recvmsg()
Dvmci_transport.c1730 noblock = flags & MSG_DONTWAIT; in vmci_transport_dgram_dequeue()
/linux-4.4.14/net/l2tp/
Dl2tp_ppp.c200 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in pppol2tp_recvmsg()
201 flags & MSG_DONTWAIT, &err); in pppol2tp_recvmsg()
/linux-4.4.14/Documentation/networking/
Dnetlink_mmap.txt282 len = recv(fd, buf, sizeof(buf), MSG_DONTWAIT);
Dpacket_mmap.txt125 The flag MSG_DONTWAIT can be used to return
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_sync.c1600 struct msghdr msg = {.msg_flags = MSG_DONTWAIT|MSG_NOSIGNAL}; in ip_vs_send_async()
1642 len = kernel_recvmsg(sock, &msg, &iov, 1, buflen, MSG_DONTWAIT); in ip_vs_receive()
/linux-4.4.14/net/packet/
Daf_packet.c2472 bool need_wait = !(msg->msg_flags & MSG_DONTWAIT); in tpacket_snd()
2747 msg->msg_flags & MSG_DONTWAIT, &err); in packet_snd()
3136 if (flags & ~(MSG_PEEK|MSG_DONTWAIT|MSG_TRUNC|MSG_CMSG_COMPAT|MSG_ERRQUEUE)) in packet_recvmsg()
3160 skb = skb_recv_datagram(sk, flags, flags & MSG_DONTWAIT, &err); in packet_recvmsg()
/linux-4.4.14/fs/cifs/
Dtransport.c152 smb_msg.msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec()
/linux-4.4.14/fs/ocfs2/cluster/
Dtcp.c920 struct msghdr msg = { .msg_flags = MSG_DONTWAIT, }; in o2net_recv_tcp_msg()
958 size, MSG_DONTWAIT); in o2net_sendpage()
/linux-4.4.14/net/ceph/
Dmessenger.c529 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; in ceph_tcp_recvmsg()
561 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; in ceph_tcp_sendmsg()
578 int flags = MSG_DONTWAIT | MSG_NOSIGNAL | (more ? MSG_MORE : MSG_EOR); in __ceph_tcp_sendpage()
/linux-4.4.14/net/dccp/
Dproto.c747 const int noblock = flags & MSG_DONTWAIT; in dccp_sendmsg()
/linux-4.4.14/net/bluetooth/rfcomm/
Dsock.c586 msg->msg_flags & MSG_DONTWAIT, &err); in rfcomm_sock_sendmsg()
/linux-4.4.14/net/iucv/
Daf_iucv.c1044 int noblock = msg->msg_flags & MSG_DONTWAIT; in iucv_sock_sendmsg()
1323 int noblock = flags & MSG_DONTWAIT; in iucv_sock_recvmsg()
/linux-4.4.14/net/key/
Daf_key.c3642 if (flags & ~(MSG_PEEK|MSG_DONTWAIT|MSG_TRUNC|MSG_CMSG_COMPAT)) in pfkey_recvmsg()
3645 skb = skb_recv_datagram(sk, flags, flags & MSG_DONTWAIT, &err); in pfkey_recvmsg()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_receiver.c833 rr = drbd_recv_short(*sock, tb, 4, MSG_DONTWAIT | MSG_PEEK); in drbd_socket_okay()
5643 rv = drbd_recv_short(connection->meta.socket, buf, expect-received, MSG_DONTWAIT); in drbd_asender()
/linux-4.4.14/net/sctp/
Dsocket.c1917 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in sctp_sendmsg()
1979 timeo = sock_sndtimeo(sk, msg_flags & MSG_DONTWAIT); in sctp_sendmsg()