/tools/include/nolibc/ |
D | arch-aarch64.h | 94 #define my_syscall2(num, arg1, arg2) \ argument 98 register long _arg2 asm("x1") = (long)(arg2); \ 110 #define my_syscall3(num, arg1, arg2, arg3) \ argument 114 register long _arg2 asm("x1") = (long)(arg2); \ 127 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 131 register long _arg2 asm("x1") = (long)(arg2); \ 145 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 149 register long _arg2 asm("x1") = (long)(arg2); \ 164 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 168 register long _arg2 asm("x1") = (long)(arg2); \
|
D | arch-x86_64.h | 98 #define my_syscall2(num, arg1, arg2) \ argument 103 register long _arg2 asm("rsi") = (long)(arg2); \ 115 #define my_syscall3(num, arg1, arg2, arg3) \ argument 120 register long _arg2 asm("rsi") = (long)(arg2); \ 133 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 138 register long _arg2 asm("rsi") = (long)(arg2); \ 152 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 157 register long _arg2 asm("rsi") = (long)(arg2); \ 172 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 177 register long _arg2 asm("rsi") = (long)(arg2); \
|
D | arch-riscv.h | 95 #define my_syscall2(num, arg1, arg2) \ argument 99 register long _arg2 asm("a1") = (long)(arg2); \ 111 #define my_syscall3(num, arg1, arg2, arg3) \ argument 115 register long _arg2 asm("a1") = (long)(arg2); \ 128 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 132 register long _arg2 asm("a1") = (long)(arg2); \ 146 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 150 register long _arg2 asm("a1") = (long)(arg2); \ 165 #define my_syscall6(num, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 169 register long _arg2 asm("a1") = (long)(arg2); \
|
D | arch-arm.h | 107 #define my_syscall2(num, arg1, arg2) \ argument 111 register long _arg2 asm("r1") = (long)(arg2); \ 123 #define my_syscall3(num, arg1, arg2, arg3) \ argument 127 register long _arg2 asm("r1") = (long)(arg2); \ 140 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 144 register long _arg2 asm("r1") = (long)(arg2); \ 158 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 162 register long _arg2 asm("r1") = (long)(arg2); \
|
D | arch-i386.h | 96 #define my_syscall2(num, arg1, arg2) \ argument 101 register long _arg2 asm("ecx") = (long)(arg2); \ 113 #define my_syscall3(num, arg1, arg2, arg3) \ argument 118 register long _arg2 asm("ecx") = (long)(arg2); \ 131 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 136 register long _arg2 asm("ecx") = (long)(arg2); \ 150 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 155 register long _arg2 asm("ecx") = (long)(arg2); \
|
D | arch-mips.h | 106 #define my_syscall2(num, arg1, arg2) \ argument 110 register long _arg2 asm("a1") = (long)(arg2); \ 126 #define my_syscall3(num, arg1, arg2, arg3) \ argument 130 register long _arg2 asm("a1") = (long)(arg2); \ 147 #define my_syscall4(num, arg1, arg2, arg3, arg4) \ argument 151 register long _arg2 asm("a1") = (long)(arg2); \ 168 #define my_syscall5(num, arg1, arg2, arg3, arg4, arg5) \ argument 172 register long _arg2 asm("a1") = (long)(arg2); \
|
/tools/perf/scripts/python/Perf-Trace-Util/ |
D | Context.c | 27 #define _PyCapsule_GetPointer(arg1, arg2) \ argument 29 #define _PyBytes_FromStringAndSize(arg1, arg2) \ argument 30 PyString_FromStringAndSize((arg1), (arg2)) 36 #define _PyCapsule_GetPointer(arg1, arg2) \ argument 37 PyCapsule_GetPointer((arg1), (arg2)) 38 #define _PyBytes_FromStringAndSize(arg1, arg2) \ argument 39 PyBytes_FromStringAndSize((arg1), (arg2)) 46 static struct scripting_context *get_args(PyObject *args, const char *name, PyObject **arg2) in get_args() argument 48 int cnt = 1 + !!arg2; in get_args() 51 if (!PyArg_UnpackTuple(args, name, 1, cnt, &context, arg2)) in get_args()
|
/tools/testing/ktest/examples/bootconfigs/ |
D | tracing.bconf | 14 probes = "vfs_read $arg2 $arg3"; 17 probes = "vfs_write $arg2 +0($arg2):ustring $arg3";
|
D | boottrace.bconf | 7 probes = "vfs_read $arg1 $arg2"
|
/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 373 #define GUEST_SYNC_ARGS(stage, arg1, arg2, arg3, arg4) \ argument 374 ucall(UCALL_SYNC, 6, "hello", stage, arg1, arg2, arg3, arg4) 390 #define GUEST_ASSERT_2(_condition, arg1, arg2) \ argument 391 __GUEST_ASSERT(_condition, #_condition, 2, (arg1), (arg2)) 393 #define GUEST_ASSERT_3(_condition, arg1, arg2, arg3) \ argument 394 __GUEST_ASSERT(_condition, #_condition, 3, (arg1), (arg2), (arg3)) 396 #define GUEST_ASSERT_4(_condition, arg1, arg2, arg3, arg4) \ argument 397 __GUEST_ASSERT(_condition, #_condition, 4, (arg1), (arg2), (arg3), (arg4))
|
/tools/testing/selftests/x86/ |
D | ptrace_syscall.c | 44 uint32_t nr, arg0, arg1, arg2, arg3, arg4, arg5; member 61 "+b" (args->arg0), "+c" (args->arg1), "+d" (args->arg2), in do_full_int80() 143 .arg0 = 10, .arg1 = 11, .arg2 = 12, in test_sys32_regs() 150 args.arg0 != 10 || args.arg1 != 11 || args.arg2 != 12 || in test_sys32_regs() 165 args.arg0 != getpid() || args.arg1 != SIGUSR1 || args.arg2 != 12 || in test_sys32_regs()
|
D | syscall_numbering.c | 118 register long long arg2 asm("rsi") = 0; in probe_syscall() 137 "r" (arg1), "r" (arg2), "r" (arg3), in probe_syscall()
|
/tools/power/x86/intel-speed-select/ |
D | isst-config.c | 416 void *arg1, void *arg2, void *arg3, in for_each_online_package_in_set() argument 455 callback(i, arg1, arg2, arg3, arg4); in for_each_online_package_in_set() 463 void *arg2, void *arg3, void *arg4) in for_each_online_target_cpu_in_set() argument 480 callback(i, arg1, arg2, arg3, arg4); in for_each_online_target_cpu_in_set() 1035 static void exec_on_get_ctdp_cpu(int cpu, void *arg1, void *arg2, void *arg3, in exec_on_get_ctdp_cpu() argument 1042 ret = fn_ptr(cpu, arg2); in exec_on_get_ctdp_cpu() 1210 static void dump_clx_n_config_for_cpu(int cpu, void *arg1, void *arg2, in dump_clx_n_config_for_cpu() argument 1236 static void dump_isst_config_for_cpu(int cpu, void *arg1, void *arg2, in dump_isst_config_for_cpu() argument 1286 static void set_tdp_level_for_cpu(int cpu, void *arg1, void *arg2, void *arg3, in set_tdp_level_for_cpu() argument 1361 static void clx_n_dump_pbf_config_for_cpu(int cpu, void *arg1, void *arg2, in clx_n_dump_pbf_config_for_cpu() argument [all …]
|
/tools/testing/selftests/bpf/progs/ |
D | test_core_extern.c | 11 static int (*bpf_missing_helper)(const void *arg1, int arg2) = (void *) 999;
|
/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 76 static int _prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, in _prctl() argument 81 res = prctl(option, arg2, arg3, arg4, arg5); in _prctl() 82 printf("%d = prctl(%d, %ld, %ld, %ld, %lx)\n", res, option, (long)arg2, (long)arg3, in _prctl()
|
/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 58 #define _PyUnicode_FromStringAndSize(arg1, arg2) \ argument 59 PyString_FromStringAndSize((arg1), (arg2)) 60 #define _PyBytes_FromStringAndSize(arg1, arg2) \ argument 61 PyString_FromStringAndSize((arg1), (arg2)) 66 #define _PyCapsule_New(arg1, arg2, arg3) \ argument 67 PyCObject_FromVoidPtr((arg1), (arg2)) 73 #define _PyUnicode_FromStringAndSize(arg1, arg2) \ argument 74 PyUnicode_FromStringAndSize((arg1), (arg2)) 75 #define _PyBytes_FromStringAndSize(arg1, arg2) \ argument 76 PyBytes_FromStringAndSize((arg1), (arg2)) [all …]
|
/tools/perf/examples/bpf/ |
D | augmented_raw_syscalls.c | 75 struct augmented_arg arg, arg2; member
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-btf.rst | 141 int my_func(union my_union *arg1, int arg2) 181 'arg2' type_id=3
|
/tools/perf/util/ |
D | bpf-loader.c | 488 struct probe_trace_arg *arg1, *arg2; in compare_tev_args() local 492 arg2 = &tev2->args[i]; in compare_tev_args() 494 ret = strcmp(arg1->value, arg2->value); in compare_tev_args() 499 ref2 = arg2->ref; in compare_tev_args()
|