Searched refs:num_rmid (Results 1 – 4 of 4) sorted by relevance
225 return lrmid + (cpu_to_node(cpu) % snc_nodes_per_l3_cache) * r->num_rmid; in logical_rmid_to_physical_rmid()300 sizeof(*hw_dom->arch_mbm_total) * r->num_rmid); in resctrl_arch_reset_rmid_all()304 sizeof(*hw_dom->arch_mbm_local) * r->num_rmid); in resctrl_arch_reset_rmid_all()1250 r->num_rmid = (boot_cpu_data.x86_cache_max_rmid + 1) / snc_nodes_per_l3_cache; in rdt_get_mon_l3_config()1265 threshold = resctrl_rmid_realloc_limit / r->num_rmid; in rdt_get_mon_l3_config()
113 return r->num_rmid; in resctrl_arch_system_num_rmid_idx()419 static int arch_domain_mbm_alloc(u32 num_rmid, struct rdt_hw_mon_domain *hw_dom) in arch_domain_mbm_alloc() argument425 hw_dom->arch_mbm_total = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()431 hw_dom->arch_mbm_local = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()556 if (arch_domain_mbm_alloc(r->num_rmid, hw_dom)) { in domain_add_cpu_mon()
1147 seq_printf(seq, "%d\n", r->num_rmid); in rdt_num_rmids_show()
267 int num_rmid; member