/linux/security/keys/ |
H A D | compat.c | 22 return keyctl_get_keyring_ID(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 31 return keyctl_revoke_key(arg2); 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() 56 return keyctl_setperm_key(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 66 return keyctl_set_reqkey_keyring(arg2); in COMPAT_SYSCALL_DEFINE5() 69 return keyctl_set_timeout(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 72 return keyctl_assume_authority(arg2); in COMPAT_SYSCALL_DEFINE5() 88 return keyctl_invalidate_key(arg2); in COMPAT_SYSCALL_DEFINE5() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | bw_fixed.h | 43 const struct bw_fixed arg2) in bw_min2() argument 45 return (arg1.value <= arg2.value) ? arg1 : arg2; in bw_min2() 49 const struct bw_fixed arg2) in bw_max2() argument 51 return (arg2.value <= arg1.value) ? arg1 : arg2; in bw_max2() 102 const struct bw_fixed arg2) in bw_add() argument 138 return arg1.value == arg2.value; in bw_equ() 143 return arg1.value != arg2.value; in bw_neq() 148 return arg1.value <= arg2.value; in bw_leq() 153 return arg1.value >= arg2.value; in bw_meq() 158 return arg1.value < arg2.value; in bw_ltn() [all …]
|
H A D | dcn_calc_math.h | 29 float dcn_bw_mod(const float arg1, const float arg2); 30 float dcn_bw_min2(const float arg1, const float arg2); 31 unsigned int dcn_bw_max(const unsigned int arg1, const unsigned int arg2); 32 float dcn_bw_max2(const float arg1, const float arg2);
|
/linux/drivers/gpu/drm/amd/display/include/ |
H A D | fixed31_32.h | 137 return arg1.value < arg2.value; in dc_fixpt_lt() 146 return arg1.value <= arg2.value; in dc_fixpt_le() 155 return arg1.value == arg2.value; in dc_fixpt_eq() 164 if (arg1.value <= arg2.value) in dc_fixpt_min() 167 return arg2; in dc_fixpt_min() 176 if (arg1.value <= arg2.value) in dc_fixpt_max() 177 return arg2; in dc_fixpt_max() 252 res.value = arg1.value + arg2.value; in dc_fixpt_add() 274 ASSERT(((arg2.value >= 0) && (LLONG_MIN + arg2.value <= arg1.value)) || in dc_fixpt_sub() 275 ((arg2.value < 0) && (LLONG_MAX + arg2.value >= arg1.value))); in dc_fixpt_sub() [all …]
|
/linux/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() 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() 60 return arg1 > arg2 ? arg1 : arg2; in dcn_bw_max() 65 return arg2; in dcn_bw_max2() 66 if (isNaN(arg2)) in dcn_bw_max2() [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | linkage.h | 24 #define __asmlinkage_protect2(ret, arg1, arg2) \ argument 25 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2)) 26 #define __asmlinkage_protect3(ret, arg1, arg2, arg3) \ argument 27 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3)) 28 #define __asmlinkage_protect4(ret, arg1, arg2, arg3, arg4) \ argument 29 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \ 31 #define __asmlinkage_protect5(ret, arg1, arg2, arg3, arg4, arg5) \ argument 32 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \ 34 #define __asmlinkage_protect6(ret, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 35 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \
|
/linux/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) 375 #define STAP_PROBE2(provider, name, arg1, arg2) \ 376 _SDT_PROBE(provider, name, 2, (arg1, arg2)) 377 #define STAP_PROBE3(provider, name, arg1, arg2, arg3) \ 378 _SDT_PROBE(provider, name, 3, (arg1, arg2, arg3)) [all …]
|
/linux/tools/include/nolibc/ |
H A D | arch-i386.h | 61 #define my_syscall2(num, arg1, arg2) \ argument 66 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 78 #define my_syscall3(num, arg1, arg2, arg3) \ argument 83 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 96 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 101 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 115 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 120 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 135 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 148 "c"(arg2), /* %ecx */ \
|
H A D | arch-aarch64.h | 54 #define my_syscall2(num, arg1, arg2) \ argument 58 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 70 #define my_syscall3(num, arg1, arg2, arg3) \ argument 74 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 87 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 91 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 105 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 109 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 124 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 128 register long _arg2 __asm__ ("x1") = (long)(arg2); \
|
H A D | arch-riscv.h | 52 #define my_syscall2(num, arg1, arg2) \ argument 56 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 68 #define my_syscall3(num, arg1, arg2, arg3) \ argument 72 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 89 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 103 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 107 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 122 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 126 register long _arg2 __asm__ ("a1") = (long)(arg2); \
|
H A D | arch-loongarch.h | 55 #define my_syscall2(num, arg1, arg2) \ argument 59 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 71 #define my_syscall3(num, arg1, arg2, arg3) \ argument 75 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 88 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 92 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 106 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 110 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 125 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 129 register long _arg2 __asm__ ("a1") = (long)(arg2); \
|
H A D | arch-powerpc.h | 64 #define my_syscall2(num, arg1, arg2) \ argument 69 register long _arg2 __asm__ ("r4") = (long)(arg2); \ 84 #define my_syscall3(num, arg1, arg2, arg3) \ argument 89 register long _arg2 __asm__ ("r4") = (long)(arg2); \ 105 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 110 register long _arg2 __asm__ ("r4") = (long)(arg2); \ 128 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 133 register long _arg2 __asm__ ("r4") = (long)(arg2); \ 151 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 156 register long _arg2 __asm__ ("r4") = (long)(arg2); \
|
H A D | arch-x86_64.h | 62 #define my_syscall2(num, arg1, arg2) \ argument 67 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 79 #define my_syscall3(num, arg1, arg2, arg3) \ argument 84 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 97 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 102 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 116 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 121 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 136 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 141 register long _arg2 __asm__ ("rsi") = (long)(arg2); \
|
H A D | arch-arm.h | 87 #define my_syscall2(num, arg1, arg2) \ argument 91 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 105 #define my_syscall3(num, arg1, arg2, arg3) \ argument 109 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 124 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 128 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 144 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 148 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 165 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 169 register long _arg2 __asm__ ("r1") = (long)(arg2); \
|
H A D | arch-s390.h | 54 #define my_syscall2(num, arg1, arg2) \ argument 58 register long _arg2 __asm__ ("3") = (long)(arg2); \ 69 #define my_syscall3(num, arg1, arg2, arg3) \ argument 73 register long _arg2 __asm__ ("3") = (long)(arg2); \ 85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 89 register long _arg2 __asm__ ("3") = (long)(arg2); \ 102 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 106 register long _arg2 __asm__ ("3") = (long)(arg2); \ 121 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 125 register long _arg2 __asm__ ("3") = (long)(arg2); \
|
H A D | arch-mips.h | 75 #define my_syscall2(num, arg1, arg2) \ argument 79 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 94 #define my_syscall3(num, arg1, arg2, arg3) \ argument 98 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 114 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 118 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 134 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 138 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 156 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 160 register long _arg2 __asm__ ("a1") = (long)(arg2); \
|
/linux/arch/x86/um/shared/sysdep/ |
H A D | stub_32.h | 35 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 40 "c" (arg2) in stub_syscall2() 46 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument 52 "c" (arg2), "d" (arg3) in stub_syscall3() 58 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, in stub_syscall4() argument 64 "c" (arg2), "d" (arg3), "S" (arg4) in stub_syscall4() 70 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument 76 "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5) in stub_syscall5()
|
H A D | stub_64.h | 30 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 36 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2() 41 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument 48 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 54 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 61 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 68 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument 75 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
|
/linux/arch/parisc/include/asm/ |
H A D | unistd.h | 119 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument 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) \ argument 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) \ argument 132 type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ 134 return K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4); \ 139 type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) \ [all …]
|
/linux/arch/x86/um/ |
H A D | syscalls_64.c | 17 unsigned long __user *arg2) in arch_prctl() argument 24 (unsigned long) arg2; in arch_prctl() 29 (unsigned long) arg2; in arch_prctl() 33 ret = put_user(current->thread.regs.regs.gp[FS_BASE / sizeof(unsigned long)], arg2); in arch_prctl() 36 ret = put_user(current->thread.regs.regs.gp[GS_BASE / sizeof(unsigned long)], arg2); in arch_prctl() 43 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument 45 return arch_prctl(current, option, (unsigned long __user *) arg2); in SYSCALL_DEFINE2()
|
/linux/include/linux/ |
H A D | kcov.h | 82 void __sanitizer_cov_trace_cmp1(u8 arg1, u8 arg2); 83 void __sanitizer_cov_trace_cmp2(u16 arg1, u16 arg2); 84 void __sanitizer_cov_trace_cmp4(u32 arg1, u32 arg2); 85 void __sanitizer_cov_trace_cmp8(kcov_u64 arg1, kcov_u64 arg2); 86 void __sanitizer_cov_trace_const_cmp1(u8 arg1, u8 arg2); 87 void __sanitizer_cov_trace_const_cmp2(u16 arg1, u16 arg2); 88 void __sanitizer_cov_trace_const_cmp4(u32 arg1, u32 arg2); 89 void __sanitizer_cov_trace_const_cmp8(kcov_u64 arg1, kcov_u64 arg2);
|
/linux/tools/testing/selftests/kvm/include/ |
H A D | ucall_common.h | 53 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument 54 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4) 58 #define GUEST_SYNC3(arg0, arg1, arg2) \ argument 59 ucall(UCALL_SYNC, 3, arg0, arg1, arg2) 60 #define GUEST_SYNC4(arg0, arg1, arg2, arg3) \ argument 61 ucall(UCALL_SYNC, 4, arg0, arg1, arg2, arg3) 62 #define GUEST_SYNC5(arg0, arg1, arg2, arg3, arg4) \ argument 63 ucall(UCALL_SYNC, 5, arg0, arg1, arg2, arg3, arg4) 64 #define GUEST_SYNC6(arg0, arg1, arg2, arg3, arg4, arg5) \ argument 65 ucall(UCALL_SYNC, 6, arg0, arg1, arg2, arg3, arg4, arg5)
|
/linux/arch/sparc/include/asm/ |
H A D | smp_32.h | 58 unsigned long arg2, unsigned long arg3, 75 static inline void xc2(void *func, unsigned long arg1, unsigned long arg2) in xc2() argument 77 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); in xc2() 80 static inline void xc3(void *func, unsigned long arg1, unsigned long arg2, in xc3() argument 84 arg1, arg2, arg3, 0); in xc3() 87 static inline void xc4(void *func, unsigned long arg1, unsigned long arg2, in xc4() argument 91 arg1, arg2, arg3, arg4); in xc4()
|
/linux/arch/x86/kernel/ |
H A D | process_64.c | 849 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64() 861 x86_gsbase_write_cpu_inactive(arg2); in do_arch_prctl_64() 867 task->thread.gsbase = arg2; in do_arch_prctl_64() 871 x86_gsbase_write_task(task, arg2); in do_arch_prctl_64() 881 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64() 891 x86_fsbase_write_cpu(arg2); in do_arch_prctl_64() 897 task->thread.fsbase = arg2; in do_arch_prctl_64() 900 x86_fsbase_write_task(task, arg2); in do_arch_prctl_64() 933 (unsigned long __user *)arg2); in do_arch_prctl_64() 952 return shstk_prctl(task, option, arg2); in do_arch_prctl_64() [all …]
|
/linux/tools/perf/scripts/python/Perf-Trace-Util/ |
H A D | Context.c | 27 #define _PyCapsule_GetPointer(arg1, arg2) \ argument 29 #define _PyBytes_FromStringAndSize(arg1, arg2) \ argument 30 PyString_FromStringAndSize((arg1), (arg2)) 36 #define _PyCapsule_GetPointer(arg1, arg2) \ argument 37 PyCapsule_GetPointer((arg1), (arg2)) 38 #define _PyBytes_FromStringAndSize(arg1, arg2) \ argument 39 PyBytes_FromStringAndSize((arg1), (arg2)) 46 static struct scripting_context *get_args(PyObject *args, const char *name, PyObject **arg2) in get_args() argument 48 int cnt = 1 + !!arg2; in get_args() 51 if (!PyArg_UnpackTuple(args, name, 1, cnt, &context, arg2)) in get_args()
|