Searched refs:closid (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/arch/x86/kernel/cpu/resctrl/ |
D | ctrlmondata.c | 64 u32 closid = data->rdtgrp->closid; in parse_bw() local 78 d->mbps_val[closid] = bw_val; in parse_bw() 175 if (rdtgroup_cbm_overlaps(s, d, cbm_val, rdtgrp->closid, true)) { in parse_cbm() 180 if (rdtgroup_cbm_overlaps(s, d, cbm_val, rdtgrp->closid, false)) { in parse_cbm() 255 static u32 get_config_index(u32 closid, enum resctrl_conf_type type) in get_config_index() argument 260 return closid; in get_config_index() 262 return closid * 2 + 1; in get_config_index() 264 return closid * 2; in get_config_index() 285 u32 closid, enum resctrl_conf_type t, u32 cfg_val) in resctrl_arch_update_one() argument 289 u32 idx = get_config_index(closid, t); in resctrl_arch_update_one() [all …]
|
D | rdtgroup.c | 135 u32 closid = ffs(closid_free_map); in closid_alloc() local 137 if (closid == 0) in closid_alloc() 139 closid--; in closid_alloc() 140 closid_free_map &= ~(1 << closid); in closid_alloc() 142 return closid; in closid_alloc() 145 void closid_free(int closid) in closid_free() argument 147 closid_free_map |= 1 << closid; in closid_free() 157 static bool closid_allocated(unsigned int closid) in closid_allocated() argument 159 return (closid_free_map & (1 << closid)) == 0; in closid_allocated() 171 enum rdtgrp_mode rdtgroup_mode_by_closid(int closid) in rdtgroup_mode_by_closid() argument [all …]
|
D | internal.h | 225 u32 closid; member 521 unsigned long cbm, int closid, bool exclusive); 524 enum rdtgrp_mode rdtgroup_mode_by_closid(int closid); 536 void closid_free(int closid);
|
D | monitor.c | 521 u32 closid, rmid, cur_msr_val, new_msr_val; in update_mba_bw() local 534 closid = rgrp->closid; in update_mba_bw() 545 user_bw = dom_mba->mbps_val[closid]; in update_mba_bw() 549 cur_msr_val = resctrl_arch_get_config(r_mba, dom_mba, closid, CDP_NONE); in update_mba_bw() 584 resctrl_arch_update_one(r_mba, dom_mba, closid, CDP_NONE, new_msr_val); in update_mba_bw()
|
D | pseudo_lock.c | 494 __wrmsr(MSR_IA32_PQR_ASSOC, rmid_p, rdtgrp->closid); in pseudo_lock_fn() 1392 closid_free(rdtgrp->closid); in rdtgroup_pseudo_lock_create() 1435 closid_free(rdtgrp->closid); in rdtgroup_pseudo_lock_remove()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | resctrl.h | 55 u32 closid = state->default_closid; in __resctrl_sched_in() local 64 tmp = READ_ONCE(tsk->closid); in __resctrl_sched_in() 66 closid = tmp; in __resctrl_sched_in() 75 if (closid != state->cur_closid || rmid != state->cur_rmid) { in __resctrl_sched_in() 76 state->cur_closid = closid; in __resctrl_sched_in() 78 wrmsr(MSR_IA32_PQR_ASSOC, rmid, closid); in __resctrl_sched_in()
|
/linux-6.6.21/include/linux/ |
D | resctrl.h | 209 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid); 216 u32 closid, enum resctrl_conf_type t, u32 cfg_val); 219 u32 closid, enum resctrl_conf_type type);
|
D | sched.h | 1230 u32 closid; member
|
/linux-6.6.21/Documentation/arch/x86/ |
D | resctrl.rst | 659 - At this point the closid CLOSNEW can be released - the cache
|