Home
last modified time | relevance | path

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

/linux/net/xdp/
H A Dxsk_buff_pool.c587 if (!pool->free_list_cnt) { in xp_alloc()
592 pool->free_list_cnt--; in xp_alloc()
650 nb_entries = min_t(u32, nb_entries, pool->free_list_cnt); in xp_alloc_reused()
660 pool->free_list_cnt -= nb_entries; in xp_alloc_reused()
690 if (unlikely(pool->free_list_cnt)) { in xp_alloc_batch()
711 if (pool->free_list_cnt >= count) in xp_can_alloc()
714 req_count = count - pool->free_list_cnt; in xp_can_alloc()
728 xskb->pool->free_list_cnt++; in xp_free()
/linux/include/net/
H A Dxsk_buff_pool.h74 u32 free_list_cnt; member
/linux/drivers/scsi/qedf/
H A Dqedf_io.c282 atomic_set(&cmgr->free_list_cnt, num_ios); in qedf_cmd_mgr_alloc()
285 atomic_read(&cmgr->free_list_cnt)); in qedf_cmd_mgr_alloc()
324 if (atomic_read(&cmd_mgr->free_list_cnt) <= GBL_RSVD_TASKS) { in qedf_alloc_cmd()
327 atomic_read(&cmd_mgr->free_list_cnt)); in qedf_alloc_cmd()
361 atomic_dec(&cmd_mgr->free_list_cnt); in qedf_alloc_cmd()
447 atomic_inc(&cmd_mgr->free_list_cnt); in qedf_release_cmd()
H A Dqedf_debugfs.c352 atomic_read(&qedf->cmd_mgr->free_list_cnt)); in qedf_driver_stats_show()