Lines Matching defs:task
22 static inline int syscall_get_nr(struct task_struct *task,
26 return task_thread_info(task)->abi_syscall;
28 if (task_thread_info(task)->abi_syscall == -1)
31 return task_thread_info(task)->abi_syscall & __NR_SYSCALL_MASK;
34 static inline bool __in_oabi_syscall(struct task_struct *task)
37 (task_thread_info(task)->abi_syscall & __NR_OABI_SYSCALL_BASE);
45 static inline void syscall_rollback(struct task_struct *task,
51 static inline long syscall_get_error(struct task_struct *task,
58 static inline long syscall_get_return_value(struct task_struct *task,
64 static inline void syscall_set_return_value(struct task_struct *task,
73 static inline void syscall_get_arguments(struct task_struct *task,
83 static inline int syscall_get_arch(struct task_struct *task)