/Linux-v6.1/security/keys/ |
D | compat.c | 18 u32, arg2, u32, arg3, u32, arg4, u32, arg5) in COMPAT_SYSCALL_DEFINE5() argument 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_ptr(arg3), in COMPAT_SYSCALL_DEFINE5() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/ |
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 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.value; in bw_sub() 120 struct bw_fixed bw_mul(const struct bw_fixed arg1, const struct bw_fixed arg2); 121 static inline struct bw_fixed bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_div() argument [all …]
|
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-v6.1/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 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() 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() 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() 162 static inline struct fixed31_32 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_min() argument 164 if (arg1.value <= arg2.value) in dc_fixpt_min() 167 return arg2; in dc_fixpt_min() 174 static inline struct fixed31_32 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_max() argument [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
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 60 return arg1 > arg2 ? arg1 : arg2; in dcn_bw_max() [all …]
|
/Linux-v6.1/arch/m68k/include/asm/ |
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-v6.1/tools/testing/selftests/bpf/ |
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, arg3, arg4, arg5), _SDT_ARG(6, arg6) [all …]
|
/Linux-v6.1/arch/x86/um/shared/sysdep/ |
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()
|
D | stub_64.h | 30 static 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 inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument 47 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 53 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 60 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 67 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument 74 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
|
/Linux-v6.1/tools/include/nolibc/ |
D | arch-i386.h | 96 #define my_syscall2(num, arg1, arg2) \ argument 101 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 113 #define my_syscall3(num, arg1, arg2, arg3) \ argument 118 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 131 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 136 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 150 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 155 register long _arg2 __asm__ ("ecx") = (long)(arg2); \ 170 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 183 "c"(arg2), /* %ecx */ \
|
D | arch-aarch64.h | 94 #define my_syscall2(num, arg1, arg2) \ argument 98 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 110 #define my_syscall3(num, arg1, arg2, arg3) \ argument 114 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 127 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 131 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 145 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 149 register long _arg2 __asm__ ("x1") = (long)(arg2); \ 164 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 168 register long _arg2 __asm__ ("x1") = (long)(arg2); \
|
D | arch-riscv.h | 95 #define my_syscall2(num, arg1, arg2) \ argument 99 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 111 #define my_syscall3(num, arg1, arg2, arg3) \ argument 115 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 128 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 132 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 146 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 150 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 165 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 169 register long _arg2 __asm__ ("a1") = (long)(arg2); \
|
D | arch-x86_64.h | 98 #define my_syscall2(num, arg1, arg2) \ argument 103 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 115 #define my_syscall3(num, arg1, arg2, arg3) \ argument 120 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 133 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 138 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 152 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 157 register long _arg2 __asm__ ("rsi") = (long)(arg2); \ 172 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 177 register long _arg2 __asm__ ("rsi") = (long)(arg2); \
|
D | arch-arm.h | 107 #define my_syscall2(num, arg1, arg2) \ argument 111 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 123 #define my_syscall3(num, arg1, arg2, arg3) \ argument 127 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 140 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 144 register long _arg2 __asm__ ("r1") = (long)(arg2); \ 158 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 162 register long _arg2 __asm__ ("r1") = (long)(arg2); \
|
D | arch-mips.h | 106 #define my_syscall2(num, arg1, arg2) \ argument 110 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 126 #define my_syscall3(num, arg1, arg2, arg3) \ argument 130 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 147 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 151 register long _arg2 __asm__ ("a1") = (long)(arg2); \ 168 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 172 register long _arg2 __asm__ ("a1") = (long)(arg2); \
|
/Linux-v6.1/arch/parisc/include/asm/ |
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); \ 138 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5) \ argument [all …]
|
/Linux-v6.1/arch/sparc/include/asm/ |
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-v6.1/tools/testing/selftests/kvm/include/ |
D | ucall_common.h | 32 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument 33 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4) 58 #define GUEST_ASSERT_2(_condition, arg1, arg2) \ argument 59 __GUEST_ASSERT(_condition, #_condition, 2, (arg1), (arg2)) 61 #define GUEST_ASSERT_3(_condition, arg1, arg2, arg3) \ argument 62 __GUEST_ASSERT(_condition, #_condition, 3, (arg1), (arg2), (arg3)) 64 #define GUEST_ASSERT_4(_condition, arg1, arg2, arg3, arg4) \ argument 65 __GUEST_ASSERT(_condition, #_condition, 4, (arg1), (arg2), (arg3), (arg4))
|
/Linux-v6.1/tools/perf/scripts/python/Perf-Trace-Util/ |
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()
|
/Linux-v6.1/arch/x86/um/ |
D | syscalls_64.c | 17 unsigned long __user *arg2) in arch_prctl() argument 19 unsigned long *ptr = arg2, tmp; in arch_prctl() 69 ret = put_user(tmp, arg2); in arch_prctl() 72 ret = put_user(tmp, arg2); in arch_prctl() 79 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument 81 return arch_prctl(current, option, (unsigned long __user *) arg2); in SYSCALL_DEFINE2()
|
/Linux-v6.1/arch/x86/kernel/ |
D | process_64.c | 746 long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2) in do_arch_prctl_64() argument 752 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64() 764 x86_gsbase_write_cpu_inactive(arg2); in do_arch_prctl_64() 770 task->thread.gsbase = arg2; in do_arch_prctl_64() 774 x86_gsbase_write_task(task, arg2); in do_arch_prctl_64() 784 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64() 794 x86_fsbase_write_cpu(arg2); in do_arch_prctl_64() 800 task->thread.fsbase = arg2; in do_arch_prctl_64() 803 x86_fsbase_write_task(task, arg2); in do_arch_prctl_64() 811 ret = put_user(base, (unsigned long __user *)arg2); in do_arch_prctl_64() [all …]
|
/Linux-v6.1/drivers/firmware/efi/ |
D | runtime-wrappers.c | 71 efi_rts_work.arg2 = _arg2; \ 180 void *arg1, *arg2, *arg3, *arg4, *arg5; in efi_call_rts() local 184 arg2 = efi_rts_work.arg2; in efi_call_rts() 192 (efi_time_cap_t *)arg2); in efi_call_rts() 199 (efi_bool_t *)arg2, (efi_time_t *)arg3); in efi_call_rts() 203 (efi_time_t *)arg2); in efi_call_rts() 207 (efi_guid_t *)arg2, (u32 *)arg3, in efi_call_rts() 212 (efi_char16_t *)arg2, in efi_call_rts() 217 (efi_guid_t *)arg2, *(u32 *)arg3, in efi_call_rts() 222 (u64 *)arg2, (u64 *)arg3, (u64 *)arg4); in efi_call_rts() [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | bpf_syscall_macro.c | 11 unsigned long arg2 = 0; variable 50 bpf_probe_read_kernel(&arg2, sizeof(arg2), &PT_REGS_PARM2_SYSCALL(real_regs)); in BPF_KPROBE() 68 int BPF_KSYSCALL(prctl_enter, int option, unsigned long arg2, in BPF_KSYSCALL() argument 77 arg2_syscall = arg2; in BPF_KSYSCALL()
|
/Linux-v6.1/arch/x86/crypto/ |
D | aesni-intel_avx-x86_64.S | 210 #define arg2 %rsi macro 289 vmovdqu AadHash(arg2), %xmm8 290 vmovdqu HashKey(arg2), %xmm13 # xmm13 = HashKey 291 add arg5, InLen(arg2) 410 vmovdqu %xmm14, AadHash(arg2) 411 vmovdqu %xmm9, CurCount(arg2) 421 mov %r13, PBlockLen(arg2) 424 vmovdqu %xmm9, CurCount(arg2) 428 vmovdqu %xmm9, PBlockEncKey(arg2) 475 vmovdqu %xmm14, AadHash(arg2) [all …]
|
/Linux-v6.1/arch/arm/mach-bcm/ |
D | bcm_kona_smc.c | 19 unsigned arg2; member 140 writel_relaxed(data->arg2, args++); in __bcm_kona_smc() 151 unsigned arg2, unsigned arg3) in bcm_kona_smc() argument 158 data.arg2 = arg2; in bcm_kona_smc()
|