Searched refs:hw_dom (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/x86/kernel/cpu/resctrl/ |
| H A D | core.c | 314 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom); in mba_wrmsr_amd() 319 wrmsrq(hw_res->msr_base + i, hw_dom->ctrl_val[i]); in mba_wrmsr_amd() 338 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom); in mba_wrmsr_intel() 344 wrmsrq(hw_res->msr_base + i, delay_bw_map(hw_dom->ctrl_val[i], m->res)); in mba_wrmsr_intel() 349 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom); in cat_wrmsr() 354 wrmsrq(hw_res->msr_base + i, hw_dom->ctrl_val[i]); in cat_wrmsr() 385 static void ctrl_domain_free(struct rdt_hw_ctrl_domain *hw_dom) in ctrl_domain_free() 387 kfree(hw_dom->ctrl_val); in ctrl_domain_free() 388 kfree(hw_dom); in ctrl_domain_free() 391 static void l3_mon_domain_free(struct rdt_hw_l3_mon_domain *hw_dom) in l3_mon_domain_free() 313 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom); mba_wrmsr_amd() local 337 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom); mba_wrmsr_intel() local 348 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom); cat_wrmsr() local 384 ctrl_domain_free(struct rdt_hw_ctrl_domain * hw_dom) ctrl_domain_free() argument 390 l3_mon_domain_free(struct rdt_hw_l3_mon_domain * hw_dom) l3_mon_domain_free() argument 401 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(d); domain_setup_ctrlval() local 429 l3_mon_domain_mbm_alloc(u32 num_rmid,struct rdt_hw_l3_mon_domain * hw_dom) l3_mon_domain_mbm_alloc() argument 474 struct rdt_hw_ctrl_domain *hw_dom; domain_add_cpu_ctrl() local 529 struct rdt_hw_l3_mon_domain *hw_dom; l3_mon_domain_setup() local 615 struct rdt_hw_ctrl_domain *hw_dom; domain_remove_cpu_ctrl() local 683 struct rdt_hw_l3_mon_domain *hw_dom; domain_remove_cpu_mon() local [all...] |
| H A D | monitor.c | 161 static struct arch_mbm_state *get_arch_mbm_state(struct rdt_hw_l3_mon_domain *hw_dom, in get_arch_mbm_state() 170 state = hw_dom->arch_mbm_states[MBM_STATE_IDX(eventid)]; in get_arch_mbm_state() 179 struct rdt_hw_l3_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in resctrl_arch_reset_rmid() 184 am = get_arch_mbm_state(hw_dom, rmid, eventid); in resctrl_arch_reset_rmid() 200 struct rdt_hw_l3_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in resctrl_arch_reset_rmid_all() 208 memset(hw_dom->arch_mbm_states[idx], 0, in resctrl_arch_reset_rmid_all() 209 sizeof(*hw_dom->arch_mbm_states[0]) * r->mon.num_rmid); in resctrl_arch_reset_rmid_all() 224 struct rdt_hw_l3_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in get_corrected_val() 229 am = get_arch_mbm_state(hw_dom, rmid, eventid); in get_corrected_val() 246 struct rdt_hw_l3_mon_domain *hw_dom; in resctrl_arch_rmid_read() 160 get_arch_mbm_state(struct rdt_hw_l3_mon_domain * hw_dom,u32 rmid,enum resctrl_event_id eventid) get_arch_mbm_state() argument 178 struct rdt_hw_l3_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); resctrl_arch_reset_rmid() local 199 struct rdt_hw_l3_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); resctrl_arch_reset_rmid_all() local 223 struct rdt_hw_l3_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); get_corrected_val() local 245 struct rdt_hw_l3_mon_domain *hw_dom; resctrl_arch_rmid_read() local 319 struct rdt_hw_l3_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); resctrl_arch_reset_cntr() local 545 struct rdt_hw_l3_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); resctrl_arch_config_cntr() local [all...] |
| H A D | rdtgroup.c | 235 struct rdt_hw_ctrl_domain *hw_dom; in resctrl_arch_reset_all_ctrls() local 253 hw_dom = resctrl_to_arch_ctrl_dom(d); in resctrl_arch_reset_all_ctrls() 256 hw_dom->ctrl_val[i] = resctrl_get_default_ctrl(r); in resctrl_arch_reset_all_ctrls()
|