Lines Matching refs:rdtgroup

39 struct rdtgroup rdtgroup_default;
173 struct rdtgroup *rdtgrp; in rdtgroup_mode_by_closid()
280 struct rdtgroup *rdtgrp; in rdtgroup_cpus_show()
318 struct rdtgroup *r = info; in update_cpu_closid_rmid()
339 update_closid_rmid(const struct cpumask *cpu_mask, struct rdtgroup *r) in update_closid_rmid()
344 static int cpus_mon_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_mon_write()
347 struct rdtgroup *prgrp = rdtgrp->mon.parent, *crgrp; in cpus_mon_write()
387 static void cpumask_rdtgrp_clear(struct rdtgroup *r, struct cpumask *m) in cpumask_rdtgrp_clear()
389 struct rdtgroup *crgrp; in cpumask_rdtgrp_clear()
397 static int cpus_ctrl_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, in cpus_ctrl_write()
400 struct rdtgroup *r, *crgrp; in cpus_ctrl_write()
456 struct rdtgroup *rdtgrp; in rdtgroup_cpus_write()
533 static void rdtgroup_remove(struct rdtgroup *rdtgrp) in rdtgroup_remove()
558 struct rdtgroup *rdtgrp) in __rdtgroup_move_task()
607 static bool is_closid_match(struct task_struct *t, struct rdtgroup *r) in is_closid_match()
613 static bool is_rmid_match(struct task_struct *t, struct rdtgroup *r) in is_rmid_match()
625 int rdtgroup_tasks_assigned(struct rdtgroup *r) in rdtgroup_tasks_assigned()
666 static int rdtgroup_move_task(pid_t pid, struct rdtgroup *rdtgrp, in rdtgroup_move_task()
698 struct rdtgroup *rdtgrp; in rdtgroup_tasks_write()
726 static void show_rdt_tasks(struct rdtgroup *r, struct seq_file *s) in show_rdt_tasks()
745 struct rdtgroup *rdtgrp; in rdtgroup_tasks_show()
794 struct rdtgroup *rdtg; in proc_resctrl_show()
806 struct rdtgroup *crg; in proc_resctrl_show()
1093 struct rdtgroup *rdtgrp; in rdtgroup_mode_show()
1222 static bool rdtgroup_mode_test_exclusive(struct rdtgroup *rdtgrp) in rdtgroup_mode_test_exclusive()
1261 struct rdtgroup *rdtgrp; in rdtgroup_mode_write()
1372 struct rdtgroup *rdtgrp; in rdtgroup_size_show()
1928 int rdtgroup_kn_mode_restrict(struct rdtgroup *r, const char *name) in rdtgroup_kn_mode_restrict()
1966 int rdtgroup_kn_mode_restore(struct rdtgroup *r, const char *name, in rdtgroup_kn_mode_restore()
2078 mongroup_create_dir(struct kernfs_node *parent_kn, struct rdtgroup *prgrp, in mongroup_create_dir()
2292 static struct rdtgroup *kernfs_to_rdtgroup(struct kernfs_node *kn) in kernfs_to_rdtgroup()
2310 static void rdtgroup_kn_get(struct rdtgroup *rdtgrp, struct kernfs_node *kn) in rdtgroup_kn_get()
2316 static void rdtgroup_kn_put(struct rdtgroup *rdtgrp, struct kernfs_node *kn) in rdtgroup_kn_put()
2330 struct rdtgroup *rdtgroup_kn_lock_live(struct kernfs_node *kn) in rdtgroup_kn_lock_live()
2332 struct rdtgroup *rdtgrp = kernfs_to_rdtgroup(kn); in rdtgroup_kn_lock_live()
2350 struct rdtgroup *rdtgrp = kernfs_to_rdtgroup(kn); in rdtgroup_kn_unlock()
2360 struct rdtgroup *prgrp,
2678 static void rdt_move_group_tasks(struct rdtgroup *from, struct rdtgroup *to, in rdt_move_group_tasks()
2712 static void free_all_child_rdtgrp(struct rdtgroup *rdtgrp) in free_all_child_rdtgrp()
2714 struct rdtgroup *sentry, *stmp; in free_all_child_rdtgrp()
2734 struct rdtgroup *rdtgrp, *tmp; in rmdir_all_sub()
2837 struct rdtgroup *prgrp, *crgrp; in rmdir_mondata_subdir_allrdtgrp()
2851 struct rdt_resource *r, struct rdtgroup *prgrp) in mkdir_mondata_subdir()
2902 struct rdtgroup *prgrp, *crgrp; in mkdir_mondata_subdir_allrdtgrp()
2919 struct rdtgroup *prgrp) in mkdir_mondata_subdir_alldom()
2951 struct rdtgroup *prgrp, in mkdir_mondata_all()
3134 static int rdtgroup_init_alloc(struct rdtgroup *rdtgrp) in rdtgroup_init_alloc()
3172 enum rdt_group_type rtype, struct rdtgroup **r) in mkdir_rdt_prepare()
3174 struct rdtgroup *prdtgrp, *rdtgrp; in mkdir_rdt_prepare()
3268 static void mkdir_rdt_prepare_clean(struct rdtgroup *rgrp) in mkdir_rdt_prepare_clean()
3283 struct rdtgroup *rdtgrp, *prgrp; in rdtgroup_mkdir_mon()
3310 struct rdtgroup *rdtgrp; in rdtgroup_mkdir_ctrl_mon()
3401 static int rdtgroup_rmdir_mon(struct rdtgroup *rdtgrp, cpumask_var_t tmpmask) in rdtgroup_rmdir_mon()
3403 struct rdtgroup *prdtgrp = rdtgrp->mon.parent; in rdtgroup_rmdir_mon()
3433 static int rdtgroup_ctrl_remove(struct rdtgroup *rdtgrp) in rdtgroup_ctrl_remove()
3442 static int rdtgroup_rmdir_ctrl(struct rdtgroup *rdtgrp, cpumask_var_t tmpmask) in rdtgroup_rmdir_ctrl()
3482 struct rdtgroup *rdtgrp; in rdtgroup_rmdir()
3533 static void mongrp_reparent(struct rdtgroup *rdtgrp, in mongrp_reparent()
3534 struct rdtgroup *new_prdtgrp, in mongrp_reparent()
3537 struct rdtgroup *prdtgrp = rdtgrp->mon.parent; in mongrp_reparent()
3562 struct rdtgroup *new_prdtgrp; in rdtgroup_rename()
3563 struct rdtgroup *rdtgrp; in rdtgroup_rename()