Searched refs:free_slots (Results 1 – 5 of 5) sorted by relevance
1235 int err, free_slots, i, nr_bhs; in fat_add_entries() local1241 free_slots = nr_bhs = 0; in fat_add_entries()1256 free_slots++; in fat_add_entries()1257 if (free_slots == nr_slots) in fat_add_entries()1263 free_slots = nr_bhs = 0; in fat_add_entries()1278 pos -= free_slots * sizeof(*de); in fat_add_entries()1279 nr_slots -= free_slots; in fat_add_entries()1280 if (free_slots) { in fat_add_entries()1286 int size = free_slots * sizeof(*de); in fat_add_entries()1357 if (free_slots) in fat_add_entries()[all …]
266 unsigned int free_slots; /* remember number of available slots */ member282 dev->free_slots = dev->intr_in_buffer[1]; in ems_usb_read_interrupt_callback()595 dev->free_slots = 15; /* initial size */ in ems_usb_start()846 dev->free_slots < 5) { in ems_usb_start_xmit()
130 static inline int free_slots(struct b43legacy_dmaring *ring) in free_slots() function180 B43legacy_WARN_ON(free_slots(ring) == 0); in request_slot()1160 if (unlikely(WARN_ON(free_slots(ring) < SLOTS_PER_PACKET))) { in b43legacy_dma_tx()1180 if ((free_slots(ring) < SLOTS_PER_PACKET) || in b43legacy_dma_tx()1295 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()1443 if (unlikely(WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME))) { in b43_dma_tx()1468 if ((free_slots(ring) < TX_SLOTS_PER_FRAME) || in b43_dma_tx()1632 B43_WARN_ON(free_slots(ring) < TX_SLOTS_PER_FRAME); in b43_dma_handle_txstatus()
696 static void free_slots(void) in free_slots() function1288 free_slots(); in ibmphp_unload()