Home
last modified time | relevance | path

Searched refs:pp_magic (Results 1 – 4 of 4) sorted by relevance

/linux/net/core/
H A Dnetmem_priv.h8 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() argument
13 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()
H A Ddevmem.c105 niov->desc.pp_magic = 0; in net_devmem_alloc_dmabuf()
/linux/include/net/
H A Dnetmem.h34 unsigned long pp_magic; member
45 NETMEM_DESC_ASSERT_OFFSET(pp_magic, pp_magic);
/linux/include/linux/
H A Dmm.h5195 * stashes it in the upper bits of page->pp_magic. We always want to be able to
5197 * pages can have arbitrary kernel pointers stored in the same field as pp_magic
5233 /* Mask used for checking in page_pool_page_is_pp() below. page->pp_magic is
5244 return (page->pp_magic & PP_MAGIC_MASK) == PP_SIGNATURE;