/kernel/linux/linux-5.10/mm/ |
H A D | swap_slots.c | 170 bool free_slots) in drain_slots_cache_cpu() 181 if (free_slots && cache->slots) { in drain_slots_cache_cpu() 191 if (free_slots && cache->slots_ret) { in drain_slots_cache_cpu() 169 drain_slots_cache_cpu(unsigned int cpu, unsigned int type, bool free_slots) drain_slots_cache_cpu() argument
|
/kernel/linux/linux-6.6/mm/ |
H A D | swap_slots.c | 169 bool free_slots) in drain_slots_cache_cpu() 180 if (free_slots && cache->slots) { in drain_slots_cache_cpu() 190 if (free_slots && cache->slots_ret) { in drain_slots_cache_cpu() 168 drain_slots_cache_cpu(unsigned int cpu, unsigned int type, bool free_slots) drain_slots_cache_cpu() argument
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | mv_xor.c | 224 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_chan_clean_completed_slots() 227 &mv_chan->free_slots); in mv_chan_clean_completed_slots() 252 list_move_tail(&desc->node, &mv_chan->free_slots); in mv_desc_clean_slot() 255 &mv_chan->free_slots); in mv_desc_clean_slot() 355 if (!list_empty(&mv_chan->free_slots)) { in mv_chan_alloc_slot() 356 iter = list_first_entry(&mv_chan->free_slots, in mv_chan_alloc_slot() 466 list_add_tail(&slot->node, &mv_chan->free_slots); in mv_xor_alloc_chan_resources() 640 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() 645 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() 650 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() [all...] |
H A D | mv_xor.h | 95 * @free_slots: free slots usable by the channel 112 struct list_head free_slots; member
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | mv_xor.c | 224 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_chan_clean_completed_slots() 227 &mv_chan->free_slots); in mv_chan_clean_completed_slots() 252 list_move_tail(&desc->node, &mv_chan->free_slots); in mv_desc_clean_slot() 255 &mv_chan->free_slots); in mv_desc_clean_slot() 355 if (!list_empty(&mv_chan->free_slots)) { in mv_chan_alloc_slot() 356 iter = list_first_entry(&mv_chan->free_slots, in mv_chan_alloc_slot() 466 list_add_tail(&slot->node, &mv_chan->free_slots); in mv_xor_alloc_chan_resources() 640 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() 645 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() 650 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() [all...] |
H A D | mv_xor.h | 95 * @free_slots: free slots usable by the channel 112 struct list_head free_slots; member
|
/kernel/linux/linux-5.10/fs/fat/ |
H A D | dir.c | 1288 int err, free_slots, i, nr_bhs; in fat_add_entries() local 1294 free_slots = nr_bhs = 0; in fat_add_entries() 1309 free_slots++; in fat_add_entries() 1310 if (free_slots == nr_slots) in fat_add_entries() 1316 free_slots = nr_bhs = 0; in fat_add_entries() 1331 pos -= free_slots * sizeof(*de); in fat_add_entries() 1332 nr_slots -= free_slots; in fat_add_entries() 1333 if (free_slots) { in fat_add_entries() 1339 int size = free_slots * sizeof(*de); in fat_add_entries() 1410 if (free_slots) in fat_add_entries() [all...] |
/kernel/linux/linux-6.6/fs/fat/ |
H A D | dir.c | 1288 int err, free_slots, i, nr_bhs; in fat_add_entries() local 1294 free_slots = nr_bhs = 0; in fat_add_entries() 1309 free_slots++; in fat_add_entries() 1310 if (free_slots == nr_slots) in fat_add_entries() 1316 free_slots = nr_bhs = 0; in fat_add_entries() 1331 pos -= free_slots * sizeof(*de); in fat_add_entries() 1332 nr_slots -= free_slots; in fat_add_entries() 1333 if (free_slots) { in fat_add_entries() 1339 int size = free_slots * sizeof(*de); in fat_add_entries() 1410 if (free_slots) in fat_add_entries() [all...] |
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
H A D | hw_queue.c | 110 atomic_t *free_slots = in ext_queue_sanity_checks() local 131 if (atomic_add_negative(num_of_entries * -1, free_slots)) { in ext_queue_sanity_checks() 134 atomic_add(num_of_entries, free_slots); in ext_queue_sanity_checks() 588 atomic_t *free_slots = in hl_hw_queue_schedule_cs() local 590 atomic_add(cs->jobs_in_queue_cnt[i], free_slots); in hl_hw_queue_schedule_cs()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.c | 36 static void free_slots(unsigned long pos, u16 w, u16 h, in free_slots() function 223 free_slots(pos, w, h, tcm->bitmap, tcm->width); in sita_free()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.c | 28 static void free_slots(unsigned long pos, u16 w, u16 h, in free_slots() function 215 free_slots(pos, w, h, tcm->bitmap, tcm->width); in sita_free()
|
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
H A D | ccp-dev-v3.c | 87 cmd_q->free_slots--; in ccp_do_cmd() 97 if (op->ioc || !cmd_q->free_slots) in ccp_do_cmd() 140 cmd_q->free_slots = CMD_Q_DEPTH(cmd_q->q_status); in ccp_do_cmd() 419 cmd_q->free_slots = ccp_get_free_slots(cmd_q); in ccp_init()
|
/kernel/linux/linux-6.6/drivers/crypto/ccp/ |
H A D | ccp-dev-v3.c | 87 cmd_q->free_slots--; in ccp_do_cmd() 97 if (op->ioc || !cmd_q->free_slots) in ccp_do_cmd() 140 cmd_q->free_slots = CMD_Q_DEPTH(cmd_q->q_status); in ccp_do_cmd() 419 cmd_q->free_slots = ccp_get_free_slots(cmd_q); in ccp_init()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_rcfw.c | 286 u32 bsize, free_slots, required_slots; in __send_message() local 306 free_slots = HWQ_FREE_SLOTS(hwq); in __send_message() 310 if (required_slots >= free_slots) { in __send_message() 313 required_slots, free_slots); in __send_message() 322 crsqe->free_slots = free_slots; in __send_message() 673 "rcfw timedout: cookie = %#x, free_slots = %d", in bnxt_qplib_process_qp_event() 674 cookie, crsqe->free_slots); in bnxt_qplib_process_qp_event()
|
H A D | qplib_rcfw.h | 156 u32 free_slots; member
|
/kernel/linux/linux-5.10/drivers/net/can/usb/ |
H A D | ems_usb.c | 255 unsigned int free_slots; /* remember number of available slots */ member 273 dev->free_slots = dev->intr_in_buffer[1]; in ems_usb_read_interrupt_callback() 274 if (dev->free_slots > CPC_TX_QUEUE_TRIGGER_HIGH && in ems_usb_read_interrupt_callback() 587 dev->free_slots = 50; /* initial size */ in ems_usb_start() 841 dev->free_slots < CPC_TX_QUEUE_TRIGGER_LOW) { in ems_usb_start_xmit()
|
/kernel/linux/linux-6.6/drivers/net/can/usb/ |
H A D | ems_usb.c | 255 unsigned int free_slots; /* remember number of available slots */ member 273 dev->free_slots = dev->intr_in_buffer[1]; in ems_usb_read_interrupt_callback() 274 if (dev->free_slots > CPC_TX_QUEUE_TRIGGER_HIGH && in ems_usb_read_interrupt_callback() 585 dev->free_slots = 50; /* initial size */ in ems_usb_start() 838 dev->free_slots < CPC_TX_QUEUE_TRIGGER_LOW) { in ems_usb_start_xmit()
|
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | hw_queue.c | 120 atomic_t *free_slots = in ext_queue_sanity_checks() local 141 if (atomic_add_negative(num_of_entries * -1, free_slots)) { in ext_queue_sanity_checks() 144 atomic_add(num_of_entries, free_slots); in ext_queue_sanity_checks() 787 atomic_t *free_slots = in hl_hw_queue_schedule_cs() local 789 atomic_add(cs->jobs_in_queue_cnt[i], free_slots); in hl_hw_queue_schedule_cs()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
H A D | dma.c | 117 static inline int free_slots(struct b43legacy_dmaring *ring) in free_slots() function 167 B43legacy_WARN_ON(free_slots(ring) == 0); in request_slot() 1088 if (WARN_ON(free_slots(ring) < SLOTS_PER_PACKET)) { in b43legacy_dma_tx() 1108 if ((free_slots(ring) < SLOTS_PER_PACKET) || in b43legacy_dma_tx() 1223 B43legacy_WARN_ON(free_slots(ring) < SLOTS_PER_PACKET); in b43legacy_dma_handle_txstatus()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/ |
H A D | dma.c | 117 static inline int free_slots(struct b43legacy_dmaring *ring) in free_slots() function 159 B43legacy_WARN_ON(free_slots(ring) == 0); in request_slot() 1067 if (WARN_ON(free_slots(ring) < SLOTS_PER_PACKET)) { in b43legacy_dma_tx() 1087 if ((free_slots(ring) < SLOTS_PER_PACKET) || in b43legacy_dma_tx() 1202 B43legacy_WARN_ON(free_slots(ring) < SLOTS_PER_PACKET); in b43legacy_dma_handle_txstatus()
|
/kernel/linux/linux-5.10/drivers/i3c/ |
H A D | master.c | 2286 struct list_head free_slots; member 2301 while (!list_empty(&pool->free_slots)) { in i3c_generic_ibi_free_pool() 2302 slot = list_first_entry(&pool->free_slots, in i3c_generic_ibi_free_pool() 2343 INIT_LIST_HEAD(&pool->free_slots); in i3c_generic_ibi_alloc_pool() 2369 list_add_tail(&slot->node, &pool->free_slots); in i3c_generic_ibi_alloc_pool() 2398 slot = list_first_entry_or_null(&pool->free_slots, in i3c_generic_ibi_get_free_slot() 2427 list_add_tail(&slot->node, &pool->free_slots); in i3c_generic_ibi_recycle_slot()
|
/kernel/linux/linux-6.6/drivers/i3c/master/ |
H A D | svc-i3c-master.c | 161 * @free_slots: Bit array of available slots 186 u32 free_slots; member 633 if (!(master->free_slots & GENMASK(SVC_I3C_MAX_DEVS - 1, 0))) in svc_i3c_master_reserve_slot() 636 slot = ffs(master->free_slots) - 1; in svc_i3c_master_reserve_slot() 638 master->free_slots &= ~BIT(slot); in svc_i3c_master_reserve_slot() 646 master->free_slots |= BIT(slot); in svc_i3c_master_release_slot() 1600 master->free_slots = GENMASK(SVC_I3C_MAX_DEVS - 1, 0); in svc_i3c_master_probe()
|
/kernel/linux/linux-6.6/drivers/i3c/ |
H A D | master.c | 2417 struct list_head free_slots; member 2432 while (!list_empty(&pool->free_slots)) { in i3c_generic_ibi_free_pool() 2433 slot = list_first_entry(&pool->free_slots, in i3c_generic_ibi_free_pool() 2474 INIT_LIST_HEAD(&pool->free_slots); in i3c_generic_ibi_alloc_pool() 2500 list_add_tail(&slot->node, &pool->free_slots); in i3c_generic_ibi_alloc_pool() 2529 slot = list_first_entry_or_null(&pool->free_slots, in i3c_generic_ibi_get_free_slot() 2558 list_add_tail(&slot->node, &pool->free_slots); in i3c_generic_ibi_recycle_slot()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
H A D | dma.c | 257 static inline int free_slots(struct b43_dmaring *ring) in free_slots() function 306 B43_WARN_ON(free_slots(ring) == 0); in request_slot() 1373 if (WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME)) { in b43_dma_tx() 1398 if ((free_slots(ring) < TX_SLOTS_PER_FRAME) || in b43_dma_tx() 1564 B43_WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME); in b43_dma_handle_txstatus()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A D | dma.c | 257 static inline int free_slots(struct b43_dmaring *ring) in free_slots() function 306 B43_WARN_ON(free_slots(ring) == 0); in request_slot() 1373 if (WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME)) { in b43_dma_tx() 1398 if ((free_slots(ring) < TX_SLOTS_PER_FRAME) || in b43_dma_tx() 1564 B43_WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME); in b43_dma_handle_txstatus()
|