Home
last modified time | relevance | path

Searched refs:free_slots (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/mm/
Dswap_slots.c171 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/
Dmv_xor.c232 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 …]
Dmv_xor.h120 struct list_head free_slots; member
/Linux-v4.19/fs/fat/
Ddir.c1282 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/
Dtcm-sita.c36 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/
Dccp-dev-v3.c91 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()
Dccp-dev.h302 unsigned int free_slots; member
Dccp-ops.c2441 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/
Dems_usb.c267 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/
Ddma.c130 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/
Ddma.c270 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/
Dibmphp_core.c668 static void free_slots(void) in free_slots() function
1278 free_slots(); in ibmphp_unload()