Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dloop6.c27 #define SG_END 0x02UL macro
36 #define sg_is_last(sg) ((sg)->page_link & SG_END)
38 ((struct scatterlist *) ((sg)->page_link & ~(SG_CHAIN | SG_END)))
/openbmc/linux/include/linux/
H A Dscatterlist.h68 #define SG_END 0x02UL macro
75 #define SG_PAGE_LINK_MASK (SG_CHAIN | SG_END)
94 return __sg_flags(sg) & SG_END; in sg_is_last()
109 unsigned long page_link = sg->page_link & (SG_CHAIN | SG_END); in sg_assign_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()
272 sg->page_link &= ~SG_END; in sg_unmark_end()