Home
last modified time | relevance | path

Searched refs:arg3 (Results 1 – 25 of 28) sorted by relevance

12

/tools/include/nolibc/
Darch-aarch64.h73 #define my_syscall3(num, arg1, arg2, arg3) \ argument
78 register long _arg3 __asm__ ("x2") = (long)(arg3); \
90 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
95 register long _arg3 __asm__ ("x2") = (long)(arg3); \
108 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
113 register long _arg3 __asm__ ("x2") = (long)(arg3); \
127 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
132 register long _arg3 __asm__ ("x2") = (long)(arg3); \
Darch-riscv.h71 #define my_syscall3(num, arg1, arg2, arg3) \ argument
76 register long _arg3 __asm__ ("a2") = (long)(arg3); \
88 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
93 register long _arg3 __asm__ ("a2") = (long)(arg3); \
106 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
111 register long _arg3 __asm__ ("a2") = (long)(arg3); \
125 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
130 register long _arg3 __asm__ ("a2") = (long)(arg3); \
Darch-i386.h78 #define my_syscall3(num, arg1, arg2, arg3) \ argument
84 register long _arg3 __asm__ ("edx") = (long)(arg3); \
96 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
102 register long _arg3 __asm__ ("edx") = (long)(arg3); \
115 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
121 register long _arg3 __asm__ ("edx") = (long)(arg3); \
135 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
149 "d"(arg3), /* %edx */ \
Darch-x86_64.h79 #define my_syscall3(num, arg1, arg2, arg3) \ argument
85 register long _arg3 __asm__ ("rdx") = (long)(arg3); \
97 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
103 register long _arg3 __asm__ ("rdx") = (long)(arg3); \
116 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
122 register long _arg3 __asm__ ("rdx") = (long)(arg3); \
136 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
142 register long _arg3 __asm__ ("rdx") = (long)(arg3); \
Darch-loongarch.h73 #define my_syscall3(num, arg1, arg2, arg3) \ argument
78 register long _arg3 __asm__ ("a2") = (long)(arg3); \
90 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
95 register long _arg3 __asm__ ("a2") = (long)(arg3); \
108 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
113 register long _arg3 __asm__ ("a2") = (long)(arg3); \
127 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
132 register long _arg3 __asm__ ("a2") = (long)(arg3); \
Darch-mips.h90 #define my_syscall3(num, arg1, arg2, arg3) \ argument
95 register long _arg3 __asm__ ("a2") = (long)(arg3); \
110 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
115 register long _arg3 __asm__ ("a2") = (long)(arg3); \
130 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
135 register long _arg3 __asm__ ("a2") = (long)(arg3); \
152 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
157 register long _arg3 __asm__ ("a2") = (long)(arg3); \
Darch-powerpc.h84 #define my_syscall3(num, arg1, arg2, arg3) \ argument
90 register long _arg3 __asm__ ("r5") = (long)(arg3); \
105 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
111 register long _arg3 __asm__ ("r5") = (long)(arg3); \
128 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
134 register long _arg3 __asm__ ("r5") = (long)(arg3); \
151 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
157 register long _arg3 __asm__ ("r5") = (long)(arg3); \
Darch-arm.h105 #define my_syscall3(num, arg1, arg2, arg3) \ argument
110 register long _arg3 __asm__ ("r2") = (long)(arg3); \
124 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
129 register long _arg3 __asm__ ("r2") = (long)(arg3); \
144 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
149 register long _arg3 __asm__ ("r2") = (long)(arg3); \
165 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
170 register long _arg3 __asm__ ("r2") = (long)(arg3); \
Darch-s390.h69 #define my_syscall3(num, arg1, arg2, arg3) \ argument
74 register long _arg3 __asm__ ("4") = (long)(arg3); \
85 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument
90 register long _arg3 __asm__ ("4") = (long)(arg3); \
102 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument
107 register long _arg3 __asm__ ("4") = (long)(arg3); \
121 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
126 register long _arg3 __asm__ ("4") = (long)(arg3); \
Dsys.h796 int sys_prctl(int option, unsigned long arg2, unsigned long arg3, in sys_prctl() argument
799 return my_syscall5(__NR_prctl, option, arg2, arg3, arg4, arg5); in sys_prctl()
803 int prctl(int option, unsigned long arg2, unsigned long arg3, in prctl() argument
806 return __sysret(sys_prctl(option, arg2, arg3, arg4, arg5)); in prctl()
/tools/testing/selftests/bpf/
Dsdt.h342 #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)
350 #define _SDT_ASM_OPERANDS_7(arg1, arg2, arg3, arg4, arg5, arg6, arg7) \
351 _SDT_ASM_OPERANDS_6(arg1, arg2, arg3, arg4, arg5, arg6), _SDT_ARG(7, arg7)
[all …]
/tools/testing/selftests/bpf/progs/
Dbpf_syscall_macro.c12 unsigned long arg3 = 0; variable
51 bpf_probe_read_kernel(&arg3, sizeof(arg3), &PT_REGS_PARM3_SYSCALL(real_regs)); in BPF_KPROBE()
69 unsigned long arg3, unsigned long arg4, unsigned long arg5) in BPF_KSYSCALL() argument
78 arg3_syscall = arg3; in BPF_KSYSCALL()
Dtest_uprobe_autoattach.c38 , int arg3 in BPF_UPROBE() argument
61 a[2] = arg3; in BPF_UPROBE()
/tools/testing/ktest/examples/bootconfigs/
Dtracing.bconf14 probes = "vfs_read $arg2 $arg3";
17 probes = "vfs_write $arg2 +0($arg2):ustring $arg3";
/tools/testing/selftests/kvm/lib/riscv/
Ducall.c15 unsigned long arg3, unsigned long arg4, in sbi_ecall() argument
21 register uintptr_t a3 asm ("a3") = (uintptr_t)(arg3); in sbi_ecall()
/tools/testing/selftests/bpf/prog_tests/
Duprobe_autoattach.c8 static noinline int autoattach_trigger_func(int arg1, int arg2, int arg3, in autoattach_trigger_func() argument
13 return arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + 1; in autoattach_trigger_func()
Dtest_bpf_syscall_macro.c47 ASSERT_EQ(skel->bss->arg3, exp_arg3, "syscall_arg3"); in test_bpf_syscall_macro()
/tools/testing/selftests/kvm/include/
Ducall_common.h52 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument
53 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4)
/tools/testing/selftests/x86/
Dptrace_syscall.c44 uint32_t nr, arg0, arg1, arg2, arg3, arg4, arg5; member
62 "+S" (args->arg3), "+D" (args->arg4), "+r" (bp) in do_full_int80()
144 .arg3 = 13, .arg4 = 14, .arg5 = 15, in test_sys32_regs()
151 args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) { in test_sys32_regs()
166 args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) { in test_sys32_regs()
Dsyscall_numbering.c119 register long long arg3 asm("rdx") = 0; in probe_syscall()
137 "r" (arg1), "r" (arg2), "r" (arg3), in probe_syscall()
/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c530 #define __smccc_call(insn, function_id, arg0, arg1, arg2, arg3, arg4, arg5, \ argument
548 [arg1] "r"(arg1), [arg2] "r"(arg2), [arg3] "r"(arg3), \
554 uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5, in smccc_hvc() argument
557 __smccc_call(hvc, function_id, arg0, arg1, arg2, arg3, arg4, arg5, in smccc_hvc()
562 uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5, in smccc_smc() argument
565 __smccc_call(smc, function_id, arg0, arg1, arg2, arg3, arg4, arg5, in smccc_smc()
/tools/power/x86/intel-speed-select/
Disst-config.c553 void *arg1, void *arg2, void *arg3, in for_each_online_power_domain_in_set() argument
602 callback(&id, arg1, arg2, arg3, arg4); in for_each_online_power_domain_in_set()
610 void *arg2, void *arg3, void *arg4) in for_each_online_target_cpu_in_set() argument
629 callback(&id, arg1, arg2, arg3, arg4); in for_each_online_target_cpu_in_set()
1049 void get_isst_status(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) in get_isst_status() argument
1053 int *mask = (int *)arg3; in get_isst_status()
1161 static void exec_on_get_ctdp_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, in exec_on_get_ctdp_cpu() argument
1172 isst_ctdp_display_core_info(id, outf, arg3, in exec_on_get_ctdp_cpu()
1332 void *arg3, void *arg4) in dump_clx_n_config_for_cpu() argument
1358 void *arg3, void *arg4) in dump_isst_config_for_cpu() argument
[all …]
/tools/testing/selftests/kvm/include/aarch64/
Dprocessor.h214 uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5,
225 uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5,
/tools/testing/selftests/sched/
Dcs_prctl_test.c77 static int _prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, in _prctl() argument
82 res = prctl(option, arg2, arg3, arg4, arg5); in _prctl()
83 printf("%d = prctl(%d, %ld, %ld, %ld, %lx)\n", res, option, (long)arg2, (long)arg3, in _prctl()
/tools/testing/selftests/kvm/include/riscv/
Dprocessor.h119 unsigned long arg3, unsigned long arg4,

12