Lines Matching refs:task

29 static inline bool mips_syscall_is_indirect(struct task_struct *task,  in mips_syscall_is_indirect()  argument
34 test_tsk_thread_flag(task, TIF_32BIT_REGS)) && in mips_syscall_is_indirect()
38 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() argument
44 static inline void mips_syscall_update_nr(struct task_struct *task, in mips_syscall_update_nr() argument
51 if (mips_syscall_is_indirect(task, regs)) in mips_syscall_update_nr()
52 task_thread_info(task)->syscall = regs->regs[4]; in mips_syscall_update_nr()
54 task_thread_info(task)->syscall = regs->regs[2]; in mips_syscall_update_nr()
58 struct task_struct *task, struct pt_regs *regs, unsigned int n) in mips_get_syscall_arg() argument
77 if (test_tsk_thread_flag(task, TIF_32BIT_REGS)) in mips_get_syscall_arg()
93 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() argument
99 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() argument
105 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() argument
111 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() argument
124 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() argument
132 if (mips_syscall_is_indirect(task, regs)) in syscall_get_arguments()
136 mips_get_syscall_arg(args++, task, regs, i++); in syscall_get_arguments()
143 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch() argument
147 if (!test_tsk_thread_flag(task, TIF_32BIT_REGS)) { in syscall_get_arch()
150 if (test_tsk_thread_flag(task, TIF_32BIT_ADDR)) in syscall_get_arch()