Searched refs:zc (Results 1 – 6 of 6) sorted by relevance
/net/ipv4/ |
D | tcp.c | 1216 bool zc = false; in tcp_sendmsg_locked() local 1229 zc = sk->sk_route_caps & NETIF_F_SG; in tcp_sendmsg_locked() 1230 if (!zc) in tcp_sendmsg_locked() 1336 if (!zc) { in tcp_sendmsg_locked() 1830 struct tcp_zerocopy_receive *zc, in tcp_zerocopy_set_hint_for_skb() argument 1838 zc->recv_skip_hint = skb->len - offset; in tcp_zerocopy_set_hint_for_skb() 1854 zc->recv_skip_hint -= partial_frag_remainder; in tcp_zerocopy_set_hint_for_skb() 1862 mappable_offset = find_next_mappable_frag(frag, zc->recv_skip_hint); in tcp_zerocopy_set_hint_for_skb() 1863 zc->recv_skip_hint = mappable_offset + partial_frag_remainder; in tcp_zerocopy_set_hint_for_skb() 1871 struct tcp_zerocopy_receive *zc, int inq, in receive_fallback_to_copy() argument [all …]
|
/net/tls/ |
D | tls_sw.c | 1418 int *chunk, bool *zc, bool async) in decrypt_internal() argument 1434 if (*zc && (out_iov || out_sg)) { in decrypt_internal() 1443 *zc = false; in decrypt_internal() 1535 *zc = false; in decrypt_internal() 1553 struct iov_iter *dest, int *chunk, bool *zc, in decrypt_skb_update() argument 1571 err = decrypt_internal(sk, skb, dest, NULL, chunk, zc, in decrypt_skb_update() 1583 *zc = false; in decrypt_skb_update() 1597 *zc = false; in decrypt_skb_update() 1606 bool zc = true; in decrypt_skb() local 1609 return decrypt_internal(sk, skb, NULL, sgout, &chunk, &zc, false); in decrypt_skb() [all …]
|
/net/xdp/ |
D | xsk.c | 622 if (xs->zc) in xsk_xmit() 660 if (xs->zc && xsk_no_wakeup(sk)) in __xsk_sendmsg() 701 if (xs->pool->cached_need_wakeup & XDP_WAKEUP_RX && xs->zc) in __xsk_recvmsg() 736 if (xs->zc) in xsk_poll() 1024 xs->zc = xs->umem->zc; in xsk_bind() 1278 if (xs->zc) in xsk_getsockopt()
|
D | xsk_buff_pool.c | 110 if (pool->umem->zc) { in xp_disable_drv_zc() 179 pool->umem->zc = true; in xp_assign_dev() 204 flags = umem->zc ? XDP_ZEROCOPY : XDP_COPY; in xp_assign_dev_shared()
|
D | xdp_umem.c | 59 umem->zc = false; in xdp_umem_release()
|
D | xsk_diag.c | 65 if (umem->zc) in xsk_diag_put_umem()
|