Home
last modified time | relevance | path

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

/linux/arch/x86/kernel/cpu/resctrl/
H A Dcore.c432 kfree(hw_dom->ctrl_val); in domain_free()
433 kfree(hw_dom); in domain_free()
448 hw_dom->ctrl_val = dc; in domain_setup_ctrlval()
471 if (!hw_dom->arch_mbm_total) in arch_domain_mbm_alloc()
523 hw_dom = kzalloc_node(sizeof(*hw_dom), GFP_KERNEL, cpu_to_node(cpu)); in domain_add_cpu()
524 if (!hw_dom) in domain_add_cpu()
527 d = &hw_dom->d_resctrl; in domain_add_cpu()
534 domain_free(hw_dom); in domain_add_cpu()
539 domain_free(hw_dom); in domain_add_cpu()
549 domain_free(hw_dom); in domain_add_cpu()
[all …]
H A Dctrlmondata.c279 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_update_one() local
286 hw_dom->ctrl_val[idx] = cfg_val; in resctrl_arch_update_one()
300 struct rdt_hw_domain *hw_dom; in resctrl_arch_update_domains() local
310 hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_update_domains()
313 cfg = &hw_dom->d_resctrl.staged_config[t]; in resctrl_arch_update_domains()
318 if (cfg->new_ctrl == hw_dom->ctrl_val[idx]) in resctrl_arch_update_domains()
320 hw_dom->ctrl_val[idx] = cfg->new_ctrl; in resctrl_arch_update_domains()
436 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_get_config() local
439 return hw_dom->ctrl_val[idx]; in resctrl_arch_get_config()
H A Dmonitor.c220 return &hw_dom->arch_mbm_total[rmid]; in get_arch_mbm_state()
222 return &hw_dom->arch_mbm_local[rmid]; in get_arch_mbm_state()
235 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_reset_rmid() local
238 am = get_arch_mbm_state(hw_dom, rmid, eventid); in resctrl_arch_reset_rmid()
253 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_reset_rmid_all() local
256 memset(hw_dom->arch_mbm_total, 0, in resctrl_arch_reset_rmid_all()
257 sizeof(*hw_dom->arch_mbm_total) * r->num_rmid); in resctrl_arch_reset_rmid_all()
260 memset(hw_dom->arch_mbm_local, 0, in resctrl_arch_reset_rmid_all()
261 sizeof(*hw_dom->arch_mbm_local) * r->num_rmid); in resctrl_arch_reset_rmid_all()
277 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_rmid_read() local
[all …]
H A Drdtgroup.c2814 struct rdt_hw_domain *hw_dom; in reset_all_ctrls() local
2832 hw_dom = resctrl_to_arch_dom(d); in reset_all_ctrls()
2835 hw_dom->ctrl_val[i] = r->default_ctrl; in reset_all_ctrls()