Lines Matching refs:prgrp
373 struct rdtgroup *prgrp = rdtgrp->mon.parent, *crgrp; in cpus_mon_write() local
377 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write()
387 cpumask_or(&prgrp->cpu_mask, &prgrp->cpu_mask, tmpmask); in cpus_mon_write()
388 update_closid_rmid(tmpmask, prgrp); in cpus_mon_write()
397 head = &prgrp->mon.crdtgrp_list; in cpus_mon_write()
2210 mongroup_create_dir(struct kernfs_node *parent_kn, struct rdtgroup *prgrp, in mongroup_create_dir() argument
2217 kn = kernfs_create_dir(parent_kn, name, parent_kn->mode, prgrp); in mongroup_create_dir()
2494 struct rdtgroup *prgrp,
3033 struct rdtgroup *prgrp, *crgrp; in rmdir_mondata_subdir_allrdtgrp() local
3043 list_for_each_entry(prgrp, &rdt_all_groups, rdtgroup_list) { in rmdir_mondata_subdir_allrdtgrp()
3044 mon_rmdir_one_subdir(prgrp->mon.mon_data_kn, name, subname); in rmdir_mondata_subdir_allrdtgrp()
3046 list_for_each_entry(crgrp, &prgrp->mon.crdtgrp_list, mon.crdtgrp_list) in rmdir_mondata_subdir_allrdtgrp()
3052 struct rdt_resource *r, struct rdtgroup *prgrp, in mon_add_all_files() argument
3073 mon_event_read(&rr, r, d, prgrp, &d->hdr.cpu_mask, mevt->evtid, true); in mon_add_all_files()
3081 struct rdt_resource *r, struct rdtgroup *prgrp) in mkdir_mondata_subdir() argument
3100 kn = kernfs_create_dir(parent_kn, name, parent_kn->mode, prgrp); in mkdir_mondata_subdir()
3107 ret = mon_add_all_files(kn, d, r, prgrp, snc_mode); in mkdir_mondata_subdir()
3114 ckn = kernfs_create_dir(kn, name, parent_kn->mode, prgrp); in mkdir_mondata_subdir()
3124 ret = mon_add_all_files(ckn, d, r, prgrp, false); in mkdir_mondata_subdir()
3145 struct rdtgroup *prgrp, *crgrp; in mkdir_mondata_subdir_allrdtgrp() local
3148 list_for_each_entry(prgrp, &rdt_all_groups, rdtgroup_list) { in mkdir_mondata_subdir_allrdtgrp()
3149 parent_kn = prgrp->mon.mon_data_kn; in mkdir_mondata_subdir_allrdtgrp()
3150 mkdir_mondata_subdir(parent_kn, d, r, prgrp); in mkdir_mondata_subdir_allrdtgrp()
3152 head = &prgrp->mon.crdtgrp_list; in mkdir_mondata_subdir_allrdtgrp()
3162 struct rdtgroup *prgrp) in mkdir_mondata_subdir_alldom() argument
3171 ret = mkdir_mondata_subdir(parent_kn, dom, r, prgrp); in mkdir_mondata_subdir_alldom()
3197 struct rdtgroup *prgrp, in mkdir_mondata_all() argument
3207 ret = mongroup_create_dir(parent_kn, prgrp, "mon_data", &kn); in mkdir_mondata_all()
3219 ret = mkdir_mondata_subdir_alldom(kn, r, prgrp); in mkdir_mondata_all()
3547 struct rdtgroup *rdtgrp, *prgrp; in rdtgroup_mkdir_mon() local
3554 prgrp = rdtgrp->mon.parent; in rdtgroup_mkdir_mon()
3555 rdtgrp->closid = prgrp->closid; in rdtgroup_mkdir_mon()
3569 list_add_tail(&rdtgrp->mon.crdtgrp_list, &prgrp->mon.crdtgrp_list); in rdtgroup_mkdir_mon()