| /arch/x86/include/asm/ |
| A D | syscall.h | 41 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 48 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 54 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 73 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 79 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 88 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 100 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 112 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch() 119 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 143 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() [all …]
|
| /arch/powerpc/kernel/ |
| A D | signal.h | 48 #define unsafe_copy_fpr_to_user(to, task, label) do { \ argument 58 #define unsafe_copy_vsx_to_user(to, task, label) do { \ argument 68 #define unsafe_copy_fpr_from_user(task, from, label) do { \ argument 78 #define unsafe_copy_vsx_from_user(task, from, label) do { \ argument 89 #define unsafe_copy_ckfpr_to_user(to, task, label) do { \ argument 99 #define unsafe_copy_ckvsx_to_user(to, task, label) do { \ argument 131 #define unsafe_copy_fpr_to_user(to, task, label) \ argument 135 #define unsafe_copy_fpr_from_user(task, from, label) \ argument 140 copy_fpr_to_user(void __user *to, struct task_struct *task) in copy_fpr_to_user() 154 #define unsafe_copy_ckfpr_to_user(to, task, label) \ argument [all …]
|
| /arch/nios2/include/asm/ |
| A D | syscall.h | 13 static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr() 18 static inline void syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr() 23 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 30 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 36 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 42 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 55 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 66 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 77 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/openrisc/include/asm/ |
| A D | syscall.h | 23 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr() 29 syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr() 35 syscall_rollback(struct task_struct *task, struct pt_regs *regs) in syscall_rollback() 41 syscall_get_error(struct task_struct *task, struct pt_regs *regs) in syscall_get_error() 47 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) in syscall_get_return_value() 53 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, in syscall_set_return_value() 60 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_get_arguments() 67 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_set_arguments() 73 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/mips/include/asm/ |
| A D | syscall.h | 29 static inline bool mips_syscall_is_indirect(struct task_struct *task, in mips_syscall_is_indirect() 38 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() 44 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 59 static inline void mips_syscall_update_nr(struct task_struct *task, in mips_syscall_update_nr() 73 struct task_struct *task, struct pt_regs *regs, unsigned int n) in mips_get_syscall_arg() 93 struct task_struct *task, struct pt_regs *regs, unsigned int n) in mips_set_syscall_arg() 109 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 121 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 140 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 155 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() [all …]
|
| /arch/csky/include/asm/ |
| A D | syscall.h | 14 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr() 20 syscall_set_nr(struct task_struct *task, struct pt_regs *regs, in syscall_set_nr() 27 syscall_rollback(struct task_struct *task, struct pt_regs *regs) in syscall_rollback() 33 syscall_get_error(struct task_struct *task, struct pt_regs *regs) in syscall_get_error() 41 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) in syscall_get_return_value() 47 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, in syscall_set_return_value() 54 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_get_arguments() 63 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_set_arguments() 76 syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/m68k/include/asm/ |
| A D | syscall.h | 11 static inline int syscall_get_nr(struct task_struct *task, in syscall_get_nr() 17 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 24 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 30 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 38 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 44 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 51 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 61 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 71 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/sh/include/asm/ |
| A D | syscall_32.h | 12 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() 18 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 30 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 39 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 45 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 51 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 58 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 72 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 84 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/arm/include/asm/ |
| A D | syscall.h | 22 static inline int syscall_get_nr(struct task_struct *task, in syscall_get_nr() 34 static inline bool __in_oabi_syscall(struct task_struct *task) in __in_oabi_syscall() 45 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 51 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 58 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 64 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 71 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 97 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 107 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 120 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/loongarch/include/asm/ |
| A D | syscall.h | 23 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() 29 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 36 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 42 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 50 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 56 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 63 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 71 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 79 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/hexagon/include/asm/ |
| A D | syscall.h | 23 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() 29 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 36 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 43 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 50 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 56 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 62 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 69 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/arm64/include/asm/ |
| A D | syscall.h | 20 static inline int syscall_get_nr(struct task_struct *task, in syscall_get_nr() 26 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 32 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 43 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 51 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 64 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 82 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 92 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 109 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| A D | gcs.h | 59 static inline bool task_gcs_el0_enabled(struct task_struct *task) in task_gcs_el0_enabled() 70 static inline int gcs_check_locked(struct task_struct *task, in gcs_check_locked() 86 static inline bool task_gcs_el0_enabled(struct task_struct *task) in task_gcs_el0_enabled() 91 static inline void gcs_set_el0_mode(struct task_struct *task) { } in gcs_set_el0_mode() 92 static inline void gcs_free(struct task_struct *task) { } in gcs_free() 99 static inline int gcs_check_locked(struct task_struct *task, in gcs_check_locked()
|
| /arch/powerpc/include/asm/ |
| A D | syscall.h | 28 static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr() 42 static inline void syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr() 52 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 58 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 74 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 80 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 103 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 123 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 133 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/arc/include/asm/ |
| A D | syscall.h | 18 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr() 27 syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr() 38 syscall_rollback(struct task_struct *task, struct pt_regs *regs) in syscall_rollback() 44 syscall_get_error(struct task_struct *task, struct pt_regs *regs) in syscall_get_error() 51 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) in syscall_get_return_value() 57 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, in syscall_set_return_value() 68 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_get_arguments() 82 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_set_arguments() 96 syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/xtensa/include/asm/ |
| A D | syscall.h | 17 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch() 25 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() 31 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 38 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 44 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 51 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 57 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 67 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 78 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
|
| /arch/um/include/asm/ |
| A D | syscall-generic.h | 18 static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr() 24 static inline void syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr() 29 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 35 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 43 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 49 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 56 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 70 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
|
| /arch/microblaze/include/asm/ |
| A D | syscall.h | 11 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() 17 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 24 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 30 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 36 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 42 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 68 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 82 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| A D | processor.h | 72 # define task_tos(task) ((unsigned long)(task) + KERNEL_STACK_SIZE) argument 73 # define task_regs(task) ((struct pt_regs *)task_tos(task) - 1) argument 78 # define task_sp(task) (task_regs(task)->r1) argument 79 # define task_pc(task) (task_regs(task)->pc) argument 81 # define KSTK_EIP(task) (task_pc(task)) argument 82 # define KSTK_ESP(task) (task_sp(task)) argument
|
| /arch/riscv/include/asm/ |
| A D | syscall.h | 27 static inline int syscall_get_nr(struct task_struct *task, in syscall_get_nr() 33 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 40 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 46 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 54 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 60 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 67 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 79 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 91 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| A D | switch_to.h | 27 static inline void fstate_off(struct task_struct *task, in fstate_off() 33 static inline void fstate_save(struct task_struct *task, in fstate_save() 42 static inline void fstate_restore(struct task_struct *task, in fstate_restore() 68 #define fstate_save(task, regs) do { } while (0) argument 69 #define fstate_restore(task, regs) do { } while (0) argument 73 static inline void envcfg_update_bits(struct task_struct *task, in envcfg_update_bits() 94 static inline bool switch_to_should_flush_icache(struct task_struct *task) in switch_to_should_flush_icache()
|
| /arch/sparc/include/asm/ |
| A D | syscall.h | 20 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() 28 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 40 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 80 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 88 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 96 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 109 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 132 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 142 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/s390/include/asm/ |
| A D | syscall.h | 20 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr() 27 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr() 39 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 45 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 61 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 67 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 75 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments() 91 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments() 100 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/parisc/include/asm/ |
| A D | syscall.h | 51 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error() 58 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value() 64 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value() 71 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback() 77 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
|
| /arch/parisc/kernel/ |
| A D | stacktrace.c | 16 static void notrace walk_stackframe(struct task_struct *task, in walk_stackframe() 33 struct task_struct *task, struct pt_regs *regs) in arch_stack_walk() 39 struct task_struct *task) in arch_stack_walk_reliable()
|