Lines Matching refs:page
15 * A netmem_ref currently is always a reference to a struct page. This
22 /* This conversion fails (returns NULL) if the netmem_ref is not struct page
25 * Currently struct page is the only possible netmem, and this helper never
28 static inline struct page *netmem_to_page(netmem_ref netmem)
30 return (__force struct page *)netmem;
33 /* Converting from page to netmem is always safe, because a page can always be
36 static inline netmem_ref page_to_netmem(struct page *page)
38 return (__force netmem_ref)page;