/kernel/linux/linux-5.10/security/keys/ |
H A D | compat.c | 18 u32, arg2, u32, arg3, u32, arg4, u32, arg5) in COMPAT_SYSCALL_DEFINE5() 22 return keyctl_get_keyring_ID(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 25 return keyctl_join_session_keyring(compat_ptr(arg2)); in COMPAT_SYSCALL_DEFINE5() 28 return keyctl_update_key(arg2, compat_ptr(arg3), arg4); in COMPAT_SYSCALL_DEFINE5() 31 return keyctl_revoke_key(arg2); in COMPAT_SYSCALL_DEFINE5() 34 return keyctl_describe_key(arg2, compat_ptr(arg3), arg4); in COMPAT_SYSCALL_DEFINE5() 37 return keyctl_keyring_clear(arg2); in COMPAT_SYSCALL_DEFINE5() 40 return keyctl_keyring_link(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 43 return keyctl_keyring_unlink(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 46 return keyctl_keyring_search(arg2, compat_pt in COMPAT_SYSCALL_DEFINE5() [all...] |
/kernel/linux/linux-6.6/security/keys/ |
H A D | compat.c | 18 u32, arg2, u32, arg3, u32, arg4, u32, arg5) in COMPAT_SYSCALL_DEFINE5() 22 return keyctl_get_keyring_ID(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 25 return keyctl_join_session_keyring(compat_ptr(arg2)); in COMPAT_SYSCALL_DEFINE5() 28 return keyctl_update_key(arg2, compat_ptr(arg3), arg4); in COMPAT_SYSCALL_DEFINE5() 31 return keyctl_revoke_key(arg2); in COMPAT_SYSCALL_DEFINE5() 34 return keyctl_describe_key(arg2, compat_ptr(arg3), arg4); in COMPAT_SYSCALL_DEFINE5() 37 return keyctl_keyring_clear(arg2); in COMPAT_SYSCALL_DEFINE5() 40 return keyctl_keyring_link(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 43 return keyctl_keyring_unlink(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 46 return keyctl_keyring_search(arg2, compat_pt in COMPAT_SYSCALL_DEFINE5() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | bw_fixed.h | 43 const struct bw_fixed arg2) in bw_min2() 45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2() 49 const struct bw_fixed arg2) in bw_max2() 51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2() 102 const struct bw_fixed arg2) in bw_add() 106 res.value = arg1.value + arg2.value; in bw_add() 111 static inline struct bw_fixed bw_sub(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_sub() argument 115 res.value = arg1.value - arg2 in bw_sub() 42 bw_min2(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_min2() argument 48 bw_max2(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_max2() argument 101 bw_add(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_add() argument 121 bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_div() argument 126 bw_mod(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_mod() argument 136 bw_equ(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_equ() argument 141 bw_neq(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_neq() argument 146 bw_leq(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_leq() argument 151 bw_meq(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_meq() argument 156 bw_ltn(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_ltn() argument 161 bw_mtn(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_mtn() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | bw_fixed.h | 43 const struct bw_fixed arg2) in bw_min2() 45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2() 49 const struct bw_fixed arg2) in bw_max2() 51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2() 102 const struct bw_fixed arg2) in bw_add() 106 res.value = arg1.value + arg2.value; in bw_add() 111 static inline struct bw_fixed bw_sub(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_sub() argument 115 res.value = arg1.value - arg2 in bw_sub() 42 bw_min2(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_min2() argument 48 bw_max2(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_max2() argument 101 bw_add(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_add() argument 121 bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_div() argument 126 bw_mod(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_mod() argument 136 bw_equ(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_equ() argument 141 bw_neq(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_neq() argument 146 bw_leq(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_leq() argument 151 bw_meq(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_meq() argument 156 bw_ltn(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_ltn() argument 161 bw_mtn(const struct bw_fixed arg1, const struct bw_fixed arg2) bw_mtn() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calc_math.c | 40 float dcn_bw_mod(const float arg1, const float arg2) in dcn_bw_mod() argument 43 return arg2; in dcn_bw_mod() 44 if (isNaN(arg2)) in dcn_bw_mod() 46 return arg1 - arg1 * ((int) (arg1 / arg2)); in dcn_bw_mod() 49 float dcn_bw_min2(const float arg1, const float arg2) in dcn_bw_min2() argument 52 return arg2; in dcn_bw_min2() 53 if (isNaN(arg2)) in dcn_bw_min2() 55 return arg1 < arg2 ? arg1 : arg2; in dcn_bw_min2() 58 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2) in dcn_bw_max() argument 62 dcn_bw_max2(const float arg1, const float arg2) dcn_bw_max2() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
H A D | fixed31_32.h | 139 * result = arg1 < arg2 141 static inline bool dc_fixpt_lt(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_lt() argument 143 return arg1.value < arg2.value; in dc_fixpt_lt() 148 * result = arg1 <= arg2 150 static inline bool dc_fixpt_le(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_le() argument 152 return arg1.value <= arg2.value; in dc_fixpt_le() 157 * result = arg1 == arg2 159 static inline bool dc_fixpt_eq(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_eq() argument 161 return arg1.value == arg2.value; in dc_fixpt_eq() 166 * result = min(arg1, arg2) 168 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_min() argument 180 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_max() argument 251 dc_fixpt_add(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_add() argument 267 dc_fixpt_add_int(struct fixed31_32 arg1, int arg2) dc_fixpt_add_int() argument 276 dc_fixpt_sub(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_sub() argument 292 dc_fixpt_sub_int(struct fixed31_32 arg1, int arg2) dc_fixpt_sub_int() argument 314 dc_fixpt_mul_int(struct fixed31_32 arg1, int arg2) dc_fixpt_mul_int() argument 329 dc_fixpt_div_int(struct fixed31_32 arg1, long long arg2) dc_fixpt_div_int() argument 338 dc_fixpt_div(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_div() argument 432 dc_fixpt_pow(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_pow() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/include/ |
H A D | fixed31_32.h | 133 * result = arg1 < arg2 135 static inline bool dc_fixpt_lt(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_lt() argument 137 return arg1.value < arg2.value; in dc_fixpt_lt() 142 * result = arg1 <= arg2 144 static inline bool dc_fixpt_le(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_le() argument 146 return arg1.value <= arg2.value; in dc_fixpt_le() 151 * result = arg1 == arg2 153 static inline bool dc_fixpt_eq(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_eq() argument 155 return arg1.value == arg2.value; in dc_fixpt_eq() 160 * result = min(arg1, arg2) 162 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_min() argument 174 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_max() argument 245 dc_fixpt_add(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_add() argument 261 dc_fixpt_add_int(struct fixed31_32 arg1, int arg2) dc_fixpt_add_int() argument 270 dc_fixpt_sub(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_sub() argument 286 dc_fixpt_sub_int(struct fixed31_32 arg1, int arg2) dc_fixpt_sub_int() argument 308 dc_fixpt_mul_int(struct fixed31_32 arg1, int arg2) dc_fixpt_mul_int() argument 323 dc_fixpt_div_int(struct fixed31_32 arg1, long long arg2) dc_fixpt_div_int() argument 332 dc_fixpt_div(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_div() argument 426 dc_fixpt_pow(struct fixed31_32 arg1, struct fixed31_32 arg2) dc_fixpt_pow() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
H A D | dcn_calc_math.c | 39 float dcn_bw_mod(const float arg1, const float arg2) in dcn_bw_mod() argument 42 return arg2; in dcn_bw_mod() 43 if (isNaN(arg2)) in dcn_bw_mod() 45 return arg1 - arg1 * ((int) (arg1 / arg2)); in dcn_bw_mod() 48 float dcn_bw_min2(const float arg1, const float arg2) in dcn_bw_min2() argument 51 return arg2; in dcn_bw_min2() 52 if (isNaN(arg2)) in dcn_bw_min2() 54 return arg1 < arg2 ? arg1 : arg2; in dcn_bw_min2() 57 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2) in dcn_bw_max() argument 61 dcn_bw_max2(const float arg1, const float arg2) dcn_bw_max2() argument [all...] |
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
H A D | linkage.h | 24 #define __asmlinkage_protect2(ret, arg1, arg2) \ 25 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2)) 26 #define __asmlinkage_protect3(ret, arg1, arg2, arg3) \ 27 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3)) 28 #define __asmlinkage_protect4(ret, arg1, arg2, arg3, arg4) \ 29 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \ 31 #define __asmlinkage_protect5(ret, arg1, arg2, arg3, arg4, arg5) \ 32 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \ 34 #define __asmlinkage_protect6(ret, arg1, arg2, arg3, arg4, arg5, arg6) \ 35 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), " [all...] |
/kernel/linux/linux-6.6/arch/m68k/include/asm/ |
H A D | linkage.h | 24 #define __asmlinkage_protect2(ret, arg1, arg2) \ 25 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2)) 26 #define __asmlinkage_protect3(ret, arg1, arg2, arg3) \ 27 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3)) 28 #define __asmlinkage_protect4(ret, arg1, arg2, arg3, arg4) \ 29 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \ 31 #define __asmlinkage_protect5(ret, arg1, arg2, arg3, arg4, arg5) \ 32 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \ 34 #define __asmlinkage_protect6(ret, arg1, arg2, arg3, arg4, arg5, arg6) \ 35 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), " [all...] |
/kernel/linux/linux-5.10/arch/x86/um/shared/sysdep/ |
H A D | stub_64.h | 29 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 35 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2() 40 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 46 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 52 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 59 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 66 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 73 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
|
H A D | stub_32.h | 33 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 38 "c" (arg2)); in stub_syscall2() 43 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 48 "c" (arg2), "d" (arg3)); in stub_syscall3() 53 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 59 "c" (arg2), "d" (arg3), "S" (arg4)); in stub_syscall4() 64 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 70 "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5)); in stub_syscall5()
|
/kernel/linux/linux-6.6/arch/x86/um/shared/sysdep/ |
H A D | stub_32.h | 33 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 38 "c" (arg2)); in stub_syscall2() 43 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 48 "c" (arg2), "d" (arg3)); in stub_syscall3() 53 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 59 "c" (arg2), "d" (arg3), "S" (arg4)); in stub_syscall4() 64 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 70 "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5)); in stub_syscall5()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | sdt.h | 340 #define _SDT_ASM_OPERANDS_2(arg1, arg2) \ 341 _SDT_ASM_OPERANDS_1(arg1), _SDT_ARG(2, arg2) 342 #define _SDT_ASM_OPERANDS_3(arg1, arg2, arg3) \ 343 _SDT_ASM_OPERANDS_2(arg1, arg2), _SDT_ARG(3, arg3) 344 #define _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4) \ 345 _SDT_ASM_OPERANDS_3(arg1, arg2, arg3), _SDT_ARG(4, arg4) 346 #define _SDT_ASM_OPERANDS_5(arg1, arg2, arg3, arg4, arg5) \ 347 _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4), _SDT_ARG(5, arg5) 348 #define _SDT_ASM_OPERANDS_6(arg1, arg2, arg3, arg4, arg5, arg6) \ 349 _SDT_ASM_OPERANDS_5(arg1, arg2, arg [all...] |
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
H A D | unistd.h | 123 #define _syscall2(type,name,type1,arg1,type2,arg2) \ 124 type name(type1 arg1, type2 arg2) \ 126 return K_INLINE_SYSCALL(name, 2, arg1, arg2); \ 129 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ 130 type name(type1 arg1, type2 arg2, type3 arg3) \ 132 return K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3); \ 135 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ 136 type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ 138 return K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4); \ 142 #define _syscall5(type,name,type1,arg1,type2,arg2,type [all...] |
/kernel/linux/linux-6.6/arch/parisc/include/asm/ |
H A D | unistd.h | 119 #define _syscall2(type,name,type1,arg1,type2,arg2) \ 120 type name(type1 arg1, type2 arg2) \ 122 return K_INLINE_SYSCALL(name, 2, arg1, arg2); \ 125 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ 126 type name(type1 arg1, type2 arg2, type3 arg3) \ 128 return K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3); \ 131 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ 132 type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ 134 return K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4); \ 138 #define _syscall5(type,name,type1,arg1,type2,arg2,type [all...] |
/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | arch-arm.h | 87 #define my_syscall2(num, arg1, arg2) \ 91 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 105 #define my_syscall3(num, arg1, arg2, arg3) \ 109 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 124 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 128 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 144 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 148 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 165 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ 169 register long _arg2 __asm__ ("r1") = (long)(arg2); \ [all...] |
H A D | arch-i386.h | 61 #define my_syscall2(num, arg1, arg2) \ 66 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 78 #define my_syscall3(num, arg1, arg2, arg3) \ 83 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 96 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 101 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 115 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 120 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 135 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ 148 "c"(arg2), /* [all...] |
H A D | arch-aarch64.h | 57 #define my_syscall2(num, arg1, arg2) \ 61 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 73 #define my_syscall3(num, arg1, arg2, arg3) \ 77 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 90 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 94 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 108 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 112 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 127 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ 131 register long _arg2 __asm__ ("x1") = (long)(arg2); \ [all...] |
H A D | arch-powerpc.h | 64 #define my_syscall2(num, arg1, arg2) \ 69 register long _arg2 __asm__ ("r4") = (long)(arg2); \ 84 #define my_syscall3(num, arg1, arg2, arg3) \ 89 register long _arg2 __asm__ ("r4") = (long)(arg2); \ 105 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 110 register long _arg2 __asm__ ("r4") = (long)(arg2); \ 128 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 133 register long _arg2 __asm__ ("r4") = (long)(arg2); \ 151 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ 156 register long _arg2 __asm__ ("r4") = (long)(arg2); \ [all...] |
H A D | arch-s390.h | 54 #define my_syscall2(num, arg1, arg2) \ 58 register long _arg2 __asm__ ("3") = (long)(arg2); \ 69 #define my_syscall3(num, arg1, arg2, arg3) \ 73 register long _arg2 __asm__ ("3") = (long)(arg2); \ 85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 89 register long _arg2 __asm__ ("3") = (long)(arg2); \ 102 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 106 register long _arg2 __asm__ ("3") = (long)(arg2); \ 121 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ 125 register long _arg2 __asm__ ("3") = (long)(arg2); \ [all...] |
H A D | arch-mips.h | 71 #define my_syscall2(num, arg1, arg2) \ 75 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 90 #define my_syscall3(num, arg1, arg2, arg3) \ 94 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 110 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 114 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 130 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 134 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 152 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ 156 register long _arg2 __asm__ ("a1") = (long)(arg2); \ [all...] |
H A D | arch-x86_64.h | 62 #define my_syscall2(num, arg1, arg2) \ 67 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 79 #define my_syscall3(num, arg1, arg2, arg3) \ 84 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 97 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 102 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 116 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 121 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 136 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ 141 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ [all...] |
H A D | arch-loongarch.h | 57 #define my_syscall2(num, arg1, arg2) \ 61 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 73 #define my_syscall3(num, arg1, arg2, arg3) \ 77 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 90 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 94 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 108 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 112 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 127 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ 131 register long _arg2 __asm__ ("a1") = (long)(arg2); \ [all...] |
H A D | arch-riscv.h | 55 #define my_syscall2(num, arg1, arg2) \ 59 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 71 #define my_syscall3(num, arg1, arg2, arg3) \ 75 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 88 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 92 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 106 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 110 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 125 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ 129 register long _arg2 __asm__ ("a1") = (long)(arg2); \ [all...] |