Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c217 sizeof(*hw_dom->arch_mbm_total) * r->num_rmid); in resctrl_arch_reset_rmid_all()
221 sizeof(*hw_dom->arch_mbm_local) * r->num_rmid); in resctrl_arch_reset_rmid_all()
284 nrmid = find_next_bit(d->rmid_busy_llc, r->num_rmid, crmid); in __check_limbo()
285 if (nrmid >= r->num_rmid) in __check_limbo()
310 return find_first_bit(d->rmid_busy_llc, r->num_rmid) != r->num_rmid; in has_busy_rmid()
699 nr_rmids = r->num_rmid; in dom_data_init()
765 r->num_rmid = boot_cpu_data.x86_cache_max_rmid + 1; in rdt_get_mon_l3_config()
780 threshold = resctrl_rmid_realloc_limit / r->num_rmid; in rdt_get_mon_l3_config()
H A Dcore.c465 static int arch_domain_mbm_alloc(u32 num_rmid, struct rdt_hw_domain *hw_dom) in arch_domain_mbm_alloc() argument
471 hw_dom->arch_mbm_total = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()
477 hw_dom->arch_mbm_local = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()
537 if (r->mon_capable && arch_domain_mbm_alloc(r->num_rmid, hw_dom)) { in domain_add_cpu()
H A Drdtgroup.c1007 seq_printf(seq, "%d\n", r->num_rmid); in rdt_num_rmids_show()
3753 d->rmid_busy_llc = bitmap_zalloc(r->num_rmid, GFP_KERNEL); in domain_setup_mon_state()
3759 d->mbm_total = kcalloc(r->num_rmid, tsize, GFP_KERNEL); in domain_setup_mon_state()
3767 d->mbm_local = kcalloc(r->num_rmid, tsize, GFP_KERNEL); in domain_setup_mon_state()
/openbmc/linux/include/linux/
H A Dresctrl.h170 int num_rmid; member