Home
last modified time | relevance | path

Searched refs:noblock (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/net/x25/
Dx25_out.c52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output() local
68 noblock, &err); in x25_output()
71 if (err == -EWOULDBLOCK && noblock){ in x25_output()
/kernel/linux/linux-5.10/net/phonet/
Ddatagram.c115 int noblock, int flags, int *addr_len) in pn_recvmsg() argument
126 skb = skb_recv_datagram(sk, flags, noblock, &rval); in pn_recvmsg()
/kernel/linux/linux-5.10/net/ipv4/
Dudp_impl.h20 int udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
/kernel/linux/linux-5.10/net/ipv6/
Dudp_impl.h23 int udpv6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
/kernel/linux/linux-5.10/drivers/net/
Dtap.c595 int noblock, int *err) in tap_alloc_skb() argument
603 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tap_alloc_skb()
621 struct iov_iter *from, int noblock) in tap_get_user() argument
690 linear, noblock, &err); in tap_get_user()
825 int noblock, struct sk_buff *skb) in tap_do_read() argument
839 if (!noblock) in tap_do_read()
847 if (noblock) { in tap_do_read()
858 if (!noblock) in tap_do_read()
Dtun.c1464 size_t linear, int noblock) in tun_alloc_skb() argument
1474 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tun_alloc_skb()
1528 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument
1536 if (!noblock) in tun_can_build_skb()
1692 int noblock, bool more) in tun_get_user() argument
1761 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user()
1792 noblock); in tun_get_user()
1977 int noblock = 0; in tun_chr_write_iter() local
1983 noblock = 1; in tun_chr_write_iter()
1985 result = tun_get_user(tun, tfile, NULL, from, noblock, false); in tun_chr_write_iter()
[all …]
/kernel/linux/linux-5.10/net/caif/
Dcaif_socket.c501 int noblock, long timeo) in transmit_skb() argument
526 int noblock; in caif_seqpkt_sendmsg() local
545 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg()
547 timeo = sock_sndtimeo(sk, noblock); in caif_seqpkt_sendmsg()
567 skb = sock_alloc_send_skb(sk, buffer_size, noblock, &ret); in caif_seqpkt_sendmsg()
578 ret = transmit_skb(skb, cf_sk, noblock, timeo); in caif_seqpkt_sendmsg()
/kernel/linux/linux-5.10/include/net/
Dudp.h275 int noblock, int *off, int *err);
277 int noblock, int *err) in skb_recv_udp() argument
281 return __skb_recv_udp(sk, flags, noblock, &off, err); in skb_recv_udp()
Dping.h74 int ping_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
Dipx.h150 struct msghdr *msg, size_t len, int noblock);
Ddn_nsp.h33 struct sk_buff *dn_alloc_send_skb(struct sock *sk, size_t *size, int noblock,
Dsock.h1170 size_t len, int noblock, int flags,
1692 int noblock, int *errcode);
1694 unsigned long data_len, int noblock,
2374 static inline long sock_rcvtimeo(const struct sock *sk, bool noblock) in sock_rcvtimeo() argument
2376 return noblock ? 0 : sk->sk_rcvtimeo; in sock_rcvtimeo()
2379 static inline long sock_sndtimeo(const struct sock *sk, bool noblock) in sock_sndtimeo() argument
2381 return noblock ? 0 : sk->sk_sndtimeo; in sock_sndtimeo()
/kernel/linux/linux-5.10/net/llc/
Daf_llc.c127 static int llc_ui_send_data(struct sock* sk, struct sk_buff *skb, int noblock) in llc_ui_send_data() argument
134 long timeout = sock_sndtimeo(sk, noblock); in llc_ui_send_data()
932 int noblock = flags & MSG_DONTWAIT; in llc_ui_sendmsg() local
964 skb = sock_alloc_send_skb(sk, size, noblock, &rc); in llc_ui_sendmsg()
995 rc = llc_ui_send_data(sk, skb, noblock); in llc_ui_sendmsg()
/kernel/linux/linux-5.10/net/nfc/
Drawsock.c241 int noblock = flags & MSG_DONTWAIT; in rawsock_recvmsg() local
249 skb = skb_recv_datagram(sk, flags, noblock, &rc); in rawsock_recvmsg()
/kernel/linux/linux-5.10/net/ieee802154/
Dsocket.c312 int noblock, int flags, int *addr_len) in raw_recvmsg() argument
318 skb = skb_recv_datagram(sk, flags, noblock, &err); in raw_recvmsg()
699 int noblock, int flags, int *addr_len) in dgram_recvmsg() argument
707 skb = skb_recv_datagram(sk, flags, noblock, &err); in dgram_recvmsg()
/kernel/linux/linux-5.10/net/can/
Draw.c845 int noblock; in raw_recvmsg() local
847 noblock = flags & MSG_DONTWAIT; in raw_recvmsg()
854 skb = skb_recv_datagram(sk, flags, noblock, &err); in raw_recvmsg()
/kernel/linux/linux-5.10/net/l2tp/
Dl2tp_ip.c518 size_t len, int noblock, int flags, int *addr_len) in l2tp_ip_recvmsg() argument
529 skb = skb_recv_datagram(sk, flags, noblock, &err); in l2tp_ip_recvmsg()
Dl2tp_ip6.c660 int noblock, int flags, int *addr_len) in l2tp_ip6_recvmsg() argument
674 skb = skb_recv_datagram(sk, flags, noblock, &err); in l2tp_ip6_recvmsg()
/kernel/linux/linux-5.10/net/bluetooth/
Daf_bluetooth.c254 int noblock = flags & MSG_DONTWAIT; in bt_sock_recvmsg() local
266 skb = skb_recv_datagram(sk, flags, noblock, &err); in bt_sock_recvmsg()
/kernel/linux/linux-5.10/net/core/
Ddatagram.c313 int noblock, int *err) in skb_recv_datagram() argument
318 flags | (noblock ? MSG_DONTWAIT : 0), in skb_recv_datagram()
/kernel/linux/linux-5.10/net/dccp/
Dproto.c738 const int noblock = flags & MSG_DONTWAIT; in dccp_sendmsg() local
755 timeo = sock_sndtimeo(sk, noblock); in dccp_sendmsg()
768 skb = sock_alloc_send_skb(sk, size, noblock, &rc); in dccp_sendmsg()
/kernel/linux/linux-5.10/drivers/vhost/
Dvhost.h223 int noblock);
/kernel/linux/linux-5.10/drivers/md/
Draid5.h810 int previous, int noblock, int noquiesce);
/kernel/linux/linux-5.10/drivers/media/usb/cpia2/
Dcpia2.h438 char __user *buf, unsigned long count, int noblock);
/kernel/linux/linux-5.10/net/iucv/
Daf_iucv.c936 int noblock = msg->msg_flags & MSG_DONTWAIT; in iucv_sock_sendmsg() local
1021 noblock, &err, 0); in iucv_sock_sendmsg()
1034 timeo = sock_sndtimeo(sk, noblock); in iucv_sock_sendmsg()
1242 int noblock = flags & MSG_DONTWAIT; in iucv_sock_recvmsg() local
1261 skb = skb_recv_datagram(sk, flags, noblock, &err); in iucv_sock_recvmsg()

123