/tools/include/nolibc/ |
D | arch-aarch64.h | 73 #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); \
|
D | arch-riscv.h | 71 #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); \
|
D | arch-i386.h | 78 #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 */ \
|
D | arch-x86_64.h | 79 #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); \
|
D | arch-loongarch.h | 73 #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); \
|
D | arch-mips.h | 90 #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); \
|
D | arch-powerpc.h | 84 #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); \
|
D | arch-arm.h | 105 #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); \
|
D | arch-s390.h | 69 #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); \
|
D | sys.h | 796 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/ |
D | sdt.h | 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) 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/ |
D | bpf_syscall_macro.c | 12 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()
|
D | test_uprobe_autoattach.c | 38 , int arg3 in BPF_UPROBE() argument 61 a[2] = arg3; in BPF_UPROBE()
|
/tools/testing/ktest/examples/bootconfigs/ |
D | tracing.bconf | 14 probes = "vfs_read $arg2 $arg3"; 17 probes = "vfs_write $arg2 +0($arg2):ustring $arg3";
|
/tools/testing/selftests/kvm/lib/riscv/ |
D | ucall.c | 15 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/ |
D | uprobe_autoattach.c | 8 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()
|
D | test_bpf_syscall_macro.c | 47 ASSERT_EQ(skel->bss->arg3, exp_arg3, "syscall_arg3"); in test_bpf_syscall_macro()
|
/tools/testing/selftests/kvm/include/ |
D | ucall_common.h | 52 #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/ |
D | ptrace_syscall.c | 44 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()
|
D | syscall_numbering.c | 119 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/ |
D | processor.c | 530 #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/ |
D | isst-config.c | 553 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/ |
D | processor.h | 214 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/ |
D | cs_prctl_test.c | 77 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/ |
D | processor.h | 119 unsigned long arg3, unsigned long arg4,
|