Searched refs:free_list_cnt (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-6.6/net/xdp/ |
H A D | xsk_buff_pool.c | 531 if (!pool->free_list_cnt) { in xp_alloc() 536 pool->free_list_cnt--; in xp_alloc() 603 nb_entries = min_t(u32, nb_entries, pool->free_list_cnt); in xp_alloc_reused() 613 pool->free_list_cnt -= nb_entries; in xp_alloc_reused() 632 if (unlikely(pool->free_list_cnt)) { in xp_alloc_batch() 651 if (pool->free_list_cnt >= count) in xp_can_alloc() 653 return xskq_cons_has_entries(pool->fq, count - pool->free_list_cnt); in xp_can_alloc() 662 xskb->pool->free_list_cnt++; in xp_free()
|
/kernel/linux/linux-5.10/net/xdp/ |
H A D | xsk_buff_pool.c | 496 if (!pool->free_list_cnt) { in xp_alloc() 501 pool->free_list_cnt--; in xp_alloc() 521 if (pool->free_list_cnt >= count) in xp_can_alloc() 523 return xskq_cons_has_entries(pool->fq, count - pool->free_list_cnt); in xp_can_alloc() 529 xskb->pool->free_list_cnt++; in xp_free()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | xsk_buff_pool.h | 65 u32 free_list_cnt; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | xsk_buff_pool.h | 73 u32 free_list_cnt; member
|
/kernel/linux/linux-5.10/drivers/scsi/qedf/ |
H A D | qedf_io.c | 291 atomic_set(&cmgr->free_list_cnt, num_ios); in qedf_cmd_mgr_alloc() 293 "cmgr->free_list_cnt=%d.\n", in qedf_cmd_mgr_alloc() 294 atomic_read(&cmgr->free_list_cnt)); in qedf_cmd_mgr_alloc() 333 if (atomic_read(&cmd_mgr->free_list_cnt) <= GBL_RSVD_TASKS) { in qedf_alloc_cmd() 335 "Returning NULL, free_list_cnt=%d.\n", in qedf_alloc_cmd() 336 atomic_read(&cmd_mgr->free_list_cnt)); in qedf_alloc_cmd() 370 atomic_dec(&cmd_mgr->free_list_cnt); in qedf_alloc_cmd() 456 atomic_inc(&cmd_mgr->free_list_cnt); in qedf_release_cmd()
|
H A D | qedf.h | 441 atomic_t free_list_cnt; member
|
H A D | qedf_debugfs.c | 352 atomic_read(&qedf->cmd_mgr->free_list_cnt)); in qedf_driver_stats_show()
|
/kernel/linux/linux-6.6/drivers/scsi/qedf/ |
H A D | qedf_io.c | 286 atomic_set(&cmgr->free_list_cnt, num_ios); in qedf_cmd_mgr_alloc() 288 "cmgr->free_list_cnt=%d.\n", 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() 330 "Returning NULL, free_list_cnt=%d.\n", 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 D | qedf_debugfs.c | 352 atomic_read(&qedf->cmd_mgr->free_list_cnt)); in qedf_driver_stats_show()
|
H A D | qedf.h | 447 atomic_t free_list_cnt; member
|
Completed in 14 milliseconds