Home
last modified time | relevance | path

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

/openbmc/linux/net/xdp/
H A Dxsk_buff_pool.c530 if (!pool->free_list_cnt) { in xp_alloc()
535 pool->free_list_cnt--; in xp_alloc()
602 nb_entries = min_t(u32, nb_entries, pool->free_list_cnt); in xp_alloc_reused()
612 pool->free_list_cnt -= nb_entries; in xp_alloc_reused()
631 if (unlikely(pool->free_list_cnt)) { in xp_alloc_batch()
650 if (pool->free_list_cnt >= count) in xp_can_alloc()
652 return xskq_cons_has_entries(pool->fq, count - pool->free_list_cnt); in xp_can_alloc()
661 xskb->pool->free_list_cnt++; in xp_free()
/openbmc/linux/include/net/
H A Dxsk_buff_pool.h73 u32 free_list_cnt; member
/openbmc/linux/drivers/scsi/qedf/
H A 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()
H A Dqedf_debugfs.c352 atomic_read(&qedf->cmd_mgr->free_list_cnt)); in qedf_driver_stats_show()
H A Dqedf.h448 atomic_t free_list_cnt; member