Lines Matching defs: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)
77 if (test_tsk_thread_flag(task, TIF_32BIT_REGS))
93 static inline long syscall_get_error(struct task_struct *task,
99 static inline long syscall_get_return_value(struct task_struct *task,
105 static inline void syscall_rollback(struct task_struct *task,
111 static inline void syscall_set_return_value(struct task_struct *task,
124 static inline void syscall_get_arguments(struct task_struct *task,
132 if (mips_syscall_is_indirect(task, regs))
136 mips_get_syscall_arg(args++, task, regs, i++);
143 static inline int syscall_get_arch(struct task_struct *task)
147 if (!test_tsk_thread_flag(task, TIF_32BIT_REGS)) {
150 if (test_tsk_thread_flag(task, TIF_32BIT_ADDR))