Lines Matching refs:noblock
1500 size_t linear, int noblock) in tun_alloc_skb() argument
1510 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tun_alloc_skb()
1564 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument
1572 if (!noblock) in tun_can_build_skb()
1724 int noblock, bool more) in tun_get_user() argument
1792 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user()
1823 noblock); in tun_get_user()
2011 int noblock = 0; in tun_chr_write_iter() local
2017 noblock = 1; in tun_chr_write_iter()
2019 result = tun_get_user(tun, tfile, NULL, from, noblock, false); in tun_chr_write_iter()
2146 static void *tun_ring_recv(struct tun_file *tfile, int noblock, int *err) in tun_ring_recv() argument
2155 if (noblock) { in tun_ring_recv()
2189 int noblock, void *ptr) in tun_do_read() argument
2201 ptr = tun_ring_recv(tfile, noblock, &err); in tun_do_read()
2230 int noblock = 0; in tun_chr_read_iter() local
2236 noblock = 1; in tun_chr_read_iter()
2238 ret = tun_do_read(tun, tfile, to, noblock, NULL); in tun_chr_read_iter()