Lines Matching refs:slots
133 fetch_bp_busy_slots(struct bp_busy_slots *slots, struct perf_event *bp, in fetch_bp_busy_slots() argument
149 if (nr > slots->pinned) in fetch_bp_busy_slots()
150 slots->pinned = nr; in fetch_bp_busy_slots()
153 if (nr > slots->flexible) in fetch_bp_busy_slots()
154 slots->flexible = nr; in fetch_bp_busy_slots()
164 fetch_this_slot(struct bp_busy_slots *slots, int weight) in fetch_this_slot() argument
166 slots->pinned += weight; in fetch_this_slot()
279 struct bp_busy_slots slots = {0}; in __reserve_bp_slot() local
296 fetch_bp_busy_slots(&slots, bp, type); in __reserve_bp_slot()
301 fetch_this_slot(&slots, weight); in __reserve_bp_slot()
304 if (slots.pinned + (!!slots.flexible) > nr_slots[type]) in __reserve_bp_slot()