Home
last modified time | relevance | path

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

/linux-6.15/include/net/
H A Dnetmem.h29 atomic_long_t pp_ref_count; member
63 NET_IOV_ASSERT_OFFSET(pp_ref_count, pp_ref_count);
199 return &__netmem_clear_lsb(netmem)->pp_ref_count; in netmem_get_pp_ref_count_ref()
/linux-6.15/include/net/page_pool/
H A Dhelpers.h260 atomic_long_t *pp_ref_count = netmem_get_pp_ref_count_ref(netmem); in page_pool_unref_netmem() local
277 if (atomic_long_read(pp_ref_count) == nr) { in page_pool_unref_netmem()
284 atomic_long_set(pp_ref_count, 1); in page_pool_unref_netmem()
289 ret = atomic_long_sub_return(nr, pp_ref_count); in page_pool_unref_netmem()
298 atomic_long_set(pp_ref_count, 1); in page_pool_unref_netmem()
/linux-6.15/net/core/
H A Ddevmem.c97 atomic_long_set(&niov->pp_ref_count, 0); in net_devmem_alloc_dmabuf()
/linux-6.15/include/linux/
H A Dmm_types.h131 atomic_long_t pp_ref_count; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c465 atomic_long_read(&page->pp_ref_count) != 1 || in mlx4_en_complete_rx_desc()
/linux-6.15/net/ipv4/
H A Dtcp.c2539 atomic_long_inc(&niov->pp_ref_count); in tcp_recvmsg_dmabuf()