Home
last modified time | relevance | path

Searched refs:num_rmid (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c133 return lrmid + (cpu_to_node(cpu) % snc_nodes_per_l3_cache) * r->mon.num_rmid; in logical_rmid_to_physical_rmid()
208 sizeof(*hw_dom->arch_mbm_states[0]) * r->mon.num_rmid); in resctrl_arch_reset_rmid_all()
416 r->mon.num_rmid = (boot_cpu_data.x86_cache_max_rmid + 1) / snc_nodes_per_l3_cache; in rdt_get_l3_mon_config()
431 threshold = resctrl_rmid_realloc_limit / r->mon.num_rmid; in rdt_get_l3_mon_config()
H A Dcore.c126 num_rmids = min(num_rmids, r->mon.num_rmid); in resctrl_arch_system_num_rmid_idx()
429 static int l3_mon_domain_mbm_alloc(u32 num_rmid, struct rdt_hw_l3_mon_domain *hw_dom) in l3_mon_domain_mbm_alloc() argument
439 hw_dom->arch_mbm_states[idx] = kcalloc(num_rmid, tsize, GFP_KERNEL); in l3_mon_domain_mbm_alloc()
553 if (l3_mon_domain_mbm_alloc(r->mon.num_rmid, hw_dom)) { in l3_mon_domain_setup()