Lines Matching refs:cfg
63 struct resctrl_staged_config *cfg; in parse_bw() local
67 cfg = &d->staged_config[s->conf_type]; in parse_bw()
68 if (cfg->have_new_ctrl) { in parse_bw()
75 cfg->new_ctrl = bw_val; in parse_bw()
76 cfg->have_new_ctrl = true; in parse_bw()
135 struct resctrl_staged_config *cfg; in parse_cbm() local
139 cfg = &d->staged_config[s->conf_type]; in parse_cbm()
140 if (cfg->have_new_ctrl) { in parse_cbm()
182 cfg->new_ctrl = cbm_val; in parse_cbm()
183 cfg->have_new_ctrl = true; in parse_cbm()
198 struct resctrl_staged_config *cfg; in parse_line() local
228 cfg = &d->staged_config[t]; in parse_line()
239 rdtgrp->plr->cbm = cfg->new_ctrl; in parse_line()
263 struct resctrl_staged_config *cfg, u32 idx, in apply_config() argument
269 if (cfg->new_ctrl != dc[idx]) { in apply_config()
271 dc[idx] = cfg->new_ctrl; in apply_config()
281 struct resctrl_staged_config *cfg; in resctrl_arch_update_domains() local
299 cfg = &hw_dom->d_resctrl.staged_config[t]; in resctrl_arch_update_domains()
300 if (!cfg->have_new_ctrl) in resctrl_arch_update_domains()
304 if (!apply_config(hw_dom, cfg, idx, cpu_mask, mba_sc)) in resctrl_arch_update_domains()