Lines Matching refs:task
27 static inline void fstate_off(struct task_struct *task, in fstate_off() argument
33 static inline void fstate_save(struct task_struct *task, in fstate_save() argument
37 __fstate_save(task); in fstate_save()
42 static inline void fstate_restore(struct task_struct *task, in fstate_restore() argument
46 __fstate_restore(task); in fstate_restore()
68 #define fstate_save(task, regs) do { } while (0) argument
69 #define fstate_restore(task, regs) do { } while (0) argument
73 static inline void envcfg_update_bits(struct task_struct *task, in envcfg_update_bits() argument
78 envcfg = (task->thread.envcfg & ~mask) | val; in envcfg_update_bits()
79 task->thread.envcfg = envcfg; in envcfg_update_bits()
80 if (task == current) in envcfg_update_bits()
94 static inline bool switch_to_should_flush_icache(struct task_struct *task) in switch_to_should_flush_icache() argument
97 bool stale_mm = task->mm && task->mm->context.force_icache_flush; in switch_to_should_flush_icache()
98 bool stale_thread = task->thread.force_icache_flush; in switch_to_should_flush_icache()
99 bool thread_migrated = smp_processor_id() != task->thread.prev_cpu; in switch_to_should_flush_icache()