Searched refs:tsk (Results 1 – 4 of 4) sorted by relevance
30 …tsk) do { tsk->thread.dsp.dspr[0] = mfhi1(); tsk->thread.dsp.dspr[1] = mflo1(); tsk->thread… argument31 #define save_dsp(tsk) do { if (cpu_has_dsp) __save_dsp(tsk); } while (0) argument32 …tsk) do { mthi1(tsk->thread.dsp.dspr[0]); mtlo1(tsk->thread.dsp.dspr[1]); mthi2(tsk->thread… 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
79 #define prepare_to_copy(tsk) do { } while (0) argument80 #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + THREAD_SIZE - 32) argument81 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk) - 1) argument82 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc) argument84 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29]) argument85 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status) argument
201 #define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs) argument202 #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs) argument
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 …ne __clear_fpu( tsk ) do { if (task_thread_info(tsk)->status & TS_USEDFPU) { asm volatile("fn… 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