/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | bw_fixed.h | 42 static inline struct bw_fixed bw_min2(const struct bw_fixed arg1, in bw_min2() argument 45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2() 48 static inline struct bw_fixed bw_max2(const struct bw_fixed arg1, in bw_max2() argument 51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2() 101 static inline struct bw_fixed bw_add(const struct bw_fixed arg1, in bw_add() argument 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 in bw_sub() 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 | 42 static inline struct bw_fixed bw_min2(const struct bw_fixed arg1, in bw_min2() argument 45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2() 48 static inline struct bw_fixed bw_max2(const struct bw_fixed arg1, in bw_max2() argument 51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2() 101 static inline struct bw_fixed bw_add(const struct bw_fixed arg1, in bw_add() argument 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 in bw_sub() 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 42 if (isNaN(arg1)) in dcn_bw_mod() 45 return arg1; 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 51 if (isNaN(arg1)) in dcn_bw_min2() 54 return arg1; in dcn_bw_min2() 55 return arg1 < arg in dcn_bw_min2() 58 dcn_bw_max(const unsigned int arg1, const unsigned int arg2) 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, arg 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, arg 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 41 if (isNaN(arg1)) in dcn_bw_mod() 44 return arg1; 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 50 if (isNaN(arg1)) in dcn_bw_min2() 53 return arg1; in dcn_bw_min2() 54 return arg1 < arg in dcn_bw_min2() 57 dcn_bw_max(const unsigned int arg1, const unsigned int arg2) 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 | 22 #define __asmlinkage_protect1(ret, arg1) \ 23 __asmlinkage_protect_n(ret, "m" (arg1)) 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), " [all...] |
/kernel/linux/linux-6.6/arch/m68k/include/asm/ |
H A D | linkage.h | 22 #define __asmlinkage_protect1(ret, arg1) \ 23 __asmlinkage_protect_n(ret, "m" (arg1)) 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), " [all...] |
/kernel/linux/linux-5.10/arch/x86/um/shared/sysdep/ |
H A D | stub_32.h | 24 static inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument 28 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1)); in stub_syscall1() 33 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 37 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall2() 43 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 47 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall3() 53 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 58 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall4() 64 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 69 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall5() [all...] |
/kernel/linux/linux-6.6/arch/x86/um/shared/sysdep/ |
H A D | stub_32.h | 24 static inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument 28 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1)); in stub_syscall1() 33 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 37 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall2() 43 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 47 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall3() 53 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 58 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall4() 64 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 69 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall5() [all...] |
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
H A D | unistd.h | 117 #define _syscall1(type,name,type1,arg1) \ 118 type name(type1 arg1) \ 120 return K_INLINE_SYSCALL(name, 1, arg1); \ 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,type [all...] |
/kernel/linux/linux-6.6/arch/parisc/include/asm/ |
H A D | unistd.h | 113 #define _syscall1(type,name,type1,arg1) \ 114 type name(type1 arg1) \ 116 return K_INLINE_SYSCALL(name, 1, arg1); \ 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,type [all...] |
/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | arch-arm.h | 70 #define my_syscall1(num, arg1) \ 73 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 87 #define my_syscall2(num, arg1, arg2) \ 90 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 105 #define my_syscall3(num, arg1, arg2, arg3) \ 108 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 124 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 127 register long _arg1 __asm__ ("r0") = (long)(arg1); \ 144 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 147 register long _arg1 __asm__ ("r0") = (long)(arg1); \ [all...] |
H A D | arch-i386.h | 45 #define my_syscall1(num, arg1) \ 49 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 61 #define my_syscall2(num, arg1, arg2) \ 65 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 78 #define my_syscall3(num, arg1, arg2, arg3) \ 82 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 96 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 100 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ 115 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 119 register long _arg1 __asm__ ("ebx") = (long)(arg1); \ [all...] |
H A D | arch-aarch64.h | 42 #define my_syscall1(num, arg1) \ 45 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 57 #define my_syscall2(num, arg1, arg2) \ 60 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 73 #define my_syscall3(num, arg1, arg2, arg3) \ 76 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 90 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 93 register long _arg1 __asm__ ("x0") = (long)(arg1); \ 108 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 111 register long _arg1 __asm__ ("x0") = (long)(arg1); \ [all...] |
H A D | arch-powerpc.h | 45 #define my_syscall1(num, arg1) \ 49 register long _arg1 __asm__ ("r3") = (long)(arg1); \ 64 #define my_syscall2(num, arg1, arg2) \ 68 register long _arg1 __asm__ ("r3") = (long)(arg1); \ 84 #define my_syscall3(num, arg1, arg2, arg3) \ 88 register long _arg1 __asm__ ("r3") = (long)(arg1); \ 105 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 109 register long _arg1 __asm__ ("r3") = (long)(arg1); \ 128 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 132 register long _arg1 __asm__ ("r3") = (long)(arg1); \ [all...] |
H A D | arch-s390.h | 40 #define my_syscall1(num, arg1) \ 43 register long _arg1 __asm__ ("2") = (long)(arg1); \ 54 #define my_syscall2(num, arg1, arg2) \ 57 register long _arg1 __asm__ ("2") = (long)(arg1); \ 69 #define my_syscall3(num, arg1, arg2, arg3) \ 72 register long _arg1 __asm__ ("2") = (long)(arg1); \ 85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 88 register long _arg1 __asm__ ("2") = (long)(arg1); \ 102 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 105 register long _arg1 __asm__ ("2") = (long)(arg1); \ [all...] |
H A D | arch-mips.h | 53 #define my_syscall1(num, arg1) \ 56 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 71 #define my_syscall2(num, arg1, arg2) \ 74 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 90 #define my_syscall3(num, arg1, arg2, arg3) \ 93 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 110 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 113 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 130 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 133 register long _arg1 __asm__ ("a0") = (long)(arg1); \ [all...] |
H A D | arch-x86_64.h | 46 #define my_syscall1(num, arg1) \ 50 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 62 #define my_syscall2(num, arg1, arg2) \ 66 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 79 #define my_syscall3(num, arg1, arg2, arg3) \ 83 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 97 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 101 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ 116 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 120 register long _arg1 __asm__ ("rdi") = (long)(arg1); \ [all...] |
H A D | arch-loongarch.h | 43 #define my_syscall1(num, arg1) \ 46 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 57 #define my_syscall2(num, arg1, arg2) \ 60 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 73 #define my_syscall3(num, arg1, arg2, arg3) \ 76 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 90 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 93 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 108 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 111 register long _arg1 __asm__ ("a0") = (long)(arg1); \ [all...] |
H A D | arch-riscv.h | 41 #define my_syscall1(num, arg1) \ 44 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 55 #define my_syscall2(num, arg1, arg2) \ 58 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 71 #define my_syscall3(num, arg1, arg2, arg3) \ 74 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 88 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 91 register long _arg1 __asm__ ("a0") = (long)(arg1); \ 106 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 109 register long _arg1 __asm__ ("a0") = (long)(arg1); \ [all...] |
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/ |
H A D | It_los_task_016.c | 40 static void TaskF04(UINTPTR arg1, UINTPTR arg2, UINTPTR arg3, UINTPTR arg4) in TaskF04() argument 42 ICUNIT_ASSERT_EQUAL_VOID(arg1, 1, arg1); in TaskF04() 51 static void TaskF03(UINTPTR arg1, UINTPTR arg2, UINTPTR arg3) in TaskF03() argument 53 ICUNIT_ASSERT_EQUAL_VOID(arg1, 0, arg1); in TaskF03() 62 static void TaskF02(UINTPTR arg1, UINTPTR arg2) in TaskF02() argument 64 ICUNIT_ASSERT_EQUAL_VOID(arg1, 0, arg1); in TaskF02() 71 static void TaskF01(UINTPTR arg1) in TaskF01() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | sdt.h | 339 #define _SDT_ASM_OPERANDS_1(arg1) _SDT_ARG(1, arg1) 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, arg [all...] |
/kernel/linux/linux-5.10/tools/include/nolibc/ |
H A D | nolibc.h | 313 #define my_syscall1(num, arg1) \ 317 register long _arg1 asm("rdi") = (long)(arg1); \ 329 #define my_syscall2(num, arg1, arg2) \ 333 register long _arg1 asm("rdi") = (long)(arg1); \ 346 #define my_syscall3(num, arg1, arg2, arg3) \ 350 register long _arg1 asm("rdi") = (long)(arg1); \ 364 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ 368 register long _arg1 asm("rdi") = (long)(arg1); \ 383 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ 387 register long _arg1 asm("rdi") = (long)(arg1); \ [all...] |
/kernel/uniproton/src/om/include/ |
H A D | prt_hook_external.h | 83 #define OS_MHOOK_ACTIVATE_PARA2(hookType, arg0, arg1) OS_MHOOK_ACTIVATE((hookType), \ 84 OsFunPara2, pfn((uintptr_t)(arg0), (uintptr_t)(arg1))) 85 #define OS_MHOOK_ACTIVATE_PARA3(hookType, arg0, arg1, arg2) OS_MHOOK_ACTIVATE((hookType), \ 86 OsFunPara3, pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2))) 87 #define OS_MHOOK_ACTIVATE_PARA4(hookType, arg0, arg1, arg2, arg3) \ 89 OsFunPara4, pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2), (uintptr_t)(arg3))) 90 #define OS_MHOOK_ACTIVATE_PARA5(hookType, arg0, arg1, arg2, arg3, arg4) \ 92 pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2), (uintptr_t)(arg3), (uintptr_t)(arg4))) 96 #define OS_SHOOK_ACTIVATE_PARA2(hookType, arg0, arg1) OS_SHOOK_ACTIVATE((hookType), \ 97 OsFunPara2, pfn((uintptr_t)(arg0), (uintptr_t)(arg1))) [all...] |