Searched defs:tsk (Results 1 – 4 of 4) sorted by relevance
29 #define restore_fpu(tsk) alternative_input( "nop ; frstor %1", "fxrstor %1", X86_FEATURE_FX… argument32 #define __unlazy_fpu( tsk ) do { if (task_thread_info(tsk)->status & TS_USEDFPU) { __save_init_… argument34 #define __clear_fpu( tsk ) do { if (task_thread_info(tsk)->status & TS_USEDFPU) { asm volatile… argument35 #define unlazy_fpu( tsk ) do { preempt_disable(); __unlazy_fpu(tsk); preempt_enable(); } whi… argument36 #define clear_fpu( tsk ) do { preempt_disable(); __clear_fpu( tsk ); preempt_enable(); } whi… argument
30 #define __save_dsp(tsk) do { tsk->thread.dsp.dspr[0] = mfhi1(); tsk->thread.dsp.dspr[1] = mflo… argument31 #define save_dsp(tsk) do { if (cpu_has_dsp) __save_dsp(tsk); } while (0) argument32 #define __restore_dsp(tsk) do { mthi1(tsk->thread.dsp.dspr[0]); mtlo1(tsk->thread.dsp.dspr[1])… argument34 #define restore_dsp(tsk) do { if (cpu_has_dsp) __restore_dsp(tsk); } while (0) argument35 #define __get_dsp_regs(tsk) ({ if (tsk == current) __save_dsp(current); tsk->thread.dsp.ds… argument
82 #define prepare_to_copy(tsk) do { } while (0) argument84 #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + THREAD_SIZE - 32) argument85 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk) - 1) argument86 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc) argument87 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29]) argument89 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status) argument
209 struct task_struct *tsk; member