Searched refs:tif (Results 1 – 2 of 2) sorted by relevance
1037 static inline bool set_nr_and_not_polling(struct thread_info *ti, int tif) in set_nr_and_not_polling() argument1039 return !(fetch_or(&ti->flags, 1 << tif) & _TIF_POLLING_NRFLAG); in set_nr_and_not_polling()1064 static inline bool set_nr_and_not_polling(struct thread_info *ti, int tif) in set_nr_and_not_polling() argument1066 set_ti_thread_flag(ti, tif); in set_nr_and_not_polling()1170 static void __resched_curr(struct rq *rq, int tif) in __resched_curr() argument1182 if (is_idle_task(curr) && tif == TIF_NEED_RESCHED_LAZY) in __resched_curr()1183 tif = TIF_NEED_RESCHED; in __resched_curr()1185 if (cti->flags & ((1 << tif) | _TIF_NEED_RESCHED)) in __resched_curr()1190 trace_sched_set_need_resched_tp(curr, cpu, tif); in __resched_curr()1192 set_ti_thread_flag(cti, tif); in __resched_curr()[all …]
353 extern void __trace_set_need_resched(struct task_struct *curr, int tif);