Lines Matching refs:prgrp
336 struct rdtgroup *prgrp = rdtgrp->mon.parent, *crgrp; in cpus_mon_write() local
340 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write()
350 cpumask_or(&prgrp->cpu_mask, &prgrp->cpu_mask, tmpmask); in cpus_mon_write()
351 update_closid_rmid(tmpmask, prgrp); in cpus_mon_write()
360 head = &prgrp->mon.crdtgrp_list; in cpus_mon_write()
1846 mongroup_create_dir(struct kernfs_node *parent_kn, struct rdtgroup *prgrp, in mongroup_create_dir() argument
1853 kn = kernfs_create_dir(parent_kn, name, parent_kn->mode, prgrp); in mongroup_create_dir()
2098 struct rdtgroup *prgrp,
2476 struct rdtgroup *prgrp, *crgrp; in rmdir_mondata_subdir_allrdtgrp() local
2482 list_for_each_entry(prgrp, &rdt_all_groups, rdtgroup_list) { in rmdir_mondata_subdir_allrdtgrp()
2484 kernfs_remove_by_name(prgrp->mon.mon_data_kn, name); in rmdir_mondata_subdir_allrdtgrp()
2486 list_for_each_entry(crgrp, &prgrp->mon.crdtgrp_list, mon.crdtgrp_list) in rmdir_mondata_subdir_allrdtgrp()
2493 struct rdt_resource *r, struct rdtgroup *prgrp) in mkdir_mondata_subdir() argument
2504 kn = kernfs_create_dir(parent_kn, name, parent_kn->mode, prgrp); in mkdir_mondata_subdir()
2526 mon_event_read(&rr, r, d, prgrp, mevt->evtid, true); in mkdir_mondata_subdir()
2544 struct rdtgroup *prgrp, *crgrp; in mkdir_mondata_subdir_allrdtgrp() local
2550 list_for_each_entry(prgrp, &rdt_all_groups, rdtgroup_list) { in mkdir_mondata_subdir_allrdtgrp()
2551 parent_kn = prgrp->mon.mon_data_kn; in mkdir_mondata_subdir_allrdtgrp()
2552 mkdir_mondata_subdir(parent_kn, d, r, prgrp); in mkdir_mondata_subdir_allrdtgrp()
2554 head = &prgrp->mon.crdtgrp_list; in mkdir_mondata_subdir_allrdtgrp()
2564 struct rdtgroup *prgrp) in mkdir_mondata_subdir_alldom() argument
2570 ret = mkdir_mondata_subdir(parent_kn, dom, r, prgrp); in mkdir_mondata_subdir_alldom()
2596 struct rdtgroup *prgrp, in mkdir_mondata_all() argument
2606 ret = mongroup_create_dir(parent_kn, prgrp, "mon_data", &kn); in mkdir_mondata_all()
2618 ret = mkdir_mondata_subdir_alldom(kn, r, prgrp); in mkdir_mondata_all()
2908 struct rdtgroup *rdtgrp, *prgrp; in rdtgroup_mkdir_mon() local
2915 prgrp = rdtgrp->mon.parent; in rdtgroup_mkdir_mon()
2916 rdtgrp->closid = prgrp->closid; in rdtgroup_mkdir_mon()
2922 list_add_tail(&rdtgrp->mon.crdtgrp_list, &prgrp->mon.crdtgrp_list); in rdtgroup_mkdir_mon()