Home
last modified time | relevance | path

Searched refs:arg2 (Results 1 – 25 of 185) sorted by relevance

12345678

/kernel/linux/linux-5.10/security/keys/
Dcompat.c18 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 …]
Dkeyctl.c1869 SYSCALL_DEFINE5(keyctl, int, option, unsigned long, arg2, unsigned long, arg3, in SYSCALL_DEFINE5() argument
1874 return keyctl_get_keyring_ID((key_serial_t) arg2, in SYSCALL_DEFINE5()
1878 return keyctl_join_session_keyring((const char __user *) arg2); in SYSCALL_DEFINE5()
1881 return keyctl_update_key((key_serial_t) arg2, in SYSCALL_DEFINE5()
1886 return keyctl_revoke_key((key_serial_t) arg2); in SYSCALL_DEFINE5()
1889 return keyctl_describe_key((key_serial_t) arg2, in SYSCALL_DEFINE5()
1894 return keyctl_keyring_clear((key_serial_t) arg2); in SYSCALL_DEFINE5()
1897 return keyctl_keyring_link((key_serial_t) arg2, in SYSCALL_DEFINE5()
1901 return keyctl_keyring_unlink((key_serial_t) arg2, in SYSCALL_DEFINE5()
1905 return keyctl_keyring_search((key_serial_t) arg2, in SYSCALL_DEFINE5()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Dbw_fixed.h43 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 …]
Ddcn_calc_math.h29 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);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h141 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()
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()
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()
168 static inline struct fixed31_32 dc_fixpt_min(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_min() argument
170 if (arg1.value <= arg2.value) in dc_fixpt_min()
173 return arg2; in dc_fixpt_min()
180 static inline struct fixed31_32 dc_fixpt_max(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_max() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calc_math.c39 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
59 return arg1 > arg2 ? arg1 : arg2; in dcn_bw_max()
[all …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dlinkage.h24 #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), \
/kernel/linux/linux-5.10/arch/x86/um/shared/sysdep/
Dstub_32.h33 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()
Dstub_64.h29 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()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dunistd.h123 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
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) \ argument
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) \ argument
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,type3,arg3,type4,arg4,type5,arg5) \ argument
[all …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_016.c40 static void TaskF04(UINTPTR arg1, UINTPTR arg2, UINTPTR arg3, UINTPTR arg4) in TaskF04() argument
43 ICUNIT_ASSERT_EQUAL_VOID(arg2, 0xffffffff, arg2); in TaskF04()
51 static void TaskF03(UINTPTR arg1, UINTPTR arg2, UINTPTR arg3) in TaskF03() argument
54 ICUNIT_ASSERT_EQUAL_VOID(arg2, 0xffff, arg2); in TaskF03()
62 static void TaskF02(UINTPTR arg1, UINTPTR arg2) in TaskF02() argument
65 ICUNIT_ASSERT_EQUAL_VOID(arg2, 0xffff, arg2); in TaskF02()
DIt_los_task_094.c40 static void TaskF03(UINTPTR arg1, UINTPTR arg2, UINTPTR arg3, UINTPTR arg4) in TaskF03() argument
45 ICUNIT_GOTO_EQUAL(arg2, 0xffff, arg2, EXIT); in TaskF03()
52 static void TaskF02(UINTPTR arg1, UINTPTR arg2) in TaskF02() argument
55 ICUNIT_GOTO_EQUAL(arg2, 0xffff, arg2, EXIT); in TaskF02()
/kernel/uniproton/src/om/include/
Dprt_hook_external.h85 #define OS_MHOOK_ACTIVATE_PARA3(hookType, arg0, arg1, arg2) OS_MHOOK_ACTIVATE((hookType), \ argument
86 OsFunPara3, pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2)))
87 #define OS_MHOOK_ACTIVATE_PARA4(hookType, arg0, arg1, arg2, arg3) \ argument
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) \ argument
92 …pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2), (uintptr_t)(arg3), (uintptr_t)(arg4)))
98 #define OS_SHOOK_ACTIVATE_PARA3(hookType, arg0, arg1, arg2) OS_SHOOK_ACTIVATE((hookType), \ argument
99 OsFunPara3, pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2)))
100 #define OS_SHOOK_ACTIVATE_PARA4(hookType, arg0, arg1, arg2, arg3) \ argument
102 pfn((uintptr_t)(arg0), (uintptr_t)(arg1), (uintptr_t)(arg2), (uintptr_t)(arg3)))
[all …]
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dsmp_32.h61 unsigned long arg2, unsigned long arg3,
78 static inline void xc2(smpfunc_t func, unsigned long arg1, unsigned long arg2) in xc2() argument
80 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); in xc2()
83 static inline void xc3(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc3() argument
87 arg1, arg2, arg3, 0); in xc3()
90 static inline void xc4(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc4() argument
94 arg1, arg2, arg3, arg4); in xc4()
/kernel/linux/linux-5.10/tools/include/nolibc/
Dnolibc.h329 #define my_syscall2(num, arg1, arg2) \ argument
334 register long _arg2 asm("rsi") = (long)(arg2); \
346 #define my_syscall3(num, arg1, arg2, arg3) \ argument
351 register long _arg2 asm("rsi") = (long)(arg2); \
364 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
369 register long _arg2 asm("rsi") = (long)(arg2); \
383 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
388 register long _arg2 asm("rsi") = (long)(arg2); \
403 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
408 register long _arg2 asm("rsi") = (long)(arg2); \
[all …]
/kernel/linux/linux-5.10/arch/x86/um/
Dsyscalls_64.c17 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()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dparavirt_types.h581 #define PVOP_CALL2(rettype, op, arg1, arg2) \ argument
583 PVOP_CALL_ARG2(arg2))
584 #define PVOP_VCALL2(op, arg1, arg2) \ argument
586 PVOP_CALL_ARG2(arg2))
588 #define PVOP_CALLEE2(rettype, op, arg1, arg2) \ argument
590 PVOP_CALL_ARG2(arg2))
591 #define PVOP_VCALLEE2(op, arg1, arg2) \ argument
593 PVOP_CALL_ARG2(arg2))
596 #define PVOP_CALL3(rettype, op, arg1, arg2, arg3) \ argument
598 PVOP_CALL_ARG2(arg2), PVOP_CALL_ARG3(arg3))
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dprocess_64.c722 long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2) in do_arch_prctl_64() argument
728 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64()
740 x86_gsbase_write_cpu_inactive(arg2); in do_arch_prctl_64()
746 task->thread.gsbase = arg2; in do_arch_prctl_64()
750 x86_gsbase_write_task(task, arg2); in do_arch_prctl_64()
760 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64()
770 x86_fsbase_write_cpu(arg2); in do_arch_prctl_64()
776 task->thread.fsbase = arg2; in do_arch_prctl_64()
779 x86_fsbase_write_task(task, arg2); in do_arch_prctl_64()
787 ret = put_user(base, (unsigned long __user *)arg2); in do_arch_prctl_64()
[all …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dstacktrace.h80 #define CALL_ARGS_2(arg1, arg2) \ argument
82 register unsigned long r3 asm("3") = (unsigned long)(arg2)
83 #define CALL_ARGS_3(arg1, arg2, arg3) \ argument
84 CALL_ARGS_2(arg1, arg2); \
86 #define CALL_ARGS_4(arg1, arg2, arg3, arg4) \ argument
87 CALL_ARGS_3(arg1, arg2, arg3); \
89 #define CALL_ARGS_5(arg1, arg2, arg3, arg4, arg5) \ argument
90 CALL_ARGS_4(arg1, arg2, arg3, arg4); \
137 long arg2 = (long)(t2)(a2)
154 register long r3 asm("3") = arg2
/kernel/linux/linux-5.10/drivers/firmware/efi/
Druntime-wrappers.c71 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 …]
/kernel/linux/linux-5.10/arch/arm/mach-bcm/
Dbcm_kona_smc.c31 unsigned arg2; member
151 writel_relaxed(data->arg2, args++); in __bcm_kona_smc()
162 unsigned arg2, unsigned arg3) in bcm_kona_smc() argument
169 data.arg2 = arg2; in bcm_kona_smc()
/kernel/linux/linux-5.10/arch/x86/crypto/
Daesni-intel_avx-x86_64.S210 #define arg2 %rsi macro
299 vmovdqu AadHash(arg2), %xmm8
300 vmovdqu HashKey(arg2), %xmm13 # xmm13 = HashKey
301 add arg5, InLen(arg2)
420 vmovdqu %xmm14, AadHash(arg2)
421 vmovdqu %xmm9, CurCount(arg2)
431 mov %r13, PBlockLen(arg2)
434 vmovdqu %xmm9, CurCount(arg2)
438 vmovdqu %xmm9, PBlockEncKey(arg2)
485 vmovdqu %xmm14, AadHash(arg2)
[all …]
/kernel/linux/linux-5.10/drivers/firmware/meson/
Dmeson_sm.c70 static u32 __meson_sm_call(u32 cmd, u32 arg0, u32 arg1, u32 arg2, in __meson_sm_call() argument
75 arm_smccc_smc(cmd, arg0, arg1, arg2, arg3, arg4, 0, 0, &res); in __meson_sm_call()
105 u32 *ret, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call() argument
116 lret = __meson_sm_call(cmd, arg0, arg1, arg2, arg3, arg4); in meson_sm_call()
144 u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call_read() argument
158 if (meson_sm_call(fw, cmd_index, &size, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_read()
193 u32 arg1, u32 arg2, u32 arg3, u32 arg4) in meson_sm_call_write() argument
208 if (meson_sm_call(fw, cmd_index, &written, arg0, arg1, arg2, arg3, arg4) < 0) in meson_sm_call_write()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpu-reset.h14 unsigned long arg0, unsigned long arg1, unsigned long arg2);
19 unsigned long arg2) in cpu_soft_restart() argument
28 restart(el2_switch, entry, arg0, arg1, arg2); in cpu_soft_restart()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Drelocate_kernel.S61 ldo 1f-0b(%arg2), %r1
135 LDREG kexec_free_mem-0b(%arg2), %arg0
136 LDREG kexec_cmdline-0b(%arg2), %arg1
137 LDREG kexec_initrd_end-0b(%arg2), %arg3
138 LDREG kexec_initrd_start-0b(%arg2), %arg2

12345678