Searched refs:rdtgrp (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/arch/x86/kernel/cpu/resctrl/ |
D | pseudo_lock.c | 153 struct rdtgroup *rdtgrp, *rdtgrp_match = NULL; in region_find_by_minor() local 155 list_for_each_entry(rdtgrp, &rdt_all_groups, rdtgroup_list) { in region_find_by_minor() 156 if (rdtgrp->plr && rdtgrp->plr->minor == minor) { in region_find_by_minor() 157 rdtgrp_match = rdtgrp; in region_find_by_minor() 320 static int pseudo_lock_init(struct rdtgroup *rdtgrp) in pseudo_lock_init() argument 330 rdtgrp->plr = plr; in pseudo_lock_init() 387 static void pseudo_lock_free(struct rdtgroup *rdtgrp) in pseudo_lock_free() argument 389 pseudo_lock_region_clear(rdtgrp->plr); in pseudo_lock_free() 390 kfree(rdtgrp->plr); in pseudo_lock_free() 391 rdtgrp->plr = NULL; in pseudo_lock_free() [all …]
|
D | ctrlmondata.c | 131 struct rdtgroup *rdtgrp = data->rdtgrp; in parse_cbm() local 143 if (rdtgrp->mode == RDT_MODE_PSEUDO_LOCKSETUP && in parse_cbm() 152 if ((rdtgrp->mode == RDT_MODE_EXCLUSIVE || in parse_cbm() 153 rdtgrp->mode == RDT_MODE_SHAREABLE) && in parse_cbm() 163 if (rdtgroup_cbm_overlaps(r, d, cbm_val, rdtgrp->closid, true)) { in parse_cbm() 168 if (rdtgroup_cbm_overlaps(r, d, cbm_val, rdtgrp->closid, false)) { in parse_cbm() 169 if (rdtgrp->mode == RDT_MODE_EXCLUSIVE || in parse_cbm() 170 rdtgrp->mode == RDT_MODE_PSEUDO_LOCKSETUP) { in parse_cbm() 189 struct rdtgroup *rdtgrp) in parse_line() argument 196 if (rdtgrp->mode == RDT_MODE_PSEUDO_LOCKSETUP && in parse_line() [all …]
|
D | rdtgroup.c | 157 struct rdtgroup *rdtgrp; in rdtgroup_mode_by_closid() local 159 list_for_each_entry(rdtgrp, &rdt_all_groups, rdtgroup_list) { in rdtgroup_mode_by_closid() 160 if (rdtgrp->closid == closid) in rdtgroup_mode_by_closid() 161 return rdtgrp->mode; in rdtgroup_mode_by_closid() 264 struct rdtgroup *rdtgrp; in rdtgroup_cpus_show() local 268 rdtgrp = rdtgroup_kn_lock_live(of->kn); in rdtgroup_cpus_show() 270 if (rdtgrp) { in rdtgroup_cpus_show() 271 if (rdtgrp->mode == RDT_MODE_PSEUDO_LOCKED) { in rdtgroup_cpus_show() 272 if (!rdtgrp->plr->d) { in rdtgroup_cpus_show() 277 mask = &rdtgrp->plr->d->cpu_mask; in rdtgroup_cpus_show() [all …]
|
D | internal.h | 439 struct rdtgroup *rdtgrp; member 595 int rdtgroup_locksetup_enter(struct rdtgroup *rdtgrp); 596 int rdtgroup_locksetup_exit(struct rdtgroup *rdtgrp); 601 int rdtgroup_pseudo_lock_create(struct rdtgroup *rdtgrp); 602 void rdtgroup_pseudo_lock_remove(struct rdtgroup *rdtgrp); 617 struct rdt_domain *d, struct rdtgroup *rdtgrp,
|
D | monitor.c | 297 struct rdtgroup *rdtgrp, *entry; in mon_event_count() local 301 rdtgrp = rr->rgrp; in mon_event_count() 303 if (__mon_event_count(rdtgrp->mon.rmid, rr)) in mon_event_count() 309 head = &rdtgrp->mon.crdtgrp_list; in mon_event_count() 311 if (rdtgrp->type == RDTCTRL_GROUP) { in mon_event_count()
|
D | core.c | 710 struct rdtgroup *rdtgrp; in resctrl_offline_cpu() local 716 list_for_each_entry(rdtgrp, &rdt_all_groups, rdtgroup_list) { in resctrl_offline_cpu() 717 if (cpumask_test_and_clear_cpu(cpu, &rdtgrp->cpu_mask)) { in resctrl_offline_cpu() 718 clear_childcpus(rdtgrp, cpu); in resctrl_offline_cpu()
|