Home
last modified time | relevance | path

Searched refs:arg_1 (Results 1 – 8 of 8) sorted by relevance

/frameworks/libs/binary_translation/kernel_api/riscv64/
Dgen_syscall_emulation_riscv64_to_x86_64-inl.h5 long arg_1, in RunGuestSyscallImpl() argument
13 return syscall(43, arg_1, arg_2, arg_3); in RunGuestSyscallImpl()
15 return syscall(288, arg_1, arg_2, arg_3, arg_4); in RunGuestSyscallImpl()
17 return syscall(163, arg_1); in RunGuestSyscallImpl()
19 return syscall(248, arg_1, arg_2, arg_3, arg_4, arg_5); in RunGuestSyscallImpl()
21 return syscall(159, arg_1); in RunGuestSyscallImpl()
23 return syscall(49, arg_1, arg_2, arg_3); in RunGuestSyscallImpl()
25 return syscall(321, arg_1, arg_2, arg_3); in RunGuestSyscallImpl()
27 return syscall(12, arg_1); in RunGuestSyscallImpl()
29 return syscall(125, arg_1, arg_2); in RunGuestSyscallImpl()
[all …]
Dsyscall_emulation.cc83 long RunGuestSyscall___NR_execveat(long arg_1, long arg_2, long arg_3, long arg_4, long arg_5) { in RunGuestSyscall___NR_execveat() argument
84 UNUSED(arg_1, arg_2, arg_3, arg_4, arg_5); in RunGuestSyscall___NR_execveat()
90 long RunGuestSyscall___NR_fadvise64(long arg_1, long arg_2, long arg_3, long arg_4) { in RunGuestSyscall___NR_fadvise64() argument
92 return syscall(__NR_fadvise64, arg_1, arg_2, arg_3, arg_4); in RunGuestSyscall___NR_fadvise64()
95 long RunGuestSyscall___NR_ioctl(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_ioctl() argument
98 return syscall(__NR_ioctl, arg_1, arg_2, arg_3); in RunGuestSyscall___NR_ioctl()
101 long RunGuestSyscall___NR_newfstatat(long arg_1, long arg_2, long arg_3, long arg_4) { in RunGuestSyscall___NR_newfstatat() argument
103 int result = FstatatForGuest(static_cast<int>(arg_1), // dirfd in RunGuestSyscall___NR_newfstatat()
113 long RunGuestSyscall___NR_riscv_hwprobe(long arg_1, in RunGuestSyscall___NR_riscv_hwprobe() argument
123 auto pairs = bit_cast<Guest_riscv_hwprobe*>(arg_1); in RunGuestSyscall___NR_riscv_hwprobe()
[all …]
Depoll_emulation.cc60 long RunGuestSyscall___NR_epoll_ctl(long arg_1, long arg_2, long arg_3, long arg_4) { in RunGuestSyscall___NR_epoll_ctl() argument
62 return syscall(__NR_epoll_ctl, arg_1, arg_2, arg_3, nullptr); in RunGuestSyscall___NR_epoll_ctl()
69 return syscall(__NR_epoll_ctl, arg_1, arg_2, arg_3, &host_event); in RunGuestSyscall___NR_epoll_ctl()
72 long RunGuestSyscall___NR_epoll_pwait(long arg_1, in RunGuestSyscall___NR_epoll_pwait() argument
78 long res = syscall(__NR_epoll_pwait, arg_1, arg_2, arg_3, arg_4, arg_5, arg_6); in RunGuestSyscall___NR_epoll_pwait()
Depoll_emulation.h22 long RunGuestSyscall___NR_epoll_ctl(long arg_1, long arg_2, long arg_3, long arg_4);
24 long RunGuestSyscall___NR_epoll_pwait(long arg_1,
31 long RunGuestSyscall___NR_epoll_pwait2(long arg_1,
/frameworks/libs/binary_translation/kernel_api/include/berberis/kernel_api/
Dsyscall_emulation_common.h42 inline long RunGuestSyscall___NR_clone3(long arg_1, long arg_2) { in RunGuestSyscall___NR_clone3() argument
43 UNUSED(arg_1, arg_2); in RunGuestSyscall___NR_clone3()
49 inline long RunGuestSyscall___NR_close(long arg_1) { in RunGuestSyscall___NR_close() argument
50 CloseEmulatedProcSelfMapsFileDescriptor(arg_1); in RunGuestSyscall___NR_close()
51 return syscall(__NR_close, arg_1); in RunGuestSyscall___NR_close()
54 inline long RunGuestSyscall___NR_execve(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_execve() argument
55 return static_cast<long>(ExecveForGuest(bit_cast<const char*>(arg_1), // filename in RunGuestSyscall___NR_execve()
60 inline long RunGuestSyscall___NR_faccessat(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_faccessat() argument
63 return syscall(__NR_faccessat, arg_1, arg_2, arg_3); in RunGuestSyscall___NR_faccessat()
66 inline long RunGuestSyscall___NR_fstat(long arg_1, long arg_2) { in RunGuestSyscall___NR_fstat() argument
[all …]
Druntime_bridge.h27 long RunGuestSyscall___NR_timer_create(long arg_1, long arg_2, long arg_3);
29 long RunGuestSyscall___NR_clone(long arg_1, long arg_2, long arg_3, long arg_4, long arg_5);
30 long RunGuestSyscall___NR_mmap(long arg_1,
36 long RunGuestSyscall___NR_mmap2(long arg_1,
42 long RunGuestSyscall___NR_munmap(long arg_1, long arg_2);
43 long RunGuestSyscall___NR_mprotect(long arg_1, long arg_2, long arg_3);
44 long RunGuestSyscall___NR_mremap(long arg_1, long arg_2, long arg_3, long arg_4, long arg_5);
/frameworks/libs/binary_translation/kernel_api/
Druntime_bridge.cc67 long RunGuestSyscall___NR_timer_create(long arg_1, long arg_2, long arg_3) { in RunGuestSyscall___NR_timer_create() argument
70 arg_1, in RunGuestSyscall___NR_timer_create()
80 long RunGuestSyscall___NR_clone(long arg_1, long arg_2, long arg_3, long arg_4, long arg_5) { in RunGuestSyscall___NR_clone() argument
83 return CloneGuestThread(GetCurrentGuestThread(), arg_1, arg_2, arg_3, arg_4, arg_5); in RunGuestSyscall___NR_clone()
86 long RunGuestSyscall___NR_mmap(long arg_1, in RunGuestSyscall___NR_mmap() argument
92 return bit_cast<long>(MmapForGuest(bit_cast<void*>(arg_1), // addr in RunGuestSyscall___NR_mmap()
100 long RunGuestSyscall___NR_mmap2(long arg_1, in RunGuestSyscall___NR_mmap2() argument
107 MmapForGuest(bit_cast<void*>(arg_1), // addr in RunGuestSyscall___NR_mmap2()
115 long RunGuestSyscall___NR_munmap(long arg_1, long arg_2) { in RunGuestSyscall___NR_munmap() argument
116 return static_cast<long>(MunmapForGuest(bit_cast<void*>(arg_1), // addr in RunGuestSyscall___NR_munmap()
[all …]
/frameworks/libs/binary_translation/jni/
Djni_trampolines.cc203 auto [arg_env, arg_1, arg_2, arg_va] = GuestParamsValues<PFN_callee>(state); in DoTrampoline_JNIEnv_CallStaticVoidMethodV()
209 JNIEnv_CallStaticVoidMethodV_ForGuest(arg_0, arg_1, arg_2, arg_3); in DoTrampoline_JNIEnv_CallStaticVoidMethodV()
211 (arg_0->functions)->CallStaticVoidMethodA(arg_0, arg_1, arg_2, arg_3); in DoTrampoline_JNIEnv_CallStaticVoidMethodV()