Searched refs:hw_dom (Results 1 - 4 of 4) sorted by relevance

/linux-master/arch/x86/kernel/cpu/resctrl/
H A Dcore.c316 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); local
320 wrmsrl(hw_res->msr_base + i, hw_dom->ctrl_val[i]);
342 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); local
347 wrmsrl(hw_res->msr_base + i, delay_bw_map(hw_dom->ctrl_val[i], r));
354 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); local
358 wrmsrl(hw_res->msr_base + i, hw_dom->ctrl_val[i]);
443 static void domain_free(struct rdt_hw_domain *hw_dom) argument
445 kfree(hw_dom->arch_mbm_total);
446 kfree(hw_dom->arch_mbm_local);
447 kfree(hw_dom
454 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); local
477 arch_domain_mbm_alloc(u32 num_rmid, struct rdt_hw_domain *hw_dom) argument
517 struct rdt_hw_domain *hw_dom; local
569 struct rdt_hw_domain *hw_dom; local
[all...]
H A Dctrlmondata.c275 static bool apply_config(struct rdt_hw_domain *hw_dom, argument
279 struct rdt_domain *dom = &hw_dom->d_resctrl;
281 if (cfg->new_ctrl != hw_dom->ctrl_val[idx]) {
283 hw_dom->ctrl_val[idx] = cfg->new_ctrl;
295 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); local
302 hw_dom->ctrl_val[idx] = cfg_val;
315 struct rdt_hw_domain *hw_dom; local
330 hw_dom = resctrl_to_arch_dom(d);
332 cfg = &hw_dom->d_resctrl.staged_config[t];
337 if (!apply_config(hw_dom, cf
460 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); local
[all...]
H A Dmonitor.c211 static struct arch_mbm_state *get_arch_mbm_state(struct rdt_hw_domain *hw_dom, argument
219 return &hw_dom->arch_mbm_total[rmid];
221 return &hw_dom->arch_mbm_local[rmid];
234 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); local
237 am = get_arch_mbm_state(hw_dom, rmid, eventid);
252 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); local
255 memset(hw_dom->arch_mbm_total, 0,
256 sizeof(*hw_dom->arch_mbm_total) * r->num_rmid);
259 memset(hw_dom->arch_mbm_local, 0,
260 sizeof(*hw_dom
276 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); local
[all...]
H A Drdtgroup.c2814 struct rdt_hw_domain *hw_dom; local
2836 hw_dom = resctrl_to_arch_dom(d);
2840 hw_dom->ctrl_val[i] = r->default_ctrl;

Completed in 278 milliseconds