Lines Matching refs:tif
957 static inline bool set_nr_and_not_polling(struct thread_info *ti, int tif) in set_nr_and_not_polling() argument
959 return !(fetch_or(&ti->flags, 1 << tif) & _TIF_POLLING_NRFLAG); in set_nr_and_not_polling()
984 static inline bool set_nr_and_not_polling(struct thread_info *ti, int tif) in set_nr_and_not_polling() argument
986 set_ti_thread_flag(ti, tif); in set_nr_and_not_polling()
1092 static void __resched_curr(struct rq *rq, int tif) in __resched_curr() argument
1104 if (is_idle_task(curr) && tif == TIF_NEED_RESCHED_LAZY) in __resched_curr()
1105 tif = TIF_NEED_RESCHED; in __resched_curr()
1107 if (cti->flags & ((1 << tif) | _TIF_NEED_RESCHED)) in __resched_curr()
1113 set_ti_thread_flag(cti, tif); in __resched_curr()
1114 if (tif == TIF_NEED_RESCHED) in __resched_curr()
1119 if (set_nr_and_not_polling(cti, tif)) { in __resched_curr()
1120 if (tif == TIF_NEED_RESCHED) in __resched_curr()