Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/qemu/bsd-user/freebsd/
H A Dos-syscall.c218 abi_long arg2, abi_long arg3, abi_long arg4, in freebsd_syscall() argument
241 ret = do_freebsd_pdfork(cpu_env, arg1, arg2); in freebsd_syscall()
245 ret = do_freebsd_execve(arg1, arg2, arg3); in freebsd_syscall()
249 ret = do_freebsd_fexecve(arg1, arg2, arg3); in freebsd_syscall()
253 ret = do_freebsd_wait4(arg1, arg2, arg3, arg4); in freebsd_syscall()
257 ret = do_freebsd_wait6(cpu_env, arg1, arg2, arg3, in freebsd_syscall()
266 ret = do_bsd_getgroups(arg1, arg2); in freebsd_syscall()
270 ret = do_bsd_setgroups(arg1, arg2); in freebsd_syscall()
282 ret = do_bsd_getlogin(arg1, arg2); in freebsd_syscall()
286 ret = do_bsd_getrusage(arg1, arg2); in freebsd_syscall()
[all …]
H A Dos-stat.h58 static inline abi_long do_freebsd11_stat(abi_long arg1, abi_long arg2) in do_freebsd11_stat() argument
68 ret = h2t_freebsd11_stat(arg2, &st); in do_freebsd11_stat()
74 static inline abi_long do_freebsd11_lstat(abi_long arg1, abi_long arg2) in do_freebsd11_lstat() argument
84 ret = h2t_freebsd11_stat(arg2, &st); in do_freebsd11_lstat()
90 static inline abi_long do_freebsd11_fstat(abi_long arg1, abi_long arg2) in do_freebsd11_fstat() argument
97 ret = h2t_freebsd11_stat(arg2, &st); in do_freebsd11_fstat()
103 static inline abi_long do_freebsd_fstat(abi_long arg1, abi_long arg2) in do_freebsd_fstat() argument
110 ret = h2t_freebsd_stat(arg2, &st); in do_freebsd_fstat()
116 static inline abi_long do_freebsd11_fstatat(abi_long arg1, abi_long arg2, in do_freebsd11_fstatat() argument
123 LOCK_PATH(p, arg2); in do_freebsd11_fstatat()
[all …]
/openbmc/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 …]
/openbmc/qemu/bsd-user/
H A Dbsd-file.h35 #define LOCK_PATH2(p1, arg1, p2, arg2) \ argument
41 (p2) = lock_user_string(arg2); \
48 #define UNLOCK_PATH2(p1, arg1, p2, arg2) \ argument
50 unlock_user(p2, arg2, 0); \
71 static abi_long do_bsd_read(abi_long arg1, abi_long arg2, abi_long arg3) in do_bsd_read() argument
76 p = lock_user(VERIFY_WRITE, arg2, arg3, 0); in do_bsd_read()
81 unlock_user(p, arg2, ret); in do_bsd_read()
88 abi_long arg2, abi_long arg3, abi_long arg4, abi_long arg5, abi_long arg6) in do_bsd_pread() argument
93 p = lock_user(VERIFY_WRITE, arg2, arg3, 0); in do_bsd_pread()
102 unlock_user(p, arg2, ret); in do_bsd_pread()
[all …]
H A Dstrace.c54 abi_long arg2, abi_long arg3, abi_long arg4, abi_long arg5, in print_sysctl() argument
61 namep = lock_user(VERIFY_READ, arg1, sizeof(int32_t) * arg2, 1); in print_sysctl()
65 for (i = 0; i < (uint32_t)arg2; i++) { in print_sysctl()
72 (uint32_t)arg2, arg3, arg4, arg5, arg6); in print_sysctl()
76 abi_long arg2, abi_long arg3, abi_long arg4, abi_long arg5, in print_execve() argument
89 for (arg_ptr_addr = arg2; ; arg_ptr_addr += sizeof(abi_ulong)) { in print_execve()
110 abi_long arg1, abi_long arg2, abi_long arg3, abi_long arg4, in print_ioctl() argument
118 (unsigned long)arg2, in print_ioctl()
119 arg2 & IOC_OUT ? "R" : "", in print_ioctl()
120 arg2 & IOC_IN ? "W" : "", in print_ioctl()
[all …]
H A Dbsd-proc.h43 static inline abi_long do_bsd_getgroups(abi_long gidsetsize, abi_long arg2) in do_bsd_getgroups() argument
54 target_grouplist = lock_user(VERIFY_WRITE, arg2, gidsetsize * 2, 0); in do_bsd_getgroups()
61 unlock_user(target_grouplist, arg2, gidsetsize * 2); in do_bsd_getgroups()
68 static inline abi_long do_bsd_setgroups(abi_long gidsetsize, abi_long arg2) in do_bsd_setgroups() argument
75 target_grouplist = lock_user(VERIFY_READ, arg2, gidsetsize * 2, 1); in do_bsd_setgroups()
82 unlock_user(target_grouplist, arg2, 0); in do_bsd_setgroups()
109 static inline abi_long do_bsd_getlogin(abi_long arg1, abi_long arg2) in do_bsd_getlogin() argument
114 p = lock_user(VERIFY_WRITE, arg1, arg2, 0); in do_bsd_getlogin()
118 ret = get_errno(_getlogin(p, arg2)); in do_bsd_getlogin()
119 unlock_user(p, arg1, arg2); in do_bsd_getlogin()
[all …]
/openbmc/qemu/tcg/
H A Dtcg-op.c350 void tcg_gen_add_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2) in tcg_gen_add_i32() argument
352 tcg_gen_op3_i32(INDEX_op_add_i32, ret, arg1, arg2); in tcg_gen_add_i32()
355 void tcg_gen_addi_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2) in tcg_gen_addi_i32() argument
358 if (arg2 == 0) { in tcg_gen_addi_i32()
361 tcg_gen_add_i32(ret, arg1, tcg_constant_i32(arg2)); in tcg_gen_addi_i32()
365 void tcg_gen_sub_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2) in tcg_gen_sub_i32() argument
367 tcg_gen_op3_i32(INDEX_op_sub_i32, ret, arg1, arg2); in tcg_gen_sub_i32()
370 void tcg_gen_subfi_i32(TCGv_i32 ret, int32_t arg1, TCGv_i32 arg2) in tcg_gen_subfi_i32() argument
373 tcg_gen_neg_i32(ret, arg2); in tcg_gen_subfi_i32()
375 tcg_gen_sub_i32(ret, tcg_constant_i32(arg1), arg2); in tcg_gen_subfi_i32()
[all …]
/openbmc/qemu/accel/tcg/
H A Dtcg-runtime.c40 int32_t HELPER(div_i32)(int32_t arg1, int32_t arg2) in HELPER()
42 return arg1 / arg2; in HELPER()
45 int32_t HELPER(rem_i32)(int32_t arg1, int32_t arg2) in HELPER()
47 return arg1 % arg2; in HELPER()
50 uint32_t HELPER(divu_i32)(uint32_t arg1, uint32_t arg2) in HELPER()
52 return arg1 / arg2; in HELPER()
55 uint32_t HELPER(remu_i32)(uint32_t arg1, uint32_t arg2) in HELPER()
57 return arg1 % arg2; in HELPER()
62 uint64_t HELPER(shl_i64)(uint64_t arg1, uint64_t arg2) in HELPER()
64 return arg1 << arg2; in HELPER()
[all …]
/openbmc/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 …]
/openbmc/qemu/target/mips/tcg/
H A Dvr54xx_helper.c48 target_ulong arg2) in helper_muls() argument
51 (int64_t)(int32_t)arg2)); in helper_muls()
55 target_ulong arg2) in helper_mulsu() argument
58 (uint64_t)(uint32_t)arg2); in helper_mulsu()
62 target_ulong arg2) in helper_macc() argument
65 (int64_t)(int32_t)arg2); in helper_macc()
69 target_ulong arg2) in helper_macchi() argument
72 (int64_t)(int32_t)arg2); in helper_macchi()
76 target_ulong arg2) in helper_maccu() argument
79 (uint64_t)(uint32_t)arg2); in helper_maccu()
[all …]
H A Dldst_helper.c70 void helper_swl(CPUMIPSState *env, target_ulong arg1, target_ulong arg2, in helper_swl() argument
73 target_ulong lmask = get_lmask(env, arg2, 32); in helper_swl()
76 cpu_stb_mmuidx_ra(env, arg2, (uint8_t)(arg1 >> 24), mem_idx, GETPC()); in helper_swl()
79 cpu_stb_mmuidx_ra(env, arg2 + 1 * dir, (uint8_t)(arg1 >> 16), in helper_swl()
84 cpu_stb_mmuidx_ra(env, arg2 + 2 * dir, (uint8_t)(arg1 >> 8), in helper_swl()
89 cpu_stb_mmuidx_ra(env, arg2 + 3 * dir, (uint8_t)arg1, in helper_swl()
94 void helper_swr(CPUMIPSState *env, target_ulong arg1, target_ulong arg2, in helper_swr() argument
97 target_ulong lmask = get_lmask(env, arg2, 32); in helper_swr()
100 cpu_stb_mmuidx_ra(env, arg2, (uint8_t)arg1, mem_idx, GETPC()); in helper_swr()
103 cpu_stb_mmuidx_ra(env, arg2 - 1 * dir, (uint8_t)(arg1 >> 8), in helper_swr()
[all …]
/openbmc/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 …]
/openbmc/qemu/include/tcg/
H A Dtcg-op-common.h83 void tcg_gen_addi_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2);
84 void tcg_gen_subfi_i32(TCGv_i32 ret, int32_t arg1, TCGv_i32 arg2);
85 void tcg_gen_subi_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2);
86 void tcg_gen_andi_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2);
87 void tcg_gen_ori_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2);
88 void tcg_gen_xori_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2);
89 void tcg_gen_shli_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2);
90 void tcg_gen_shri_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2);
91 void tcg_gen_sari_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2);
92 void tcg_gen_muli_i32(TCGv_i32 ret, TCGv_i32 arg1, int32_t arg2);
[all …]
/openbmc/qemu/linux-user/aarch64/
H A Dtarget_prctl.h23 static abi_long do_prctl_sve_set_vl(CPUArchState *env, abi_long arg2) in do_prctl_sve_set_vl() argument
31 && arg2 >= 0 && arg2 <= 512 * 16 && !(arg2 & 15)) { in do_prctl_sve_set_vl()
42 vq = MAX(arg2 / 16, 1); in do_prctl_sve_set_vl()
67 static abi_long do_prctl_sme_set_vl(CPUArchState *env, abi_long arg2) in do_prctl_sme_set_vl() argument
75 && arg2 >= 0 && arg2 <= 512 * 16 && !(arg2 & 15)) { in do_prctl_sme_set_vl()
86 vq = MAX(arg2 / 16, 1); in do_prctl_sme_set_vl()
109 static abi_long do_prctl_reset_keys(CPUArchState *env, abi_long arg2) in do_prctl_reset_keys() argument
119 if (arg2 == 0) { in do_prctl_reset_keys()
120 arg2 = all; in do_prctl_reset_keys()
121 } else if (arg2 & ~all) { in do_prctl_reset_keys()
[all …]
/openbmc/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 …]
/openbmc/bmcweb/redfish-core/src/
H A Dresource_messages.cpp81 std::string_view arg2) in resourceErrorsDetected() argument
85 std::to_array({arg1, arg2})); in resourceErrorsDetected()
96 std::string_view arg2) in resourceErrorsCorrected() argument
100 std::to_array({arg1, arg2})); in resourceErrorsCorrected()
111 std::string_view arg2) in resourceErrorThresholdExceeded() argument
115 std::to_array({arg1, arg2})); in resourceErrorThresholdExceeded()
126 std::string_view arg2) in resourceErrorThresholdCleared() argument
130 std::to_array({arg1, arg2})); in resourceErrorThresholdCleared()
141 std::string_view arg2) in resourceWarningThresholdExceeded() argument
145 std::to_array({arg1, arg2})); in resourceWarningThresholdExceeded()
[all …]
H A Derror_messages.cpp172 std::string_view arg2) in propertyValueTypeError() argument
177 std::to_array<std::string_view>({arg1Str, arg2})); in propertyValueTypeError()
181 std::string_view arg2) in propertyValueTypeError() argument
184 addMessageToJson(res.jsonValue, propertyValueTypeError(arg1, arg2), arg2); in propertyValueTypeError()
195 std::string_view arg2) in propertyValueFormatError() argument
200 std::to_array<std::string_view>({arg1Str, arg2})); in propertyValueFormatError()
204 std::string_view arg2) in propertyValueFormatError() argument
207 addMessageToJson(res.jsonValue, propertyValueFormatError(arg1, arg2), arg2); in propertyValueFormatError()
218 std::string_view arg2) in propertyValueNotInList() argument
223 std::to_array<std::string_view>({arg1Str, arg2})); in propertyValueNotInList()
[all …]
/openbmc/bmcweb/redfish-core/include/
H A Derror_messages.hpp106 std::string_view arg2);
109 std::string_view arg2);
121 std::string_view arg2);
124 std::string_view arg2);
136 std::string_view arg2);
139 std::string_view arg2);
151 std::string_view arg2);
154 std::string_view arg2);
258 std::string_view arg2);
261 std::string_view arg2);
[all …]
H A Dresource_messages.hpp35 std::string_view arg2);
38 std::string_view arg2);
41 std::string_view arg2);
44 std::string_view arg2);
47 std::string_view arg2);
50 std::string_view arg2);
53 std::string_view arg2);
56 std::string_view arg2);
59 std::string_view arg2);
62 std::string_view arg2);
[all …]
/openbmc/qemu/linux-user/
H A Dstrace.c649 abi_long arg1, abi_long arg2, abi_long arg3, in print_newselect() argument
653 print_fdset(arg1, arg2); in print_newselect()
666 abi_long arg1, abi_long arg2, abi_long arg3, in print_semctl() argument
670 name->name, arg1, arg2); in print_semctl()
677 abi_long arg0, abi_long arg1, abi_long arg2, in print_shmat() argument
691 print_flags(shmat_flags, arg2, 1); in print_shmat()
698 abi_long arg1, abi_long arg2, abi_long arg3, in print_ipc() argument
704 arg2, arg3, arg4, arg5, 0, 0); in print_ipc()
708 arg2, arg5, arg3, 0, 0, 0); in print_ipc()
717 name->name, arg1, arg2, arg3, arg4); in print_ipc()
[all …]
/openbmc/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), \
/openbmc/qemu/tests/tcg/arm/
H A Dhello-arm.c40 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
41 type name(type1 arg1,type2 arg2) { \
49 : "r" ((long)(arg1)),"r" ((long)(arg2)) \
55 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument
56 type name(type1 arg1,type2 arg2,type3 arg3) { \
65 : "r" ((long)(arg1)),"r" ((long)(arg2)),"r" ((long)(arg3)) \
71 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument
72 type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) { \
82 : "r" ((long)(arg1)),"r" ((long)(arg2)),"r" ((long)(arg3)),"r" ((long)(arg4)) \
88 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5) \ argument
[all …]
/openbmc/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 …]
/openbmc/linux/tools/include/nolibc/
H A Darch-riscv.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-aarch64.h57 #define my_syscall2(num, arg1, arg2) \ argument
61 register long _arg2 __asm__ ("x1") = (long)(arg2); \
73 #define my_syscall3(num, arg1, arg2, arg3) \ argument
77 register long _arg2 __asm__ ("x1") = (long)(arg2); \
90 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
94 register long _arg2 __asm__ ("x1") = (long)(arg2); \
108 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
112 register long _arg2 __asm__ ("x1") = (long)(arg2); \
127 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
131 register long _arg2 __asm__ ("x1") = (long)(arg2); \

12345678910>>...14