Home
last modified time | relevance | path

Searched refs:uarg_zc (Results 1 – 2 of 2) sorted by relevance

/linux/net/core/
H A Dskbuff.c1768 struct ubuf_info_msgzc *uarg_zc; in msg_zerocopy_realloc() local
1784 uarg_zc = uarg_to_msgzc(uarg); in msg_zerocopy_realloc()
1785 bytelen = uarg_zc->bytelen + size; in msg_zerocopy_realloc()
1786 if (uarg_zc->len == USHRT_MAX - 1 || bytelen > byte_limit) { in msg_zerocopy_realloc()
1794 if ((u32)(uarg_zc->id + uarg_zc->len) == next) { in msg_zerocopy_realloc()
1796 mm_account_pinned_pages(&uarg_zc->mmp, size)) in msg_zerocopy_realloc()
1798 uarg_zc->len++; in msg_zerocopy_realloc()
1799 uarg_zc->bytelen = bytelen; in msg_zerocopy_realloc()
1888 struct ubuf_info_msgzc *uarg_zc = uarg_to_msgzc(uarg); in msg_zerocopy_complete() local
1890 uarg_zc->zerocopy = uarg_zc->zerocopy & success; in msg_zerocopy_complete()
[all …]
/linux/net/vmw_vsock/
H A Dvirtio_transport_common.c87 struct ubuf_info_msgzc *uarg_zc; in virtio_transport_init_zcopy_skb() local
95 uarg_zc = uarg_to_msgzc(uarg); in virtio_transport_init_zcopy_skb()
96 uarg_zc->zerocopy = zerocopy ? 1 : 0; in virtio_transport_init_zcopy_skb()