Lines Matching refs:used_slots
242 return (ring->nr_slots - ring->used_slots);
293 ring->used_slots++;
295 update_max_used_slots(ring, ring->used_slots);
642 ring->used_slots = ring->nr_slots;
769 if (!ring->used_slots)
1188 old_used_slots = ring->used_slots;
1201 ring->used_slots = old_used_slots;
1209 ring->used_slots = old_used_slots;
1231 ring->used_slots = old_used_slots;
1241 ring->used_slots = old_used_slots;
1408 firstused = ring->current_slot - ring->used_slots + 1;
1487 ring->used_slots--;
1596 int used_slots = 0;
1605 update_max_used_slots(ring, ++used_slots);