Lines Matching refs:rdtgroup_default
42 struct rdtgroup rdtgroup_default; variable
433 if (rdtgrp == &rdtgroup_default) { in cpus_ctrl_write()
439 cpumask_or(&rdtgroup_default.cpu_mask, in cpus_ctrl_write()
440 &rdtgroup_default.cpu_mask, tmpmask); in cpus_ctrl_write()
441 update_closid_rmid(tmpmask, &rdtgroup_default); in cpus_ctrl_write()
909 seq_printf(s, "res:%s%s\n", (rdtg == &rdtgroup_default) ? "/" : "", in proc_resctrl_show()
2664 ret = rdtgroup_add_files(rdtgroup_default.kn, flags); in rdt_get_tree()
2668 kernfs_activate(rdtgroup_default.kn); in rdt_get_tree()
2670 ret = rdtgroup_create_info_dir(rdtgroup_default.kn); in rdt_get_tree()
2675 ret = mongroup_create_dir(rdtgroup_default.kn, in rdt_get_tree()
2676 &rdtgroup_default, "mon_groups", in rdt_get_tree()
2681 ret = mkdir_mondata_all(rdtgroup_default.kn, in rdt_get_tree()
2682 &rdtgroup_default, &kn_mondata); in rdt_get_tree()
2685 rdtgroup_default.mon.mon_data_kn = kn_mondata; in rdt_get_tree()
2914 rdt_move_group_tasks(NULL, &rdtgroup_default, NULL); in rmdir_all_sub()
2921 if (rdtgrp == &rdtgroup_default) in rmdir_all_sub()
2933 cpumask_or(&rdtgroup_default.cpu_mask, in rmdir_all_sub()
2934 &rdtgroup_default.cpu_mask, &rdtgrp->cpu_mask); in rmdir_all_sub()
2947 update_closid_rmid(cpu_online_mask, &rdtgroup_default); in rmdir_all_sub()
2968 rdtgroup_default.mode = RDT_MODE_SHAREABLE; in rdt_kill_sb()
3670 if (resctrl_arch_alloc_capable() && parent_kn == rdtgroup_default.kn) in rdtgroup_mkdir()
3729 rdt_move_group_tasks(rdtgrp, &rdtgroup_default, tmpmask); in rdtgroup_rmdir_ctrl()
3732 cpumask_or(&rdtgroup_default.cpu_mask, in rdtgroup_rmdir_ctrl()
3733 &rdtgroup_default.cpu_mask, &rdtgrp->cpu_mask); in rdtgroup_rmdir_ctrl()
3737 per_cpu(pqr_state.default_closid, cpu) = rdtgroup_default.closid; in rdtgroup_rmdir_ctrl()
3738 per_cpu(pqr_state.default_rmid, cpu) = rdtgroup_default.mon.rmid; in rdtgroup_rmdir_ctrl()
3784 if (rdtgrp->type == RDTCTRL_GROUP && parent_kn == rdtgroup_default.kn && in rdtgroup_rmdir()
3785 rdtgrp != &rdtgroup_default) { in rdtgroup_rmdir()
3961 &rdtgroup_default); in rdtgroup_setup_root()
3966 rdtgroup_default.kn = kernfs_root_to_node(rdt_root); in rdtgroup_setup_root()
3974 rdtgroup_default.kn = NULL; in rdtgroup_destroy_root()
3981 rdtgroup_default.closid = RESCTRL_RESERVED_CLOSID; in rdtgroup_setup_default()
3982 rdtgroup_default.mon.rmid = RESCTRL_RESERVED_RMID; in rdtgroup_setup_default()
3983 rdtgroup_default.type = RDTCTRL_GROUP; in rdtgroup_setup_default()
3984 INIT_LIST_HEAD(&rdtgroup_default.mon.crdtgrp_list); in rdtgroup_setup_default()
3986 list_add(&rdtgroup_default.rdtgroup_list, &rdt_all_groups); in rdtgroup_setup_default()
4124 cpumask_set_cpu(cpu, &rdtgroup_default.cpu_mask); in resctrl_online_cpu()