Searched refs:used_slots (Results 1 – 5 of 5) sorted by relevance
119 return (ring->nr_slots - ring->used_slots); in free_slots()171 ring->used_slots++; in request_slot()173 update_max_used_slots(ring, ring->used_slots); in request_slot()495 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()574 if (!ring->used_slots) in free_all_descbuffers()950 old_used_slots = ring->used_slots; in dma_tx_fragment()964 ring->used_slots = old_used_slots; in dma_tx_fragment()973 ring->used_slots = old_used_slots; in dma_tx_fragment()993 ring->used_slots = old_used_slots; in dma_tx_fragment()1011 ring->used_slots = old_used_slots; in dma_tx_fragment()[all …]
137 int used_slots; member
259 return (ring->nr_slots - ring->used_slots); in free_slots()310 ring->used_slots++; in request_slot()312 update_max_used_slots(ring, ring->used_slots); in request_slot()653 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()779 if (!ring->used_slots) in free_all_descbuffers()1210 old_used_slots = ring->used_slots; in dma_tx_fragment()1223 ring->used_slots = old_used_slots; in dma_tx_fragment()1231 ring->used_slots = old_used_slots; in dma_tx_fragment()1253 ring->used_slots = old_used_slots; in dma_tx_fragment()1263 ring->used_slots = old_used_slots; in dma_tx_fragment()[all …]
243 int used_slots; member
519 unsigned int used_slots; member1248 np->tx_info[entry].used_slots = TX_RING_SIZE - entry; in start_tx()1249 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()1252 np->tx_info[entry].used_slots = 1; in start_tx()1253 np->cur_tx += np->tx_info[entry].used_slots; in start_tx()1283 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in start_tx()1367 np->dirty_tx += np->tx_info[entry].used_slots; in intr_handler()1368 entry = (entry + np->tx_info[entry].used_slots) % TX_RING_SIZE; in intr_handler()