Searched refs:zc (Results 1 – 5 of 5) sorted by relevance
/net/ipv4/ |
D | tcp.c | 1187 bool zc = false; in tcp_sendmsg_locked() local 1200 zc = sk->sk_route_caps & NETIF_F_SG; in tcp_sendmsg_locked() 1201 if (!zc) in tcp_sendmsg_locked() 1308 if (skb_availroom(skb) > 0 && !zc) { in tcp_sendmsg_locked() 1314 } else if (!zc) { in tcp_sendmsg_locked() 1739 struct tcp_zerocopy_receive *zc) in tcp_zerocopy_receive() argument 1741 unsigned long address = (unsigned long)zc->address; in tcp_zerocopy_receive() 1750 if (address & (PAGE_SIZE - 1) || address != zc->address) in tcp_zerocopy_receive() 1764 zc->length = min_t(unsigned long, zc->length, vma->vm_end - address); in tcp_zerocopy_receive() 1769 zc->length = min_t(u32, zc->length, inq); in tcp_zerocopy_receive() [all …]
|
/net/tls/ |
D | tls_sw.c | 1377 int *chunk, bool *zc, bool async) in decrypt_internal() argument 1393 if (*zc && (out_iov || out_sg)) { in decrypt_internal() 1402 *zc = false; in decrypt_internal() 1494 *zc = false; in decrypt_internal() 1512 struct iov_iter *dest, int *chunk, bool *zc, in decrypt_skb_update() argument 1530 err = decrypt_internal(sk, skb, dest, NULL, chunk, zc, in decrypt_skb_update() 1540 *zc = false; in decrypt_skb_update() 1554 *zc = false; in decrypt_skb_update() 1563 bool zc = true; in decrypt_skb() local 1566 return decrypt_internal(sk, skb, NULL, sgout, &chunk, &zc, false); in decrypt_skb() [all …]
|
/net/xdp/ |
D | xdp_umem.c | 143 umem->zc = true; in xdp_umem_assign_dev() 164 if (umem->zc) { in xdp_umem_clear_dev() 179 umem->zc = false; in xdp_umem_clear_dev()
|
D | xsk.c | 413 return xs->zc ? xsk_zc_xmit(xs) : xsk_generic_xmit(sk); in __xsk_sendmsg() 444 if (xs->zc) in xsk_poll() 704 xs->zc = xs->umem->zc; in xsk_bind() 942 if (xs->zc) in xsk_getsockopt()
|
D | xsk_diag.c | 64 if (umem->zc) in xsk_diag_put_umem()
|