Home
last modified time | relevance | path

Searched refs:closid (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/arch/x86/kernel/cpu/resctrl/
Dctrlmondata.c64 u32 closid = data->rdtgrp->closid; in parse_bw() local
78 d->mbps_val[closid] = bw_val; in parse_bw()
176 if (rdtgroup_cbm_overlaps(s, d, cbm_val, rdtgrp->closid, true)) { in parse_cbm()
181 if (rdtgroup_cbm_overlaps(s, d, cbm_val, rdtgrp->closid, false)) { in parse_cbm()
256 static u32 get_config_index(u32 closid, enum resctrl_conf_type type) in get_config_index() argument
261 return closid; in get_config_index()
263 return closid * 2 + 1; in get_config_index()
265 return closid * 2; in get_config_index()
286 u32 closid, enum resctrl_conf_type t, u32 cfg_val) in resctrl_arch_update_one() argument
290 u32 idx = get_config_index(closid, t); in resctrl_arch_update_one()
[all …]
Drdtgroup.c122 u32 closid = ffs(closid_free_map); in closid_alloc() local
124 if (closid == 0) in closid_alloc()
126 closid--; in closid_alloc()
127 closid_free_map &= ~(1 << closid); in closid_alloc()
129 return closid; in closid_alloc()
132 void closid_free(int closid) in closid_free() argument
134 closid_free_map |= 1 << closid; in closid_free()
144 static bool closid_allocated(unsigned int closid) in closid_allocated() argument
146 return (closid_free_map & (1 << closid)) == 0; in closid_allocated()
158 enum rdtgrp_mode rdtgroup_mode_by_closid(int closid) in rdtgroup_mode_by_closid() argument
[all …]
Dinternal.h210 u32 closid; member
505 unsigned long cbm, int closid, bool exclusive);
508 enum rdtgrp_mode rdtgroup_mode_by_closid(int closid);
520 void closid_free(int closid);
Dmonitor.c492 u32 closid, rmid, cur_msr_val, new_msr_val; in update_mba_bw() local
505 closid = rgrp->closid; in update_mba_bw()
516 user_bw = dom_mba->mbps_val[closid]; in update_mba_bw()
520 cur_msr_val = resctrl_arch_get_config(r_mba, dom_mba, closid, CDP_NONE); in update_mba_bw()
555 resctrl_arch_update_one(r_mba, dom_mba, closid, CDP_NONE, new_msr_val); in update_mba_bw()
Dpseudo_lock.c480 __wrmsr(IA32_PQR_ASSOC, rmid_p, rdtgrp->closid); in pseudo_lock_fn()
1378 closid_free(rdtgrp->closid); in rdtgroup_pseudo_lock_create()
1421 closid_free(rdtgrp->closid); in rdtgroup_pseudo_lock_remove()
/Linux-v6.1/arch/x86/include/asm/
Dresctrl.h57 u32 closid = state->default_closid; in __resctrl_sched_in() local
66 tmp = READ_ONCE(current->closid); in __resctrl_sched_in()
68 closid = tmp; in __resctrl_sched_in()
77 if (closid != state->cur_closid || rmid != state->cur_rmid) { in __resctrl_sched_in()
78 state->cur_closid = closid; in __resctrl_sched_in()
80 wrmsr(IA32_PQR_ASSOC, rmid, closid); in __resctrl_sched_in()
/Linux-v6.1/include/linux/
Dresctrl.h209 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);
Dsched.h1232 u32 closid; member
/Linux-v6.1/Documentation/x86/
Dresctrl.rst509 - At this point the closid CLOSNEW can be released - the cache