Home
last modified time | relevance | path

Searched refs:pp_ref_count (Results 1 – 6 of 6) sorted by relevance

/linux/include/net/
H A Dnetmem.h38 atomic_long_t pp_ref_count; member
49 NETMEM_DESC_ASSERT_OFFSET(pp_ref_count, pp_ref_count);
110 atomic_long_t pp_ref_count; member
143 NET_IOV_ASSERT_OFFSET(pp_ref_count, pp_ref_count);
324 return &netmem_to_nmdesc(netmem)->pp_ref_count; in netmem_get_pp_ref_count_ref()
/linux/include/net/page_pool/
H A Dhelpers.h267 atomic_long_t *pp_ref_count = netmem_get_pp_ref_count_ref(netmem); in page_pool_unref_netmem() local
284 if (atomic_long_read(pp_ref_count) == nr) { in page_pool_unref_netmem()
291 atomic_long_set(pp_ref_count, 1); in page_pool_unref_netmem()
296 ret = atomic_long_sub_return(nr, pp_ref_count); in page_pool_unref_netmem()
305 atomic_long_set(pp_ref_count, 1); in page_pool_unref_netmem()
/linux/net/core/
H A Ddevmem.c107 atomic_long_set(&niov->desc.pp_ref_count, 0); in net_devmem_alloc_dmabuf()
/linux/include/linux/
H A Dmm_types.h126 atomic_long_t pp_ref_count; member
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c469 atomic_long_read(&desc->pp_ref_count) != 1 || in mlx4_en_complete_rx_desc()
/linux/net/ipv4/
H A Dtcp.c2643 atomic_long_inc(&niov->desc.pp_ref_count); in tcp_recvmsg_dmabuf()