Home
last modified time | relevance | path

Searched refs:page_link (Results 1 – 10 of 10) sorted by relevance

/linux/tools/virtio/linux/
H A Dscatterlist.h8 unsigned long page_link; member
15 #define sg_is_chain(sg) ((sg)->page_link & 0x01)
16 #define sg_is_last(sg) ((sg)->page_link & 0x02)
18 ((struct scatterlist *) ((sg)->page_link & ~0x03))
32 unsigned long page_link = sg->page_link & 0x3; in sg_assign_page() local
42 sg->page_link = page_link | (unsigned long) page; in sg_assign_page()
72 return (struct page *)((sg)->page_link & ~0x3); in sg_page()
104 prv[prv_nents - 1].page_link = ((unsigned long) sgl | 0x01) & ~0x02; in sg_chain()
121 sg->page_link |= 0x02; in sg_mark_end()
122 sg->page_link &= ~0x01; in sg_mark_end()
[all …]
/linux/include/linux/
H A Dscatterlist.h12 unsigned long page_link; member
79 return sg->page_link & SG_PAGE_LINK_MASK; in __sg_flags()
84 return (struct scatterlist *)(sg->page_link & ~SG_PAGE_LINK_MASK); in sg_chain_ptr()
109 unsigned long page_link = sg->page_link & (SG_CHAIN | SG_END); in sg_assign_page() local
119 sg->page_link = page_link | (unsigned long) page; in sg_assign_page()
173 return (struct page *)((sg)->page_link & ~SG_PAGE_LINK_MASK); in sg_page()
225 chain_sg->page_link = ((unsigned long) sgl | SG_CHAIN) & ~SG_END; in __sg_chain()
258 sg->page_link |= SG_END; in sg_mark_end()
259 sg->page_link &= ~SG_CHAIN; in sg_mark_end()
272 sg->page_link &= ~SG_END; in sg_unmark_end()
/linux/tools/testing/selftests/bpf/progs/
H A Dloop6.c30 unsigned long page_link; member
35 #define sg_is_chain(sg) ((sg)->page_link & SG_CHAIN)
36 #define sg_is_last(sg) ((sg)->page_link & SG_END)
38 ((struct scatterlist *) ((sg)->page_link & ~(SG_CHAIN | SG_END)))
/linux/fs/bcachefs/
H A Dchecksum.c135 .page_link = (unsigned long) vmalloc_to_page(buf), in do_encrypt()
347 .page_link = (unsigned long) bv.bv_page, in __bch2_encrypt_bio()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c184 if (sgt->sgl->page_link) { in amdgpu_dma_buf_unmap()
/linux/net/ipv4/
H A Dtcp_bpf.c486 msg->sg.data[msg->sg.start].page_link && in tcp_bpf_send_verdict()
/linux/drivers/dma-buf/
H A Ddma-buf.c787 sg->page_link ^= ~0xffUL; in mangle_sg_table()
/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c70 sg->page_link = (unsigned long)virt_to_page(addr); in __sg_set_buf()
103 e->cur->page_link = in __i915_error_grow()
/linux/crypto/
H A Dtestmgr.c723 if (tsgl->sgl[i].page_link != tsgl->sgl_saved[i].page_link) in is_test_sglist_corrupted()
/linux/net/core/
H A Dfilter.c2748 msg->sg.data[move_from].page_link = 0; in BPF_CALL_4()