Home
last modified time | relevance | path

Searched defs:tsk (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/kernel/arch-x86/asm/
Di387_32.h29 #define restore_fpu(tsk) alternative_input( "nop ; frstor %1", "fxrstor %1", X86_FEATURE_FX… argument
32 #define __unlazy_fpu( tsk ) do { if (task_thread_info(tsk)->status & TS_USEDFPU) { __save_init_… argument
34 #define __clear_fpu( tsk ) do { if (task_thread_info(tsk)->status & TS_USEDFPU) { asm volatile… argument
35 #define unlazy_fpu( tsk ) do { preempt_disable(); __unlazy_fpu(tsk); preempt_enable(); } whi… argument
36 #define clear_fpu( tsk ) do { preempt_disable(); __clear_fpu( tsk ); preempt_enable(); } whi… argument
/bionic/libc/kernel/arch-mips/asm/
Ddsp.h30 #define __save_dsp(tsk) do { tsk->thread.dsp.dspr[0] = mfhi1(); tsk->thread.dsp.dspr[1] = mflo… argument
31 #define save_dsp(tsk) do { if (cpu_has_dsp) __save_dsp(tsk); } while (0) argument
32 #define __restore_dsp(tsk) do { mthi1(tsk->thread.dsp.dspr[0]); mtlo1(tsk->thread.dsp.dspr[1])… argument
34 #define restore_dsp(tsk) do { if (cpu_has_dsp) __restore_dsp(tsk); } while (0) argument
35 #define __get_dsp_regs(tsk) ({ if (tsk == current) __save_dsp(current); tsk->thread.dsp.ds… argument
Dprocessor.h82 #define prepare_to_copy(tsk) do { } while (0) argument
84 #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + THREAD_SIZE - 32) argument
85 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk) - 1) argument
86 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc) argument
87 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29]) argument
89 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status) argument
/bionic/libc/kernel/common/linux/raid/
Dmd_k.h209 struct task_struct *tsk; member