Lines Matching refs:tsk
315 #define task_pt_regs(tsk) ((tsk)->thread.regs) argument
319 #define KSTK_EIP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0) argument
320 #define KSTK_ESP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->gpr[1]: 0) argument
323 #define GET_FPEXC_CTL(tsk, adr) get_fpexc_mode((tsk), (adr)) argument
324 #define SET_FPEXC_CTL(tsk, val) set_fpexc_mode((tsk), (val)) argument
326 extern int get_fpexc_mode(struct task_struct *tsk, unsigned long adr);
327 extern int set_fpexc_mode(struct task_struct *tsk, unsigned int val);
329 #define GET_ENDIAN(tsk, adr) get_endian((tsk), (adr)) argument
330 #define SET_ENDIAN(tsk, val) set_endian((tsk), (val)) argument
332 extern int get_endian(struct task_struct *tsk, unsigned long adr);
333 extern int set_endian(struct task_struct *tsk, unsigned int val);
335 #define GET_UNALIGN_CTL(tsk, adr) get_unalign_ctl((tsk), (adr)) argument
336 #define SET_UNALIGN_CTL(tsk, val) set_unalign_ctl((tsk), (val)) argument
338 extern int get_unalign_ctl(struct task_struct *tsk, unsigned long adr);
339 extern int set_unalign_ctl(struct task_struct *tsk, unsigned int val);