Home
last modified time | relevance | path

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

/linux-6.12.1/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.c1514 size_t linear, int noblock) in tun_alloc_skb() argument
1526 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tun_alloc_skb()
1580 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument
1588 if (!noblock) in tun_can_build_skb()
1750 int noblock, bool more) in tun_get_user() argument
1819 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user()
1852 noblock); in tun_get_user()
2045 int noblock = 0; in tun_chr_write_iter() local
2051 noblock = 1; in tun_chr_write_iter()
2053 result = tun_get_user(tun, tfile, NULL, from, noblock, false); in tun_chr_write_iter()
[all …]
/linux-6.12.1/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.12.1/net/caif/
Dcaif_socket.c497 int noblock, long timeo) in transmit_skb() argument
522 int noblock; in caif_seqpkt_sendmsg() local
537 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg()
539 timeo = sock_sndtimeo(sk, noblock); in caif_seqpkt_sendmsg()
559 skb = sock_alloc_send_skb(sk, buffer_size, noblock, &ret); in caif_seqpkt_sendmsg()
570 ret = transmit_skb(skb, cf_sk, noblock, timeo); in caif_seqpkt_sendmsg()
/linux-6.12.1/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()
936 int noblock = flags & MSG_DONTWAIT; in llc_ui_sendmsg() local
970 skb = sock_alloc_send_skb(sk, hh_len + size, noblock, &rc); in llc_ui_sendmsg()
1007 rc = llc_ui_send_data(sk, skb, noblock); in llc_ui_sendmsg()
/linux-6.12.1/include/net/
Dsock.h1775 unsigned long data_len, int noblock,
1780 int noblock, int *errcode) in sock_alloc_send_skb() argument
1782 return sock_alloc_send_pskb(sk, size, 0, noblock, errcode, 0); in sock_alloc_send_skb()
2522 static inline long sock_rcvtimeo(const struct sock *sk, bool noblock) in sock_rcvtimeo() argument
2524 return noblock ? 0 : sk->sk_rcvtimeo; in sock_rcvtimeo()
2527 static inline long sock_sndtimeo(const struct sock *sk, bool noblock) in sock_sndtimeo() argument
2529 return noblock ? 0 : sk->sk_sndtimeo; in sock_sndtimeo()
/linux-6.12.1/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.12.1/drivers/vhost/
Dvhost.h242 int noblock);
Dvsock.c892 int noblock = file->f_flags & O_NONBLOCK; in vhost_vsock_chr_read_iter() local
894 return vhost_chr_read_iter(dev, to, noblock); in vhost_vsock_chr_read_iter()
Dvhost.c1579 int noblock) in vhost_chr_read_iter() argument
1590 if (!noblock) in vhost_chr_read_iter()
1597 if (noblock) { in vhost_chr_read_iter()
1613 if (!noblock) in vhost_chr_read_iter()
Dnet.c1725 int noblock = file->f_flags & O_NONBLOCK; in vhost_net_chr_read_iter() local
1727 return vhost_chr_read_iter(dev, to, noblock); in vhost_net_chr_read_iter()
/linux-6.12.1/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.12.1/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.12.1/drivers/md/
Draid5-cache.c1919 int noblock) in r5c_recovery_alloc_stripe() argument
1924 noblock ? R5_GAS_NOBLOCK : 0); in r5c_recovery_alloc_stripe()
/linux-6.12.1/net/unix/
Daf_unix.c2762 int noblock = flags & MSG_DONTWAIT; in unix_stream_read_generic() local
2785 timeo = sock_rcvtimeo(sk, noblock); in unix_stream_read_generic()
/linux-6.12.1/net/core/
Dsock.c2860 unsigned long data_len, int noblock, in sock_alloc_send_pskb() argument
2867 timeo = sock_sndtimeo(sk, noblock); in sock_alloc_send_pskb()
/linux-6.12.1/net/packet/
Daf_packet.c2983 size_t linear, int noblock, in packet_alloc_skb() argument
2994 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in packet_alloc_skb()
/linux-6.12.1/Documentation/trace/
Dftrace.rst1096 noblock