Home
last modified time | relevance | path

Searched refs:rdt_resources_all (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/arch/x86/kernel/cpu/resctrl/
Dcore.c60 #define domain_init(id) LIST_HEAD_INIT(rdt_resources_all[id].r_resctrl.domains)
62 struct rdt_hw_resource rdt_resources_all[] = { variable
131 struct rdt_hw_resource *hw_res = &rdt_resources_all[RDT_RESOURCE_L3]; in cache_alloc_hsw_probe()
158 return rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl.membw.mba_sc; in is_mba_sc()
273 rdt_resources_all[level].cdp_enabled = false; in rdt_get_cdp_config()
274 rdt_resources_all[level].r_resctrl.cdp_capable = true; in rdt_get_cdp_config()
604 if (r == &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl) { in domain_remove_cpu()
771 struct rdt_hw_resource *hw_res = &rdt_resources_all[RDT_RESOURCE_MBA]; in get_mem_config()
796 r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in get_rdt_alloc_resources()
804 r = &rdt_resources_all[RDT_RESOURCE_L2].r_resctrl; in get_rdt_alloc_resources()
[all …]
Dinternal.h411 extern struct rdt_hw_resource rdt_resources_all[];
436 return rdt_resources_all[l].cdp_enabled; in resctrl_arch_get_cdp_enabled()
446 for (r = &rdt_resources_all[0].r_resctrl; \
447 r <= &rdt_resources_all[RDT_NUM_RESOURCES - 1].r_resctrl; \
Dmonitor.c177 r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in __check_limbo()
235 r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in add_rmid_to_limbo()
436 hw_r_mba = &rdt_resources_all[RDT_RESOURCE_MBA]; in update_mba_bw()
555 r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in cqm_handle_limbo()
591 r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in mbm_handle_overflow()
Drdtgroup.c1833 return rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl.membw.delay_linear; in is_mba_linear()
1854 r_l = &rdt_resources_all[level].r_resctrl; in set_cache_qos_cfg()
1900 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl; in set_mba_sc()
1919 struct rdt_resource *r_l = &rdt_resources_all[level].r_resctrl; in cdp_enable()
1927 rdt_resources_all[level].cdp_enabled = true; in cdp_enable()
1934 struct rdt_hw_resource *r_hw = &rdt_resources_all[level]; in cdp_disable()
1944 struct rdt_hw_resource *hw_res = &rdt_resources_all[l]; in resctrl_arch_set_cdp_enabled()
2201 r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in rdt_get_tree()
3192 if (is_mba_sc(&rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl)) in rdtgroup_show_options()
Dctrlmondata.c541 hw_res = &rdt_resources_all[resid]; in rdtgroup_mondata_show()