Searched refs:pp_magic (Results 1 – 4 of 4) sorted by relevance
8 return netmem_to_nmdesc(netmem)->pp_magic & ~PP_DMA_INDEX_MASK; in netmem_get_pp_magic()11 static inline void netmem_or_pp_magic(netmem_ref netmem, unsigned long pp_magic) in netmem_or_pp_magic() argument13 netmem_to_nmdesc(netmem)->pp_magic |= pp_magic; in netmem_or_pp_magic()18 WARN_ON_ONCE(netmem_to_nmdesc(netmem)->pp_magic & PP_DMA_INDEX_MASK); in netmem_clear_pp_magic()20 netmem_to_nmdesc(netmem)->pp_magic = 0; in netmem_clear_pp_magic()46 magic = netmem_to_nmdesc(netmem)->pp_magic; in netmem_get_dma_index()60 netmem_to_nmdesc(netmem)->pp_magic = magic; in netmem_set_dma_index()
105 niov->desc.pp_magic = 0; in net_devmem_alloc_dmabuf()
34 unsigned long pp_magic; member45 NETMEM_DESC_ASSERT_OFFSET(pp_magic, pp_magic);
5195 * stashes it in the upper bits of page->pp_magic. We always want to be able to5197 * pages can have arbitrary kernel pointers stored in the same field as pp_magic5233 /* Mask used for checking in page_pool_page_is_pp() below. page->pp_magic is5244 return (page->pp_magic & PP_MAGIC_MASK) == PP_SIGNATURE;