Searched refs:num_rmid (Results 1 – 2 of 2) sorted by relevance
138 return lrmid + (cpu_to_node(cpu) % snc_nodes_per_l3_cache) * r->num_rmid; in logical_rmid_to_physical_rmid()212 sizeof(*hw_dom->arch_mbm_total) * r->num_rmid); in resctrl_arch_reset_rmid_all()216 sizeof(*hw_dom->arch_mbm_local) * r->num_rmid); in resctrl_arch_reset_rmid_all()354 r->num_rmid = (boot_cpu_data.x86_cache_max_rmid + 1) / snc_nodes_per_l3_cache; in rdt_get_mon_l3_config()369 threshold = resctrl_rmid_realloc_limit / r->num_rmid; in rdt_get_mon_l3_config()
110 return r->num_rmid; in resctrl_arch_system_num_rmid_idx()401 static int arch_domain_mbm_alloc(u32 num_rmid, struct rdt_hw_mon_domain *hw_dom) in arch_domain_mbm_alloc() argument407 hw_dom->arch_mbm_total = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()413 hw_dom->arch_mbm_local = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()540 if (arch_domain_mbm_alloc(r->num_rmid, hw_dom)) { in domain_add_cpu_mon()
Completed in 7 milliseconds