Searched refs:used_slots (Results 1 – 5 of 5) sorted by relevance
247 return (ring->nr_slots - ring->used_slots); in free_slots()299 ring->used_slots++; in request_slot()301 update_max_used_slots(ring, ring->used_slots); in request_slot()687 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()823 if (!ring->used_slots) in free_all_descbuffers()1259 old_used_slots = ring->used_slots; in dma_tx_fragment()1273 ring->used_slots = old_used_slots; in dma_tx_fragment()1282 ring->used_slots = old_used_slots; in dma_tx_fragment()1302 ring->used_slots = old_used_slots; in dma_tx_fragment()1314 ring->used_slots = old_used_slots; in dma_tx_fragment()[all …]
243 int used_slots; member
237 return (ring->nr_slots - ring->used_slots); in free_slots()288 ring->used_slots++; in request_slot()290 update_max_used_slots(ring, ring->used_slots); in request_slot()618 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()745 if (!ring->used_slots) in free_all_descbuffers()1155 old_used_slots = ring->used_slots; in dma_tx_fragment()1168 ring->used_slots = old_used_slots; in dma_tx_fragment()1176 ring->used_slots = old_used_slots; in dma_tx_fragment()1196 ring->used_slots = old_used_slots; in dma_tx_fragment()1208 ring->used_slots = old_used_slots; in dma_tx_fragment()[all …]
228 int used_slots; member
543 unsigned int used_slots; member1287 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()1288 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()1291 np->tx_info[entry].used_slots = 1; in start_tx()1292 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()1388 np->dirty_tx += np->tx_info[entry].used_slots; in intr_handler()1389 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in intr_handler()