closid 57 arch/x86/include/asm/resctrl_sched.h u32 closid = state->default_closid; closid 65 arch/x86/include/asm/resctrl_sched.h if (current->closid) closid 66 arch/x86/include/asm/resctrl_sched.h closid = current->closid; closid 74 arch/x86/include/asm/resctrl_sched.h if (closid != state->cur_closid || rmid != state->cur_rmid) { closid 75 arch/x86/include/asm/resctrl_sched.h state->cur_closid = closid; closid 77 arch/x86/include/asm/resctrl_sched.h wrmsr(IA32_PQR_ASSOC, rmid, closid); closid 176 arch/x86/kernel/cpu/resctrl/core.c static unsigned int cbm_idx(struct rdt_resource *r, unsigned int closid) closid 178 arch/x86/kernel/cpu/resctrl/core.c return closid * r->cache.cbm_idx_mult + r->cache.cbm_idx_offset; closid 229 arch/x86/kernel/cpu/resctrl/ctrlmondata.c if (rdtgroup_cbm_overlaps(r, d, cbm_val, rdtgrp->closid, true)) { closid 234 arch/x86/kernel/cpu/resctrl/ctrlmondata.c if (rdtgroup_cbm_overlaps(r, d, cbm_val, rdtgrp->closid, false)) { closid 305 arch/x86/kernel/cpu/resctrl/ctrlmondata.c int update_domains(struct rdt_resource *r, int closid) closid 317 arch/x86/kernel/cpu/resctrl/ctrlmondata.c msr_param.low = closid; closid 324 arch/x86/kernel/cpu/resctrl/ctrlmondata.c if (d->have_new_ctrl && d->new_ctrl != dc[closid]) { closid 326 arch/x86/kernel/cpu/resctrl/ctrlmondata.c dc[closid] = d->new_ctrl; closid 356 arch/x86/kernel/cpu/resctrl/ctrlmondata.c if (!strcmp(resname, r->name) && rdtgrp->closid < r->num_closid) closid 419 arch/x86/kernel/cpu/resctrl/ctrlmondata.c ret = update_domains(r, rdtgrp->closid); closid 440 arch/x86/kernel/cpu/resctrl/ctrlmondata.c static void show_doms(struct seq_file *s, struct rdt_resource *r, int closid) closid 451 arch/x86/kernel/cpu/resctrl/ctrlmondata.c ctrl_val = (!is_mba_sc(r) ? dom->ctrl_val[closid] : closid 452 arch/x86/kernel/cpu/resctrl/ctrlmondata.c dom->mbps_val[closid]); closid 466 arch/x86/kernel/cpu/resctrl/ctrlmondata.c u32 closid; closid 485 arch/x86/kernel/cpu/resctrl/ctrlmondata.c closid = rdtgrp->closid; closid 487 arch/x86/kernel/cpu/resctrl/ctrlmondata.c if (closid < r->num_closid) closid 488 arch/x86/kernel/cpu/resctrl/ctrlmondata.c show_doms(s, r, closid); closid 204 arch/x86/kernel/cpu/resctrl/internal.h u32 closid; closid 564 arch/x86/kernel/cpu/resctrl/internal.h unsigned long cbm, int closid, bool exclusive); closid 567 arch/x86/kernel/cpu/resctrl/internal.h enum rdtgrp_mode rdtgroup_mode_by_closid(int closid); closid 578 arch/x86/kernel/cpu/resctrl/internal.h int update_domains(struct rdt_resource *r, int closid); closid 580 arch/x86/kernel/cpu/resctrl/internal.h void closid_free(int closid); closid 355 arch/x86/kernel/cpu/resctrl/monitor.c u32 closid, rmid, cur_msr, cur_msr_val, new_msr_val; closid 367 arch/x86/kernel/cpu/resctrl/monitor.c closid = rgrp->closid; closid 378 arch/x86/kernel/cpu/resctrl/monitor.c user_bw = dom_mba->mbps_val[closid]; closid 380 arch/x86/kernel/cpu/resctrl/monitor.c cur_msr_val = dom_mba->ctrl_val[closid]; closid 415 arch/x86/kernel/cpu/resctrl/monitor.c cur_msr = r_mba->msr_base + closid; closid 417 arch/x86/kernel/cpu/resctrl/monitor.c dom_mba->ctrl_val[closid] = new_msr_val; closid 474 arch/x86/kernel/cpu/resctrl/pseudo_lock.c __wrmsr(IA32_PQR_ASSOC, rmid_p, rdtgrp->closid); closid 1366 arch/x86/kernel/cpu/resctrl/pseudo_lock.c closid_free(rdtgrp->closid); closid 1409 arch/x86/kernel/cpu/resctrl/pseudo_lock.c closid_free(rdtgrp->closid); closid 119 arch/x86/kernel/cpu/resctrl/rdtgroup.c u32 closid = ffs(closid_free_map); closid 121 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (closid == 0) closid 123 arch/x86/kernel/cpu/resctrl/rdtgroup.c closid--; closid 124 arch/x86/kernel/cpu/resctrl/rdtgroup.c closid_free_map &= ~(1 << closid); closid 126 arch/x86/kernel/cpu/resctrl/rdtgroup.c return closid; closid 129 arch/x86/kernel/cpu/resctrl/rdtgroup.c void closid_free(int closid) closid 131 arch/x86/kernel/cpu/resctrl/rdtgroup.c closid_free_map |= 1 << closid; closid 141 arch/x86/kernel/cpu/resctrl/rdtgroup.c static bool closid_allocated(unsigned int closid) closid 143 arch/x86/kernel/cpu/resctrl/rdtgroup.c return (closid_free_map & (1 << closid)) == 0; closid 155 arch/x86/kernel/cpu/resctrl/rdtgroup.c enum rdtgrp_mode rdtgroup_mode_by_closid(int closid) closid 160 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (rdtgrp->closid == closid) closid 305 arch/x86/kernel/cpu/resctrl/rdtgroup.c this_cpu_write(pqr_state.default_closid, r->closid); closid 530 arch/x86/kernel/cpu/resctrl/rdtgroup.c current->closid = 0; closid 577 arch/x86/kernel/cpu/resctrl/rdtgroup.c tsk->closid = rdtgrp->closid; closid 580 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (rdtgrp->mon.parent->closid == tsk->closid) { closid 606 arch/x86/kernel/cpu/resctrl/rdtgroup.c if ((r->type == RDTCTRL_GROUP && t->closid == r->closid) || closid 705 arch/x86/kernel/cpu/resctrl/rdtgroup.c if ((r->type == RDTCTRL_GROUP && t->closid == r->closid) || closid 1061 arch/x86/kernel/cpu/resctrl/rdtgroup.c unsigned long cbm, int closid, bool exclusive) closid 1080 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (closid_allocated(i) && i != closid && closid 1117 arch/x86/kernel/cpu/resctrl/rdtgroup.c unsigned long cbm, int closid, bool exclusive) closid 1122 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (__rdtgroup_cbm_overlaps(r, d, cbm, closid, exclusive)) closid 1128 arch/x86/kernel/cpu/resctrl/rdtgroup.c return __rdtgroup_cbm_overlaps(r_cdp, d_cdp, cbm, closid, exclusive); closid 1145 arch/x86/kernel/cpu/resctrl/rdtgroup.c int closid = rdtgrp->closid; closid 1155 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (rdtgroup_cbm_overlaps(r, d, d->ctrl_val[closid], closid 1156 arch/x86/kernel/cpu/resctrl/rdtgroup.c rdtgrp->closid, false)) { closid 1327 arch/x86/kernel/cpu/resctrl/rdtgroup.c d->ctrl_val[rdtgrp->closid] : closid 1328 arch/x86/kernel/cpu/resctrl/rdtgroup.c d->mbps_val[rdtgrp->closid]); closid 2165 arch/x86/kernel/cpu/resctrl/rdtgroup.c (r->type == RDTCTRL_GROUP) && (t->closid == r->closid)); closid 2191 arch/x86/kernel/cpu/resctrl/rdtgroup.c t->closid = to->closid; closid 2533 arch/x86/kernel/cpu/resctrl/rdtgroup.c u32 closid) closid 2549 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (closid_allocated(i) && i != closid) { closid 2606 arch/x86/kernel/cpu/resctrl/rdtgroup.c static int rdtgroup_init_cat(struct rdt_resource *r, u32 closid) closid 2612 arch/x86/kernel/cpu/resctrl/rdtgroup.c ret = __init_one_rdt_domain(d, r, closid); closid 2641 arch/x86/kernel/cpu/resctrl/rdtgroup.c ret = rdtgroup_init_cat(r, rdtgrp->closid); closid 2646 arch/x86/kernel/cpu/resctrl/rdtgroup.c ret = update_domains(r, rdtgrp->closid); closid 2783 arch/x86/kernel/cpu/resctrl/rdtgroup.c rdtgrp->closid = prgrp->closid; closid 2805 arch/x86/kernel/cpu/resctrl/rdtgroup.c u32 closid; closid 2819 arch/x86/kernel/cpu/resctrl/rdtgroup.c closid = ret; closid 2822 arch/x86/kernel/cpu/resctrl/rdtgroup.c rdtgrp->closid = closid; closid 2846 arch/x86/kernel/cpu/resctrl/rdtgroup.c closid_free(closid); closid 2962 arch/x86/kernel/cpu/resctrl/rdtgroup.c per_cpu(pqr_state.default_closid, cpu) = rdtgroup_default.closid; closid 2973 arch/x86/kernel/cpu/resctrl/rdtgroup.c closid_free(rdtgrp->closid); closid 3063 arch/x86/kernel/cpu/resctrl/rdtgroup.c rdtgroup_default.closid = 0; closid 1047 include/linux/sched.h u32 closid;