Home
last modified time | relevance | path

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

12345678

/linux/security/keys/
H A 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 …]
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A 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 …]
/linux/drivers/gpu/drm/amd/display/include/
H A Dfixed31_32.h135 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/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_math.c40 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/tools/include/nolibc/
H A Darch-x86.h63 #define my_syscall2(num, arg1, arg2) \ argument
68 register long _arg2 __asm__ ("ecx") = (long)(arg2); \
80 #define my_syscall3(num, arg1, arg2, arg3) \ argument
85 register long _arg2 __asm__ ("ecx") = (long)(arg2); \
98 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
103 register long _arg2 __asm__ ("ecx") = (long)(arg2); \
117 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
122 register long _arg2 __asm__ ("ecx") = (long)(arg2); \
137 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
150 "c"(arg2), /* %ecx */ \
[all …]
H A Darch-mips.h96 #define my_syscall2(num, arg1, arg2) \ argument
100 register long _arg2 __asm__ ("a1") = (long)(arg2); \
115 #define my_syscall3(num, arg1, arg2, arg3) \ argument
119 register long _arg2 __asm__ ("a1") = (long)(arg2); \
135 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
139 register long _arg2 __asm__ ("a1") = (long)(arg2); \
157 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
161 register long _arg2 __asm__ ("a1") = (long)(arg2); \
179 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
183 register long _arg2 __asm__ ("a1") = (long)(arg2); \
[all …]
H A Darch-arm64.h54 #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 Darch-m68k.h45 #define my_syscall2(num, arg1, arg2) \ argument
49 register long _arg2 __asm__ ("d2") = (long)(arg2); \
60 #define my_syscall3(num, arg1, arg2, arg3) \ argument
64 register long _arg2 __asm__ ("d2") = (long)(arg2); \
76 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
80 register long _arg2 __asm__ ("d2") = (long)(arg2); \
93 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
97 register long _arg2 __asm__ ("d2") = (long)(arg2); \
111 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
115 register long _arg2 __asm__ ("d2") = (long)(arg2); \
H A Darch-loongarch.h55 #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 Darch-riscv.h52 #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 Darch-sh.h51 #define my_syscall2(num, arg1, arg2) \ argument
56 register long _arg2 __asm__ ("r5") = (long)(arg2); \
67 #define my_syscall3(num, arg1, arg2, arg3) \ argument
72 register long _arg2 __asm__ ("r5") = (long)(arg2); \
84 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
89 register long _arg2 __asm__ ("r5") = (long)(arg2); \
102 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
107 register long _arg2 __asm__ ("r5") = (long)(arg2); \
122 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
127 register long _arg2 __asm__ ("r5") = (long)(arg2); \
H A Darch-powerpc.h64 #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 Darch-s390.h55 #define my_syscall2(num, arg1, arg2) \ argument
59 register long _arg2 __asm__ ("3") = (long)(arg2); \
70 #define my_syscall3(num, arg1, arg2, arg3) \ argument
74 register long _arg2 __asm__ ("3") = (long)(arg2); \
86 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
90 register long _arg2 __asm__ ("3") = (long)(arg2); \
103 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
107 register long _arg2 __asm__ ("3") = (long)(arg2); \
122 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
126 register long _arg2 __asm__ ("3") = (long)(arg2); \
H A Darch-sparc.h69 #define my_syscall2(num, arg1, arg2) \ argument
73 register long _arg2 __asm__ ("o1") = (long)(arg2); \
84 #define my_syscall3(num, arg1, arg2, arg3) \ argument
88 register long _arg2 __asm__ ("o1") = (long)(arg2); \
100 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
104 register long _arg2 __asm__ ("o1") = (long)(arg2); \
117 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
121 register long _arg2 __asm__ ("o1") = (long)(arg2); \
135 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
139 register long _arg2 __asm__ ("o1") = (long)(arg2); \
H A Darch-arm.h87 #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); \
/linux/arch/m68k/include/asm/
H A 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), \
/linux/tools/testing/selftests/bpf/
H A Dsdt.h342 #define _SDT_ASM_OPERANDS_2(arg1, arg2) \
343 _SDT_ASM_OPERANDS_1(arg1), _SDT_ARG(2, arg2)
344 #define _SDT_ASM_OPERANDS_3(arg1, arg2, arg3) \
345 _SDT_ASM_OPERANDS_2(arg1, arg2), _SDT_ARG(3, arg3)
346 #define _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4) \
347 _SDT_ASM_OPERANDS_3(arg1, arg2, arg3), _SDT_ARG(4, arg4)
348 #define _SDT_ASM_OPERANDS_5(arg1, arg2, arg3, arg4, arg5) \
349 _SDT_ASM_OPERANDS_4(arg1, arg2, arg3, arg4), _SDT_ARG(5, arg5)
350 #define _SDT_ASM_OPERANDS_6(arg1, arg2, arg3, arg4, arg5, arg6) \
351 _SDT_ASM_OPERANDS_5(arg1, arg2, arg3, arg4, arg5), _SDT_ARG(6, arg6)
[all …]
/linux/arch/x86/um/shared/sysdep/
H A Dstub_32.h36 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
41 "c" (arg2) in stub_syscall2()
47 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument
53 "c" (arg2), "d" (arg3) in stub_syscall3()
59 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, in stub_syscall4() argument
65 "c" (arg2), "d" (arg3), "S" (arg4) in stub_syscall4()
71 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument
77 "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5) in stub_syscall5()
83 static __always_inline long stub_syscall6(long syscall, long arg1, long arg2, in stub_syscall6() argument
99 "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5) in stub_syscall6()
H A Dstub_64.h43 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
49 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2()
54 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument
61 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3()
67 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument
74 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4()
81 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument
88 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
95 static __always_inline long stub_syscall6(long syscall, long arg1, long arg2, in stub_syscall6() argument
104 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall6()
/linux/arch/x86/um/
H A Dsyscalls_64.c17 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 Dkcov.h84 void __sanitizer_cov_trace_cmp1(u8 arg1, u8 arg2);
85 void __sanitizer_cov_trace_cmp2(u16 arg1, u16 arg2);
86 void __sanitizer_cov_trace_cmp4(u32 arg1, u32 arg2);
87 void __sanitizer_cov_trace_cmp8(kcov_u64 arg1, kcov_u64 arg2);
88 void __sanitizer_cov_trace_const_cmp1(u8 arg1, u8 arg2);
89 void __sanitizer_cov_trace_const_cmp2(u16 arg1, u16 arg2);
90 void __sanitizer_cov_trace_const_cmp4(u32 arg1, u32 arg2);
91 void __sanitizer_cov_trace_const_cmp8(kcov_u64 arg1, kcov_u64 arg2);
/linux/tools/testing/selftests/kvm/include/
H A Ducall_common.h53 #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/parisc/include/asm/
H A Dunistd.h111 #define syscall2(name, arg1, arg2) \ argument
112 K_INLINE_SYSCALL(name, 2, arg1, arg2)
113 #define syscall3(name, arg1, arg2, arg3) \ argument
114 K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3)
115 #define syscall4(name, arg1, arg2, arg3, arg4) \ argument
116 K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4)
117 #define syscall5(name, arg1, arg2, arg3, arg4, arg5) \ argument
118 K_INLINE_SYSCALL(name, 5, arg1, arg2, arg3, arg4, arg5)
/linux/include/trace/events/
H A Dtask.h68 TP_PROTO(int option, unsigned long arg2, unsigned long arg3,
71 TP_ARGS(option, arg2, arg3, arg4, arg5),
75 __field( unsigned long, arg2)
83 __entry->arg2 = arg2;
90 __entry->option, __entry->arg2, __entry->arg3, __entry->arg4, __entry->arg5)
/linux/kernel/
H A Dsys.c2455 static inline int prctl_get_mdwe(unsigned long arg2, unsigned long arg3, in prctl_get_mdwe() argument
2458 if (arg2 || arg3 || arg4 || arg5) in prctl_get_mdwe()
2473 static int prctl_get_thp_disable(unsigned long arg2, unsigned long arg3, in prctl_get_thp_disable() argument
2478 if (arg2 || arg3 || arg4 || arg5) in prctl_get_thp_disable()
2518 SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3, in SYSCALL_DEFINE5() argument
2525 error = security_task_prctl(option, arg2, arg3, arg4, arg5); in SYSCALL_DEFINE5()
2532 if (!valid_signal(arg2)) { in SYSCALL_DEFINE5()
2545 me->pdeath_signal = arg2; in SYSCALL_DEFINE5()
2549 error = put_user(me->pdeath_signal, (int __user *)arg2); in SYSCALL_DEFINE5()
2555 if (arg2 != SUID_DUMP_DISABLE && arg2 != SUID_DUMP_USER) { in SYSCALL_DEFINE5()
[all …]

12345678