Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/
Dtap.c610 int noblock, int *err) in tap_alloc_skb() argument
620 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tap_alloc_skb()
638 struct iov_iter *from, int noblock) in tap_get_user() argument
708 linear, noblock, &err); in tap_get_user()
781 int noblock = 0; in tap_write_iter() local
784 noblock = 1; in tap_write_iter()
786 return tap_get_user(q, NULL, from, noblock); in tap_write_iter()
850 int noblock, struct sk_buff *skb) in tap_do_read() argument
864 if (!noblock) in tap_do_read()
872 if (noblock) { in tap_do_read()
[all …]
Dtun.c1520 size_t linear, int noblock) in tun_alloc_skb() argument
1532 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tun_alloc_skb()
1586 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument
1594 if (!noblock) in tun_can_build_skb()
1752 int noblock, bool more) in tun_get_user() argument
1821 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user()
1854 noblock); in tun_get_user()
2047 int noblock = 0; in tun_chr_write_iter() local
2053 noblock = 1; in tun_chr_write_iter()
2055 result = tun_get_user(tun, tfile, NULL, from, noblock, false); in tun_chr_write_iter()
[all …]
/linux-6.6.21/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()
Daf_x25.c1111 int noblock = msg->msg_flags & MSG_DONTWAIT; in x25_sendmsg() local
1179 skb = sock_alloc_send_skb(sk, size, noblock, &rc); in x25_sendmsg()
/linux-6.6.21/net/caif/
Dcaif_socket.c496 int noblock, long timeo) in transmit_skb() argument
521 int noblock; in caif_seqpkt_sendmsg() local
536 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg()
538 timeo = sock_sndtimeo(sk, noblock); in caif_seqpkt_sendmsg()
558 skb = sock_alloc_send_skb(sk, buffer_size, noblock, &ret); in caif_seqpkt_sendmsg()
569 ret = transmit_skb(skb, cf_sk, noblock, timeo); in caif_seqpkt_sendmsg()
/linux-6.6.21/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()
937 int noblock = flags & MSG_DONTWAIT; in llc_ui_sendmsg() local
971 skb = sock_alloc_send_skb(sk, hh_len + size, noblock, &rc); in llc_ui_sendmsg()
1008 rc = llc_ui_send_data(sk, skb, noblock); in llc_ui_sendmsg()
/linux-6.6.21/include/net/
Dsock.h1876 unsigned long data_len, int noblock,
1881 int noblock, int *errcode) in sock_alloc_send_skb() argument
1883 return sock_alloc_send_pskb(sk, size, 0, noblock, errcode, 0); in sock_alloc_send_skb()
2624 static inline long sock_rcvtimeo(const struct sock *sk, bool noblock) in sock_rcvtimeo() argument
2626 return noblock ? 0 : sk->sk_rcvtimeo; in sock_rcvtimeo()
2629 static inline long sock_sndtimeo(const struct sock *sk, bool noblock) in sock_sndtimeo() argument
2631 return noblock ? 0 : sk->sk_sndtimeo; in sock_sndtimeo()
/linux-6.6.21/net/dccp/
Dproto.c739 const int noblock = flags & MSG_DONTWAIT; in dccp_sendmsg() local
751 timeo = sock_sndtimeo(sk, noblock); in dccp_sendmsg()
764 skb = sock_alloc_send_skb(sk, size, noblock, &rc); in dccp_sendmsg()
/linux-6.6.21/drivers/vhost/
Dvhost.h241 int noblock);
Dvsock.c879 int noblock = file->f_flags & O_NONBLOCK; in vhost_vsock_chr_read_iter() local
881 return vhost_chr_read_iter(dev, to, noblock); in vhost_vsock_chr_read_iter()
Dvhost.c1497 int noblock) in vhost_chr_read_iter() argument
1508 if (!noblock) in vhost_chr_read_iter()
1515 if (noblock) { in vhost_chr_read_iter()
1531 if (!noblock) in vhost_chr_read_iter()
Dnet.c1755 int noblock = file->f_flags & O_NONBLOCK; in vhost_net_chr_read_iter() local
1757 return vhost_chr_read_iter(dev, to, noblock); in vhost_net_chr_read_iter()
/linux-6.6.21/drivers/media/v4l2-core/
Dvideobuf-core.c632 static int stream_next_buffer_check_queue(struct videobuf_queue *q, int noblock) in stream_next_buffer_check_queue() argument
644 if (noblock) { in stream_next_buffer_check_queue()
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c917 bool noblock; in csk_wait_memory() local
920 noblock = (*timeo_p ? false : true); in csk_wait_memory()
933 if (noblock) in csk_wait_memory()
/linux-6.6.21/net/iucv/
Daf_iucv.c913 int noblock = msg->msg_flags & MSG_DONTWAIT; in iucv_sock_sendmsg() local
998 noblock, &err, 0); in iucv_sock_sendmsg()
1011 timeo = sock_sndtimeo(sk, noblock); in iucv_sock_sendmsg()
/linux-6.6.21/drivers/md/
Draid5-cache.c1923 int noblock) in r5c_recovery_alloc_stripe() argument
1928 noblock ? R5_GAS_NOBLOCK : 0); in r5c_recovery_alloc_stripe()
/linux-6.6.21/net/core/
Dsock.c2774 unsigned long data_len, int noblock, in sock_alloc_send_pskb() argument
2781 timeo = sock_sndtimeo(sk, noblock); in sock_alloc_send_pskb()
/linux-6.6.21/net/unix/
Daf_unix.c2618 int noblock = flags & MSG_DONTWAIT; in unix_stream_read_generic() local
2641 timeo = sock_rcvtimeo(sk, noblock); in unix_stream_read_generic()
/linux-6.6.21/net/packet/
Daf_packet.c2925 size_t linear, int noblock, in packet_alloc_skb() argument
2936 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in packet_alloc_skb()
/linux-6.6.21/Documentation/trace/
Dftrace.rst1060 noblock