Lines Matching refs:slots
145 fetch_bp_busy_slots(struct bp_busy_slots *slots, struct perf_event *bp, in fetch_bp_busy_slots() argument
161 if (nr > slots->pinned) in fetch_bp_busy_slots()
162 slots->pinned = nr; in fetch_bp_busy_slots()
165 if (nr > slots->flexible) in fetch_bp_busy_slots()
166 slots->flexible = nr; in fetch_bp_busy_slots()
176 fetch_this_slot(struct bp_busy_slots *slots, int weight) in fetch_this_slot() argument
178 slots->pinned += weight; in fetch_this_slot()
282 struct bp_busy_slots slots = {0}; in __reserve_bp_slot() local
298 fetch_bp_busy_slots(&slots, bp, type); in __reserve_bp_slot()
303 fetch_this_slot(&slots, weight); in __reserve_bp_slot()
306 if (slots.pinned + (!!slots.flexible) > nr_slots[type]) in __reserve_bp_slot()