Searched refs:free_slots (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/drivers/dma/ |
D | mv_xor.c | 265 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_chan_clean_completed_slots() 284 list_move_tail(&desc->node, &mv_chan->free_slots); in mv_desc_clean_slot() 382 if (!list_empty(&mv_chan->free_slots)) { in mv_chan_alloc_slot() 383 iter = list_first_entry(&mv_chan->free_slots, in mv_chan_alloc_slot() 492 list_add_tail(&slot->node, &mv_chan->free_slots); in mv_xor_alloc_chan_resources() 578 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() 583 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() 588 list_move_tail(&iter->node, &mv_chan->free_slots); in mv_xor_free_chan_resources() 591 iter, _iter, &mv_chan->free_slots, node) { in mv_xor_free_chan_resources() 1053 INIT_LIST_HEAD(&mv_chan->free_slots); in mv_xor_channel_add()
|
D | mv_xor.h | 115 struct list_head free_slots; member
|
/linux-4.4.14/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-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_events.c | 70 unsigned int free_slots; member 100 if (page->free_slots > 0) { in allocate_free_slot() 106 page->free_slots--; in allocate_free_slot() 138 page->free_slots = SLOTS_PER_PAGE; in allocate_signal_page() 194 page->free_slots++; in release_event_notification_slot()
|
/linux-4.4.14/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() 596 dev->free_slots = 50; /* initial size */ in ems_usb_start() 844 dev->free_slots < CPC_TX_QUEUE_TRIGGER_LOW) { in ems_usb_start_xmit()
|
/linux-4.4.14/drivers/crypto/ccp/ |
D | ccp-dev.h | 165 unsigned int free_slots; member
|
D | ccp-ops.c | 204 cmd_q->free_slots--; in ccp_do_cmd() 214 if (op->ioc || !cmd_q->free_slots) in ccp_do_cmd() 254 cmd_q->free_slots = CMD_Q_DEPTH(cmd_q->q_status); in ccp_do_cmd() 2131 cmd_q->free_slots = CMD_Q_DEPTH(ioread32(cmd_q->reg_status)); in ccp_run_cmd()
|
D | ccp-dev.c | 369 cmd_q->free_slots = CMD_Q_DEPTH(ioread32(cmd_q->reg_status)); in ccp_init()
|
/linux-4.4.14/drivers/net/wireless/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-4.4.14/drivers/net/wireless/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() 1624 B43_WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME); in b43_dma_handle_txstatus()
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | ibmphp_core.c | 694 static void free_slots(void) in free_slots() function 1296 free_slots(); in ibmphp_unload()
|