Lines Matching refs:set
732 unsigned int clear, unsigned int set, u64 now, in psi_group_change() argument
762 } else if (unlikely(set & TSK_ONCPU)) { in psi_group_change()
764 set &= ~TSK_ONCPU; in psi_group_change()
782 groupc->tasks[3], clear, set); in psi_group_change()
787 for (t = 0; set; set &= ~(1 << t), t++) in psi_group_change()
788 if (set & (1 << t)) in psi_group_change()
846 static void psi_flags_change(struct task_struct *task, int clear, int set) in psi_flags_change() argument
848 if (((task->psi_flags & set) || in psi_flags_change()
853 task->psi_flags, clear, set); in psi_flags_change()
858 task->psi_flags |= set; in psi_flags_change()
861 void psi_task_change(struct task_struct *task, int clear, int set) in psi_task_change() argument
870 psi_flags_change(task, clear, set); in psi_task_change()
876 psi_group_change(group, cpu, clear, set, now, true); in psi_task_change()
907 int clear = TSK_ONCPU, set = 0; in psi_task_switch() local
921 set |= TSK_IOWAIT; in psi_task_switch()
934 psi_flags_change(prev, clear, set); in psi_task_switch()
940 psi_group_change(group, cpu, clear, set, now, wake_clock); in psi_task_switch()
952 psi_group_change(group, cpu, clear, set, now, wake_clock); in psi_task_switch()