Searched refs:pp_magic (Results 1 – 5 of 5) 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);106 unsigned long pp_magic; member139 NET_IOV_ASSERT_OFFSET(pp_magic, pp_magic);
122 unsigned long pp_magic; member
4869 return (page->pp_magic & PP_MAGIC_MASK) == PP_SIGNATURE; in page_pool_page_is_pp()