Home
last modified time | relevance | path

Searched refs:arch_mbm_states (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/kernel/cpu/resctrl/
H A Dcore.c376 kfree(hw_dom->arch_mbm_states[idx]); in mon_domain_free()
410 size_t tsize = sizeof(*hw_dom->arch_mbm_states[0]); in arch_domain_mbm_alloc()
418 hw_dom->arch_mbm_states[idx] = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()
419 if (!hw_dom->arch_mbm_states[idx]) in arch_domain_mbm_alloc()
426 kfree(hw_dom->arch_mbm_states[idx]); in arch_domain_mbm_alloc()
427 hw_dom->arch_mbm_states[idx] = NULL; in arch_domain_mbm_alloc()
H A Dmonitor.c169 state = hw_dom->arch_mbm_states[MBM_STATE_IDX(eventid)]; in get_arch_mbm_state()
207 memset(hw_dom->arch_mbm_states[idx], 0, in resctrl_arch_reset_rmid_all()
208 sizeof(*hw_dom->arch_mbm_states[0]) * r->mon.num_rmid); in resctrl_arch_reset_rmid_all()
H A Dinternal.h80 struct arch_mbm_state *arch_mbm_states[QOS_NUM_L3_MBM_EVENTS]; member