Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/lib/
Drheap.c86 info->empty_slots += new_blocks; in grow()
112 if (info->empty_slots >= slots) in assure_empty()
127 if (info->empty_slots == 0) { in get_slot()
135 info->empty_slots--; in get_slot()
148 info->empty_slots++; in release_slot()
270 info->empty_slots = 0; in rh_create()
315 info->empty_slots = max_blocks; in rh_init()
714 info, info->empty_slots, info->max_blocks); in rh_dump()
/linux-6.1.9/drivers/misc/mei/
Dhw-me.c546 unsigned char filled_slots, empty_slots; in mei_me_hbuf_empty_slots() local
549 empty_slots = hw->hbuf_depth - filled_slots; in mei_me_hbuf_empty_slots()
555 return empty_slots; in mei_me_hbuf_empty_slots()
591 int empty_slots; in mei_me_hbuf_write() local
598 empty_slots = mei_hbuf_empty_slots(dev); in mei_me_hbuf_write()
599 dev_dbg(dev->dev, "empty slots = %d.\n", empty_slots); in mei_me_hbuf_write()
601 if (empty_slots < 0) in mei_me_hbuf_write()
605 if (dw_cnt > (u32)empty_slots) in mei_me_hbuf_write()
/linux-6.1.9/arch/powerpc/include/asm/
Drheap.h29 int empty_slots; member
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_calendar.c286 u32 num_of_slots, slot_spd, empty_slots; in sparx5_dsm_calendar_calc() local
387 empty_slots = num_of_slots - sum; in sparx5_dsm_calendar_calc()
389 for (idx = 0; idx < empty_slots; idx++) in sparx5_dsm_calendar_calc()
/linux-6.1.9/drivers/net/ethernet/nvidia/
Dforcedeth.c2216 u32 empty_slots; in nv_start_xmit() local
2234 empty_slots = nv_get_empty_tx_slots(np); in nv_start_xmit()
2235 if (unlikely(empty_slots <= entries)) { in nv_start_xmit()
2390 u32 empty_slots; in nv_start_xmit_optimized() local
2409 empty_slots = nv_get_empty_tx_slots(np); in nv_start_xmit_optimized()
2410 if (unlikely(empty_slots <= entries)) { in nv_start_xmit_optimized()