Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/virtio/linux/
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 …]
/kernel/linux/linux-5.10/include/linux/
Dscatterlist.h12 unsigned long page_link; member
72 #define sg_is_chain(sg) ((sg)->page_link & SG_CHAIN)
73 #define sg_is_last(sg) ((sg)->page_link & SG_END)
75 ((struct scatterlist *) ((sg)->page_link & ~(SG_CHAIN | SG_END)))
89 unsigned long page_link = sg->page_link & (SG_CHAIN | SG_END); in sg_assign_page() local
99 sg->page_link = page_link | (unsigned long) page; in sg_assign_page()
129 return (struct page *)((sg)->page_link & ~(SG_CHAIN | SG_END)); in sg_page()
181 chain_sg->page_link = ((unsigned long) sgl | SG_CHAIN) & ~SG_END; in __sg_chain()
214 sg->page_link |= SG_END; in sg_mark_end()
215 sg->page_link &= ~SG_CHAIN; in sg_mark_end()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dma_buf.c365 if (sgt->sgl->page_link) { in amdgpu_dma_buf_unmap()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_bpf.c419 msg->sg.data[msg->sg.start].page_link && in tcp_bpf_send_verdict()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_gpu_error.c59 sg->page_link = (unsigned long)virt_to_page(addr); in __sg_set_buf()
92 e->cur->page_link = in __i915_error_grow()
/kernel/linux/linux-5.10/crypto/
Dtestmgr.c692 if (tsgl->sgl[i].page_link != tsgl->sgl_saved[i].page_link) in is_test_sglist_corrupted()
/kernel/linux/linux-5.10/net/core/
Dfilter.c2708 msg->sg.data[move_from].page_link = 0; in BPF_CALL_4()