Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1105 int noblock = msg->msg_flags & MSG_DONTWAIT; in x25_sendmsg() local
1173 skb = sock_alloc_send_skb(sk, size, noblock, &rc); in x25_sendmsg()
/linux-6.1.9/drivers/net/
Dtap.c605 int noblock, int *err) in tap_alloc_skb() argument
613 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tap_alloc_skb()
631 struct iov_iter *from, int noblock) in tap_get_user() argument
701 linear, noblock, &err); in tap_get_user()
839 int noblock, struct sk_buff *skb) in tap_do_read() argument
853 if (!noblock) in tap_do_read()
861 if (noblock) { in tap_do_read()
872 if (!noblock) in tap_do_read()
Dtun.c1513 size_t linear, int noblock) in tun_alloc_skb() argument
1523 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tun_alloc_skb()
1577 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument
1585 if (!noblock) in tun_can_build_skb()
1737 int noblock, bool more) in tun_get_user() argument
1806 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user()
1837 noblock); in tun_get_user()
2028 int noblock = 0; in tun_chr_write_iter() local
2034 noblock = 1; in tun_chr_write_iter()
2036 result = tun_get_user(tun, tfile, NULL, from, noblock, false); in tun_chr_write_iter()
[all …]
/linux-6.1.9/net/caif/
Dcaif_socket.c496 int noblock, long timeo) in transmit_skb() argument
521 int noblock; in caif_seqpkt_sendmsg() local
540 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg()
542 timeo = sock_sndtimeo(sk, noblock); in caif_seqpkt_sendmsg()
562 skb = sock_alloc_send_skb(sk, buffer_size, noblock, &ret); in caif_seqpkt_sendmsg()
573 ret = transmit_skb(skb, cf_sk, noblock, timeo); in caif_seqpkt_sendmsg()
/linux-6.1.9/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()
933 int noblock = flags & MSG_DONTWAIT; in llc_ui_sendmsg() local
965 skb = sock_alloc_send_skb(sk, size, noblock, &rc); in llc_ui_sendmsg()
996 rc = llc_ui_send_data(sk, skb, noblock); in llc_ui_sendmsg()
/linux-6.1.9/include/net/
Dsock.h1877 unsigned long data_len, int noblock,
1882 int noblock, int *errcode) in sock_alloc_send_skb() argument
1884 return sock_alloc_send_pskb(sk, size, 0, noblock, errcode, 0); in sock_alloc_send_skb()
2598 static inline long sock_rcvtimeo(const struct sock *sk, bool noblock) in sock_rcvtimeo() argument
2600 return noblock ? 0 : sk->sk_rcvtimeo; in sock_rcvtimeo()
2603 static inline long sock_sndtimeo(const struct sock *sk, bool noblock) in sock_sndtimeo() argument
2605 return noblock ? 0 : sk->sk_sndtimeo; in sock_sndtimeo()
/linux-6.1.9/net/dccp/
Dproto.c726 const int noblock = flags & MSG_DONTWAIT; in dccp_sendmsg() local
738 timeo = sock_sndtimeo(sk, noblock); in dccp_sendmsg()
751 skb = sock_alloc_send_skb(sk, size, noblock, &rc); in dccp_sendmsg()
/linux-6.1.9/drivers/vhost/
Dvhost.h221 int noblock);
Dvsock.c913 int noblock = file->f_flags & O_NONBLOCK; in vhost_vsock_chr_read_iter() local
915 return vhost_chr_read_iter(dev, to, noblock); in vhost_vsock_chr_read_iter()
Dvhost.c1216 int noblock) in vhost_chr_read_iter() argument
1227 if (!noblock) in vhost_chr_read_iter()
1234 if (noblock) { in vhost_chr_read_iter()
1250 if (!noblock) in vhost_chr_read_iter()
Dnet.c1744 int noblock = file->f_flags & O_NONBLOCK; in vhost_net_chr_read_iter() local
1746 return vhost_chr_read_iter(dev, to, noblock); in vhost_net_chr_read_iter()
/linux-6.1.9/drivers/staging/media/deprecated/cpia2/
Dcpia2.h438 char __user *buf, unsigned long count, int noblock);
Dcpia2_v4l.c143 int noblock = file->f_flags & O_NONBLOCK; in cpia2_v4l_read() local
151 ret = cpia2_read(cam, buf, count, noblock); in cpia2_v4l_read()
Dcpia2_core.c2317 char __user *buf, unsigned long count, int noblock) in cpia2_read() argument
2342 if (noblock && frame->status != FRAME_READY) { in cpia2_read()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/md/
Draid5-cache.c1922 int noblock) in r5c_recovery_alloc_stripe() argument
1927 noblock ? R5_GAS_NOBLOCK : 0); in r5c_recovery_alloc_stripe()
/linux-6.1.9/net/unix/
Daf_unix.c2707 int noblock = flags & MSG_DONTWAIT; in unix_stream_read_generic() local
2730 timeo = sock_rcvtimeo(sk, noblock); in unix_stream_read_generic()
/linux-6.1.9/net/core/
Dsock.c2690 unsigned long data_len, int noblock, in sock_alloc_send_pskb() argument
2697 timeo = sock_sndtimeo(sk, noblock); in sock_alloc_send_pskb()
/linux-6.1.9/net/packet/
Daf_packet.c2911 size_t linear, int noblock, in packet_alloc_skb() argument
2920 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in packet_alloc_skb()
/linux-6.1.9/Documentation/trace/
Dftrace.rst1029 noblock