Home
last modified time | relevance | path

Searched refs:page_link (Results 1 – 7 of 7) 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 in sg_chain()
[all...]
/linux/include/linux/
H A Dscatterlist.h12 unsigned long page_link; member
54 * We use the unsigned long page_link field in the scatterlist struct to place
58 * If bit 0 is set, then the page_link contains a pointer to the next sg
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()
131 unsigned long page_link = sg->page_link & (SG_CHAIN | SG_END); in sg_assign_page() local
141 sg->page_link = page_link | (unsigned long) page; in sg_assign_page()
195 return (struct page *)((sg)->page_link in sg_page()
[all...]
/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/net/ipv4/
H A Dtcp_bpf.c488 msg->sg.data[msg->sg.start].page_link && in tcp_bpf_send_verdict()
/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c69 sg->page_link = (unsigned long)virt_to_page(addr); in __sg_set_buf()
102 e->cur->page_link = in __i915_error_grow()
/linux/crypto/
H A Dtestmgr.c729 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()