Home
last modified time | relevance | path

Searched refs:free_list_cnt (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/net/xdp/
Dxsk_buff_pool.c516 if (!pool->free_list_cnt) { in xp_alloc()
521 pool->free_list_cnt--; in xp_alloc()
587 nb_entries = min_t(u32, nb_entries, pool->free_list_cnt); in xp_alloc_reused()
597 pool->free_list_cnt -= nb_entries; in xp_alloc_reused()
616 if (unlikely(pool->free_list_cnt)) { in xp_alloc_batch()
635 if (pool->free_list_cnt >= count) in xp_can_alloc()
637 return xskq_cons_has_entries(pool->fq, count - pool->free_list_cnt); in xp_can_alloc()
646 xskb->pool->free_list_cnt++; in xp_free()
/linux-5.19.10/include/net/
Dxsk_buff_pool.h66 u32 free_list_cnt; member
/linux-5.19.10/drivers/scsi/qedf/
Dqedf_io.c286 atomic_set(&cmgr->free_list_cnt, num_ios); in qedf_cmd_mgr_alloc()
289 atomic_read(&cmgr->free_list_cnt)); in qedf_cmd_mgr_alloc()
328 if (atomic_read(&cmd_mgr->free_list_cnt) <= GBL_RSVD_TASKS) { in qedf_alloc_cmd()
331 atomic_read(&cmd_mgr->free_list_cnt)); in qedf_alloc_cmd()
365 atomic_dec(&cmd_mgr->free_list_cnt); in qedf_alloc_cmd()
451 atomic_inc(&cmd_mgr->free_list_cnt); in qedf_release_cmd()
Dqedf_debugfs.c345 atomic_read(&qedf->cmd_mgr->free_list_cnt)); in qedf_driver_stats_show()
Dqedf.h447 atomic_t free_list_cnt; member