Home
last modified time | relevance | path

Searched refs:tif (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/sched/
H A Dcore.c1062 static inline bool set_nr_and_not_polling(struct thread_info *ti, int tif) in set_nr_and_not_polling() argument
1064 return !(fetch_or(&ti->flags, 1 << tif) & _TIF_POLLING_NRFLAG); in set_nr_and_not_polling()
1089 static inline bool set_nr_and_not_polling(struct thread_info *ti, int tif) in set_nr_and_not_polling() argument
1091 set_ti_thread_flag(ti, tif); in set_nr_and_not_polling()
1195 static void __resched_curr(struct rq *rq, int tif) in __resched_curr() argument
1207 if (is_idle_task(curr) && tif == TIF_NEED_RESCHED_LAZY) in __resched_curr()
1208 tif = TIF_NEED_RESCHED; in __resched_curr()
1210 if (cti->flags & ((1 << tif) | _TIF_NEED_RESCHED)) in __resched_curr()
1215 trace_sched_set_need_resched_tp(curr, cpu, tif); in __resched_curr()
1217 set_ti_thread_flag(cti, tif); in __resched_curr()
[all …]
/linux/arch/x86/kernel/cpu/
H A Dbugs.c213 unsigned long tif; in x86_virt_spec_ctrl() local
215 tif = setguest ? ssbd_spec_ctrl_to_tif(guestval) : in x86_virt_spec_ctrl()
218 speculation_ctrl_update(tif); in x86_virt_spec_ctrl()