rmid               58 arch/x86/include/asm/resctrl_sched.h 	u32 rmid = state->default_rmid;
rmid               70 arch/x86/include/asm/resctrl_sched.h 		if (current->rmid)
rmid               71 arch/x86/include/asm/resctrl_sched.h 			rmid = current->rmid;
rmid               74 arch/x86/include/asm/resctrl_sched.h 	if (closid != state->cur_closid || rmid != state->cur_rmid) {
rmid               76 arch/x86/include/asm/resctrl_sched.h 		state->cur_rmid = rmid;
rmid               77 arch/x86/include/asm/resctrl_sched.h 		wrmsr(IA32_PQR_ASSOC, rmid, closid);
rmid              146 arch/x86/kernel/cpu/resctrl/internal.h 	u32			rmid;
rmid              582 arch/x86/kernel/cpu/resctrl/internal.h void free_rmid(u32 rmid);
rmid               24 arch/x86/kernel/cpu/resctrl/monitor.c 	u32				rmid;
rmid               67 arch/x86/kernel/cpu/resctrl/monitor.c static inline struct rmid_entry *__rmid_entry(u32 rmid)
rmid               71 arch/x86/kernel/cpu/resctrl/monitor.c 	entry = &rmid_ptrs[rmid];
rmid               72 arch/x86/kernel/cpu/resctrl/monitor.c 	WARN_ON(entry->rmid != rmid);
rmid               77 arch/x86/kernel/cpu/resctrl/monitor.c static u64 __rmid_read(u32 rmid, u32 eventid)
rmid               89 arch/x86/kernel/cpu/resctrl/monitor.c 	wrmsr(MSR_IA32_QM_EVTSEL, eventid, rmid);
rmid               97 arch/x86/kernel/cpu/resctrl/monitor.c 	u64 val = __rmid_read(entry->rmid, QOS_L3_OCCUP_EVENT_ID);
rmid              129 arch/x86/kernel/cpu/resctrl/monitor.c 			clear_bit(entry->rmid, d->rmid_busy_llc);
rmid              162 arch/x86/kernel/cpu/resctrl/monitor.c 	return entry->rmid;
rmid              178 arch/x86/kernel/cpu/resctrl/monitor.c 			val = __rmid_read(entry->rmid, QOS_L3_OCCUP_EVENT_ID);
rmid              189 arch/x86/kernel/cpu/resctrl/monitor.c 		set_bit(entry->rmid, d->rmid_busy_llc);
rmid              200 arch/x86/kernel/cpu/resctrl/monitor.c void free_rmid(u32 rmid)
rmid              204 arch/x86/kernel/cpu/resctrl/monitor.c 	if (!rmid)
rmid              209 arch/x86/kernel/cpu/resctrl/monitor.c 	entry = __rmid_entry(rmid);
rmid              225 arch/x86/kernel/cpu/resctrl/monitor.c static int __mon_event_count(u32 rmid, struct rmid_read *rr)
rmid              230 arch/x86/kernel/cpu/resctrl/monitor.c 	tval = __rmid_read(rmid, rr->evtid);
rmid              240 arch/x86/kernel/cpu/resctrl/monitor.c 		m = &rr->d->mbm_total[rmid];
rmid              243 arch/x86/kernel/cpu/resctrl/monitor.c 		m = &rr->d->mbm_local[rmid];
rmid              271 arch/x86/kernel/cpu/resctrl/monitor.c static void mbm_bw_count(u32 rmid, struct rmid_read *rr)
rmid              274 arch/x86/kernel/cpu/resctrl/monitor.c 	struct mbm_state *m = &rr->d->mbm_local[rmid];
rmid              277 arch/x86/kernel/cpu/resctrl/monitor.c 	tval = __rmid_read(rmid, rr->evtid);
rmid              305 arch/x86/kernel/cpu/resctrl/monitor.c 	if (__mon_event_count(rdtgrp->mon.rmid, rr))
rmid              315 arch/x86/kernel/cpu/resctrl/monitor.c 			if (__mon_event_count(entry->mon.rmid, rr))
rmid              355 arch/x86/kernel/cpu/resctrl/monitor.c 	u32 closid, rmid, cur_msr, cur_msr_val, new_msr_val;
rmid              368 arch/x86/kernel/cpu/resctrl/monitor.c 	rmid = rgrp->mon.rmid;
rmid              369 arch/x86/kernel/cpu/resctrl/monitor.c 	pmbm_data = &dom_mbm->mbm_local[rmid];
rmid              387 arch/x86/kernel/cpu/resctrl/monitor.c 		cmbm_data = &dom_mbm->mbm_local[entry->mon.rmid];
rmid              431 arch/x86/kernel/cpu/resctrl/monitor.c 		cmbm_data = &dom_mbm->mbm_local[entry->mon.rmid];
rmid              436 arch/x86/kernel/cpu/resctrl/monitor.c static void mbm_update(struct rdt_domain *d, int rmid)
rmid              449 arch/x86/kernel/cpu/resctrl/monitor.c 		__mon_event_count(rmid, &rr);
rmid              460 arch/x86/kernel/cpu/resctrl/monitor.c 			__mon_event_count(rmid, &rr);
rmid              462 arch/x86/kernel/cpu/resctrl/monitor.c 			mbm_bw_count(rmid, &rr);
rmid              525 arch/x86/kernel/cpu/resctrl/monitor.c 		mbm_update(d, prgrp->mon.rmid);
rmid              529 arch/x86/kernel/cpu/resctrl/monitor.c 			mbm_update(d, crgrp->mon.rmid);
rmid              567 arch/x86/kernel/cpu/resctrl/monitor.c 		entry->rmid = i;
rmid              735 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	free_rmid(rdtgrp->mon.rmid);
rmid              765 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		rdtgrp->mon.rmid = ret;
rmid              770 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		free_rmid(rdtgrp->mon.rmid);
rmid              306 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		this_cpu_write(pqr_state.default_rmid, r->mon.rmid);
rmid              531 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		current->rmid = 0;
rmid              578 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			tsk->rmid = rdtgrp->mon.rmid;
rmid              581 arch/x86/kernel/cpu/resctrl/rdtgroup.c 				tsk->rmid = rdtgrp->mon.rmid;
rmid              607 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		    (r->type == RDTMON_GROUP && t->rmid == r->mon.rmid)) {
rmid              706 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		    (r->type == RDTMON_GROUP && t->rmid == r->mon.rmid))
rmid             2171 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		(r->type == RDTMON_GROUP) && (t->rmid == r->mon.rmid));
rmid             2192 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			t->rmid = to->mon.rmid;
rmid             2219 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		free_rmid(sentry->mon.rmid);
rmid             2259 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		free_rmid(rdtgrp->mon.rmid);
rmid             2731 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		rdtgrp->mon.rmid = ret;
rmid             2747 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	free_rmid(rdtgrp->mon.rmid);
rmid             2760 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	free_rmid(rgrp->mon.rmid);
rmid             2906 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		per_cpu(pqr_state.default_rmid, cpu) = prdtgrp->mon.rmid;
rmid             2915 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	free_rmid(rdtgrp->mon.rmid);
rmid             2963 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		per_cpu(pqr_state.default_rmid, cpu) = rdtgroup_default.mon.rmid;
rmid             2974 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	free_rmid(rdtgrp->mon.rmid);
rmid             3064 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	rdtgroup_default.mon.rmid = 0;
rmid             1048 include/linux/sched.h 	u32				rmid;