Lines Matching refs:hw_dom
252 static struct arch_mbm_state *get_arch_mbm_state(struct rdt_hw_mon_domain *hw_dom, in get_arch_mbm_state() argument
260 return &hw_dom->arch_mbm_total[rmid]; in get_arch_mbm_state()
262 return &hw_dom->arch_mbm_local[rmid]; in get_arch_mbm_state()
275 struct rdt_hw_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in resctrl_arch_reset_rmid() local
280 am = get_arch_mbm_state(hw_dom, rmid, eventid); in resctrl_arch_reset_rmid()
296 struct rdt_hw_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in resctrl_arch_reset_rmid_all() local
299 memset(hw_dom->arch_mbm_total, 0, in resctrl_arch_reset_rmid_all()
300 sizeof(*hw_dom->arch_mbm_total) * r->num_rmid); in resctrl_arch_reset_rmid_all()
303 memset(hw_dom->arch_mbm_local, 0, in resctrl_arch_reset_rmid_all()
304 sizeof(*hw_dom->arch_mbm_local) * r->num_rmid); in resctrl_arch_reset_rmid_all()
319 struct rdt_hw_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in resctrl_arch_rmid_read() local
334 am = get_arch_mbm_state(hw_dom, rmid, eventid); in resctrl_arch_rmid_read()