Lines Matching refs:used_slots
248 return (ring->nr_slots - ring->used_slots);
300 ring->used_slots++;
302 update_max_used_slots(ring, ring->used_slots);
686 ring->used_slots = ring->nr_slots;
822 if (!ring->used_slots)
1262 old_used_slots = ring->used_slots;
1276 ring->used_slots = old_used_slots;
1285 ring->used_slots = old_used_slots;
1305 ring->used_slots = old_used_slots;
1323 ring->used_slots = old_used_slots;
1512 ring->used_slots--;
1635 int used_slots = 0;
1645 update_max_used_slots(ring, ++used_slots);