Lines Matching refs:t
549 static void update_task_closid_rmid(struct task_struct *t) in update_task_closid_rmid() argument
551 if (IS_ENABLED(CONFIG_SMP) && task_curr(t)) in update_task_closid_rmid()
552 smp_call_function_single(task_cpu(t), _update_task_closid_rmid, t, 1); in update_task_closid_rmid()
554 _update_task_closid_rmid(t); in update_task_closid_rmid()
607 static bool is_closid_match(struct task_struct *t, struct rdtgroup *r) in is_closid_match() argument
610 (r->type == RDTCTRL_GROUP) && (t->closid == r->closid)); in is_closid_match()
613 static bool is_rmid_match(struct task_struct *t, struct rdtgroup *r) in is_rmid_match() argument
616 (r->type == RDTMON_GROUP) && (t->rmid == r->mon.rmid)); in is_rmid_match()
627 struct task_struct *p, *t; in rdtgroup_tasks_assigned() local
633 for_each_process_thread(p, t) { in rdtgroup_tasks_assigned()
634 if (is_closid_match(t, r) || is_rmid_match(t, r)) { in rdtgroup_tasks_assigned()
728 struct task_struct *p, *t; in show_rdt_tasks() local
732 for_each_process_thread(p, t) { in show_rdt_tasks()
733 if (is_closid_match(t, r) || is_rmid_match(t, r)) { in show_rdt_tasks()
734 pid = task_pid_vnr(t); in show_rdt_tasks()
2681 struct task_struct *p, *t; in rdt_move_group_tasks() local
2684 for_each_process_thread(p, t) { in rdt_move_group_tasks()
2685 if (!from || is_closid_match(t, from) || in rdt_move_group_tasks()
2686 is_rmid_match(t, from)) { in rdt_move_group_tasks()
2687 WRITE_ONCE(t->closid, to->closid); in rdt_move_group_tasks()
2688 WRITE_ONCE(t->rmid, to->mon.rmid); in rdt_move_group_tasks()
2705 if (IS_ENABLED(CONFIG_SMP) && mask && task_curr(t)) in rdt_move_group_tasks()
2706 cpumask_set_cpu(task_cpu(t), mask); in rdt_move_group_tasks()
3027 enum resctrl_conf_type t = s->conf_type; in __init_one_rdt_domain() local
3036 cfg = &d->staged_config[t]; in __init_one_rdt_domain()