Searched refs:free_slots (Results 1 – 8 of 8) sorted by relevance
1276 int err, free_slots, i, nr_bhs; in fat_add_entries() local1282 free_slots = nr_bhs = 0; in fat_add_entries()1297 free_slots++; in fat_add_entries()1298 if (free_slots == nr_slots) in fat_add_entries()1304 free_slots = nr_bhs = 0; in fat_add_entries()1319 pos -= free_slots * sizeof(*de); in fat_add_entries()1320 nr_slots -= free_slots; in fat_add_entries()1321 if (free_slots) { in fat_add_entries()1327 int size = free_slots * sizeof(*de); in fat_add_entries()1398 if (free_slots) in fat_add_entries()[all …]
267 unsigned int free_slots; /* remember number of available slots */ member283 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()599 dev->free_slots = 50; /* initial size */ in ems_usb_start()847 dev->free_slots < CPC_TX_QUEUE_TRIGGER_LOW) { in ems_usb_start_xmit()
165 unsigned int free_slots; member
205 cmd_q->free_slots--; in ccp_do_cmd()215 if (op->ioc || !cmd_q->free_slots) in ccp_do_cmd()255 cmd_q->free_slots = CMD_Q_DEPTH(cmd_q->q_status); in ccp_do_cmd()2100 cmd_q->free_slots = CMD_Q_DEPTH(ioread32(cmd_q->reg_status)); in ccp_run_cmd()
369 cmd_q->free_slots = CMD_Q_DEPTH(ioread32(cmd_q->reg_status)); in ccp_init()
130 static inline int free_slots(struct b43legacy_dmaring *ring) in free_slots() function180 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()
270 static inline int free_slots(struct b43_dmaring *ring) in free_slots() function319 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()
694 static void free_slots(void) in free_slots() function1296 free_slots(); in ibmphp_unload()