Lines Matching refs:netmem_ref

155 typedef unsigned long __bitwise netmem_ref;  typedef
157 static inline bool netmem_is_net_iov(const netmem_ref netmem) in netmem_is_net_iov()
173 static inline struct page *__netmem_to_page(netmem_ref netmem) in __netmem_to_page()
178 static inline struct page *netmem_to_page(netmem_ref netmem) in netmem_to_page()
186 static inline struct net_iov *netmem_to_net_iov(netmem_ref netmem) in netmem_to_net_iov()
196 static inline netmem_ref net_iov_to_netmem(struct net_iov *niov) in net_iov_to_netmem()
198 return (__force netmem_ref)((unsigned long)niov | NET_IOV); in net_iov_to_netmem()
202 const struct page * : (__force const netmem_ref)(p), \
203 struct page * : (__force netmem_ref)(p)))
211 static inline netmem_ref virt_to_netmem(const void *data) in virt_to_netmem()
216 static inline int netmem_ref_count(netmem_ref netmem) in netmem_ref_count()
227 static inline unsigned long netmem_pfn_trace(netmem_ref netmem) in netmem_pfn_trace()
265 static inline struct netmem_desc *__netmem_to_nmdesc(netmem_ref netmem) in __netmem_to_nmdesc()
280 static inline struct netmem_desc *netmem_to_nmdesc(netmem_ref netmem) in netmem_to_nmdesc()
301 static inline struct page_pool *__netmem_get_pp(netmem_ref netmem) in __netmem_get_pp()
306 static inline struct page_pool *netmem_get_pp(netmem_ref netmem) in netmem_get_pp()
311 static inline atomic_long_t *netmem_get_pp_ref_count_ref(netmem_ref netmem) in netmem_get_pp_ref_count_ref()
316 static inline bool netmem_is_pref_nid(netmem_ref netmem, int pref_nid) in netmem_is_pref_nid()
328 static inline netmem_ref netmem_compound_head(netmem_ref netmem) in netmem_compound_head()
348 static inline void *__netmem_address(netmem_ref netmem) in __netmem_address()
353 static inline void *netmem_address(netmem_ref netmem) in netmem_address()
368 static inline bool netmem_is_pfmemalloc(netmem_ref netmem) in netmem_is_pfmemalloc()
376 static inline unsigned long netmem_get_dma_addr(netmem_ref netmem) in netmem_get_dma_addr()
393 void __get_netmem(netmem_ref netmem);
394 void __put_netmem(netmem_ref netmem);
396 static __always_inline void get_netmem(netmem_ref netmem) in get_netmem()
404 static __always_inline void put_netmem(netmem_ref netmem) in put_netmem()