Searched refs:r_mba (Results 1 – 1 of 1) sorted by relevance
755 struct rdt_resource *r_mba; in update_mba_bw() local763 r_mba = &rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl; in update_mba_bw()770 dom_mba = get_ctrl_domain_from_cpu(smp_processor_id(), r_mba); in update_mba_bw()780 cur_msr_val = resctrl_arch_get_config(r_mba, dom_mba, closid, CDP_NONE); in update_mba_bw()804 if (cur_msr_val > r_mba->membw.min_bw && user_bw < cur_bw) { in update_mba_bw()805 new_msr_val = cur_msr_val - r_mba->membw.bw_gran; in update_mba_bw()807 (user_bw > (cur_bw * (cur_msr_val + r_mba->membw.min_bw) / cur_msr_val))) { in update_mba_bw()808 new_msr_val = cur_msr_val + r_mba->membw.bw_gran; in update_mba_bw()813 resctrl_arch_update_one(r_mba, dom_mba, closid, CDP_NONE, new_msr_val); in update_mba_bw()