Searched refs:membw (Results 1 – 5 of 5) sorted by relevance
177 return rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl.membw.mba_sc; in is_mba_sc()186 return r->membw.mba_sc; in is_mba_sc()221 r->membw.arch_needs_linear = true; in __get_mem_config_intel()223 r->membw.delay_linear = true; in __get_mem_config_intel()224 r->membw.min_bw = MAX_MBA_BW - max_delay; in __get_mem_config_intel()225 r->membw.bw_gran = MAX_MBA_BW - max_delay; in __get_mem_config_intel()229 r->membw.arch_needs_linear = false; in __get_mem_config_intel()234 r->membw.throttle_mode = THREAD_THROTTLE_PER_THREAD; in __get_mem_config_intel()236 r->membw.throttle_mode = THREAD_THROTTLE_MAX; in __get_mem_config_intel()260 r->membw.delay_linear = false; in __rdt_get_mem_config_amd()[all …]
40 if (!r->membw.delay_linear && r->membw.arch_needs_linear) { in bw_validate()57 if (bw < r->membw.min_bw || bw > r->default_ctrl) { in bw_validate()59 bw, r->membw.min_bw, r->default_ctrl); in bw_validate()63 *data = roundup(bw, (unsigned long)r->membw.bw_gran); in bw_validate()
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()
1091 seq_printf(seq, "%u\n", r->membw.min_bw); in rdt_min_bw_show()1126 seq_printf(seq, "%u\n", r->membw.bw_gran); in rdt_bw_gran_show()1136 seq_printf(seq, "%u\n", r->membw.delay_linear); in rdt_delay_linear_show()1154 if (r->membw.throttle_mode == THREAD_THROTTLE_PER_THREAD) in rdt_thread_throttle_mode_show()2253 return rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl.membw.delay_linear; in is_mba_linear()2365 r->membw.mba_sc = mba_sc; in set_mba_sc()
214 struct resctrl_membw membw; member