Lines Matching refs:user
46 if (!pool || hlist_unhashed(&pool->user.list) || in netdev_nl_page_pool_get_do()
92 hlist_for_each_entry(pool, &netdev->page_pools, user.list) { in netdev_nl_page_pool_get_dump()
93 if (state->pp_id && state->pp_id < pool->user.id) in netdev_nl_page_pool_get_dump()
96 state->pp_id = pool->user.id; in netdev_nl_page_pool_get_dump()
129 if (nla_put_uint(rsp, NETDEV_A_PAGE_POOL_ID, pool->user.id) || in page_pool_nl_stats_fill()
225 if (nla_put_uint(rsp, NETDEV_A_PAGE_POOL_ID, pool->user.id)) in page_pool_nl_fill()
232 if (pool->user.napi_id && in page_pool_nl_fill()
233 nla_put_uint(rsp, NETDEV_A_PAGE_POOL_NAPI_ID, pool->user.napi_id)) in page_pool_nl_fill()
242 if (pool->user.detach_time && in page_pool_nl_fill()
244 pool->user.detach_time)) in page_pool_nl_fill()
267 if (hlist_unhashed(&pool->user.list)) in netdev_nl_page_pool_event()
313 err = xa_alloc_cyclic(&page_pools, &pool->user.id, pool, xa_limit_32b, in page_pool_list()
318 INIT_HLIST_NODE(&pool->user.list); in page_pool_list()
320 hlist_add_head(&pool->user.list, in page_pool_list()
322 pool->user.napi_id = pool->p.napi ? pool->p.napi->napi_id : 0; in page_pool_list()
338 pool->user.detach_time = ktime_get_boottime_seconds(); in page_pool_detached()
347 xa_erase(&page_pools, pool->user.id); in page_pool_unlist()
348 if (!hlist_unhashed(&pool->user.list)) in page_pool_unlist()
349 hlist_del(&pool->user.list); in page_pool_unlist()
364 hlist_for_each_entry_safe(pool, n, &dev->page_pools, user.list) { in page_pool_check_memory_provider()
383 hlist_for_each_entry_safe(pool, n, &netdev->page_pools, user.list) { in page_pool_unreg_netdev_wipe()
384 hlist_del_init(&pool->user.list); in page_pool_unreg_netdev_wipe()
399 hlist_for_each_entry(pool, &netdev->page_pools, user.list) { in page_pool_unreg_netdev()
406 hlist_splice_init(&netdev->page_pools, &last->user.list, in page_pool_unreg_netdev()