Searched refs:free_slots (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/mm/ |
D | swap_slots.c | 171 bool free_slots) in drain_slots_cache_cpu() argument 182 if (free_slots && cache->slots) { in drain_slots_cache_cpu() 192 if (free_slots && cache->slots_ret) { in drain_slots_cache_cpu()
|
/Linux-v4.19/drivers/dma/ |
D | mv_xor.c | 232 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_chan_clean_completed_slots() 235 &mv_chan->free_slots); in mv_chan_clean_completed_slots() 260 list_move_tail(&desc->node, &mv_chan->free_slots); in mv_desc_clean_slot() 263 &mv_chan->free_slots); in mv_desc_clean_slot() 363 if (!list_empty(&mv_chan->free_slots)) { in mv_chan_alloc_slot() 364 iter = list_first_entry(&mv_chan->free_slots, in mv_chan_alloc_slot() 474 list_add_tail(&slot->node, &mv_chan->free_slots); in mv_xor_alloc_chan_resources() 648 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() 653 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() 658 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() [all …]
|
D | mv_xor.h | 120 struct list_head free_slots; member
|
/Linux-v4.19/fs/fat/ |
D | dir.c | 1282 int err, free_slots, i, nr_bhs; in fat_add_entries() local 1288 free_slots = nr_bhs = 0; in fat_add_entries() 1303 free_slots++; in fat_add_entries() 1304 if (free_slots == nr_slots) in fat_add_entries() 1310 free_slots = nr_bhs = 0; in fat_add_entries() 1325 pos -= free_slots * sizeof(*de); in fat_add_entries() 1326 nr_slots -= free_slots; in fat_add_entries() 1327 if (free_slots) { in fat_add_entries() 1333 int size = free_slots * sizeof(*de); in fat_add_entries() 1404 if (free_slots) in fat_add_entries() [all …]
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/ |
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()
|
/Linux-v4.19/drivers/crypto/ccp/ |
D | ccp-dev-v3.c | 91 cmd_q->free_slots--; in ccp_do_cmd() 101 if (op->ioc || !cmd_q->free_slots) in ccp_do_cmd() 144 cmd_q->free_slots = CMD_Q_DEPTH(cmd_q->q_status); in ccp_do_cmd() 423 cmd_q->free_slots = ccp_get_free_slots(cmd_q); in ccp_init()
|
D | ccp-dev.h | 302 unsigned int free_slots; member
|
D | ccp-ops.c | 2441 cmd_q->free_slots = cmd_q->ccp->vdata->perform->get_free_slots(cmd_q); in ccp_run_cmd()
|
/Linux-v4.19/drivers/net/can/usb/ |
D | ems_usb.c | 267 unsigned int free_slots; /* remember number of available slots */ member 283 dev->free_slots = dev->intr_in_buffer[1]; in ems_usb_read_interrupt_callback() 284 if (dev->free_slots > CPC_TX_QUEUE_TRIGGER_HIGH && in ems_usb_read_interrupt_callback() 597 dev->free_slots = 50; /* initial size */ in ems_usb_start() 842 dev->free_slots < CPC_TX_QUEUE_TRIGGER_LOW) { in ems_usb_start_xmit()
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/ |
D | dma.c | 130 static inline int free_slots(struct b43legacy_dmaring *ring) in free_slots() function 180 B43legacy_WARN_ON(free_slots(ring) == 0); in request_slot() 1152 if (unlikely(WARN_ON(free_slots(ring) < SLOTS_PER_PACKET))) { in b43legacy_dma_tx() 1172 if ((free_slots(ring) < SLOTS_PER_PACKET) || in b43legacy_dma_tx() 1287 B43legacy_WARN_ON(free_slots(ring) < SLOTS_PER_PACKET); in b43legacy_dma_handle_txstatus()
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | dma.c | 270 static inline int free_slots(struct b43_dmaring *ring) in free_slots() function 319 B43_WARN_ON(free_slots(ring) == 0); in request_slot() 1435 if (unlikely(WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME))) { in b43_dma_tx() 1460 if ((free_slots(ring) < TX_SLOTS_PER_FRAME) || in b43_dma_tx() 1626 B43_WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME); in b43_dma_handle_txstatus()
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | ibmphp_core.c | 668 static void free_slots(void) in free_slots() function 1278 free_slots(); in ibmphp_unload()
|