Lines Matching refs:task
29 static inline bool mips_syscall_is_indirect(struct task_struct *task,
34 test_tsk_thread_flag(task, TIF_32BIT_REGS)) &&
38 static inline long syscall_get_nr(struct task_struct *task,
41 return task_thread_info(task)->syscall;
44 static inline void mips_syscall_update_nr(struct task_struct *task,
51 if (mips_syscall_is_indirect(task, regs))
52 task_thread_info(task)->syscall = regs->regs[4];
54 task_thread_info(task)->syscall = regs->regs[2];
58 struct task_struct *task, struct pt_regs *regs, unsigned int n)
72 test_tsk_thread_flag(task, TIF_32BIT_REGS)))
77 static inline long syscall_get_error(struct task_struct *task,
83 static inline long syscall_get_return_value(struct task_struct *task,
89 static inline void syscall_rollback(struct task_struct *task,
95 static inline void syscall_set_return_value(struct task_struct *task,
108 static inline void syscall_get_arguments(struct task_struct *task,
116 if (mips_syscall_is_indirect(task, regs))
120 mips_get_syscall_arg(args++, task, regs, i++);
127 static inline int syscall_get_arch(struct task_struct *task)
131 if (!test_tsk_thread_flag(task, TIF_32BIT_REGS)) {
134 if (test_tsk_thread_flag(task, TIF_32BIT_ADDR))