Home
last modified time | relevance | path

Searched defs:sg (Results 1 – 2 of 2) sorted by relevance

/tools/virtio/linux/
Dscatterlist.h14 #define sg_is_chain(sg) ((sg)->page_link & 0x01) argument
15 #define sg_is_last(sg) ((sg)->page_link & 0x02) argument
16 #define sg_chain_ptr(sg) \ argument
29 static inline void sg_assign_page(struct scatterlist *sg, struct page *page) in sg_assign_page()
58 static inline void sg_set_page(struct scatterlist *sg, struct page *page, in sg_set_page()
66 static inline struct page *sg_page(struct scatterlist *sg) in sg_page()
77 #define for_each_sg(sglist, sg, nr, __i) \ argument
115 static inline void sg_mark_end(struct scatterlist *sg) in sg_mark_end()
132 static inline void sg_unmark_end(struct scatterlist *sg) in sg_unmark_end()
137 static inline struct scatterlist *sg_next(struct scatterlist *sg) in sg_next()
[all …]
/tools/virtio/
Dvringh_test.c328 struct scatterlist sg[4]; in parallel_test() local