Home
last modified time | relevance | path

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

/linux/net/xdp/
H A Dxsk_buff_pool.c579 if (!pool->free_list_cnt) { in xp_alloc()
584 pool->free_list_cnt--; in xp_alloc()
642 nb_entries = min_t(u32, nb_entries, pool->free_list_cnt); in xp_alloc_reused()
652 pool->free_list_cnt -= nb_entries; in xp_alloc_reused()
682 if (unlikely(pool->free_list_cnt)) { in xp_alloc_batch()
703 if (pool->free_list_cnt >= count) in xp_can_alloc()
706 req_count = count - pool->free_list_cnt; in xp_can_alloc()
720 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()
H A Dqedf.h449 atomic_t free_list_cnt; member