Home
last modified time | relevance | path

Searched refs:host_stat (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/binary_translation/kernel_api/riscv64/
Dsyscall_emulation_arch.cc45 void ConvertHostStatToGuestArch(const struct stat& host_stat, GuestAddr guest_addr) { in ConvertHostStatToGuestArch() argument
47 guest_stat->st_dev = host_stat.st_dev; in ConvertHostStatToGuestArch()
48 guest_stat->st_ino = host_stat.st_ino; in ConvertHostStatToGuestArch()
49 guest_stat->st_mode = host_stat.st_mode; in ConvertHostStatToGuestArch()
50 guest_stat->st_nlink = host_stat.st_nlink; in ConvertHostStatToGuestArch()
51 guest_stat->st_uid = host_stat.st_uid; in ConvertHostStatToGuestArch()
52 guest_stat->st_gid = host_stat.st_gid; in ConvertHostStatToGuestArch()
53 guest_stat->st_rdev = host_stat.st_rdev; in ConvertHostStatToGuestArch()
54 guest_stat->st_size = host_stat.st_size; in ConvertHostStatToGuestArch()
55 guest_stat->st_blksize = host_stat.st_blksize; in ConvertHostStatToGuestArch()
[all …]
Dsyscall_emulation.cc102 struct stat host_stat; in RunGuestSyscall___NR_newfstatat() local
105 &host_stat, in RunGuestSyscall___NR_newfstatat()
108 ConvertHostStatToGuestArch(host_stat, bit_cast<GuestAddr>(arg_3)); in RunGuestSyscall___NR_newfstatat()
/frameworks/libs/binary_translation/kernel_api/include/berberis/kernel_api/
Dsyscall_emulation_common.h40 void ConvertHostStatToGuestArch(const struct stat& host_stat, GuestAddr guest_stat);
72 struct stat host_stat; in RunGuestSyscall___NR_fstat() local
76 result = syscall(__NR_stat, "/proc/self/maps", &host_stat); in RunGuestSyscall___NR_fstat()
78 result = syscall(__NR_fstat, arg_1, &host_stat); in RunGuestSyscall___NR_fstat()
81 ConvertHostStatToGuestArch(host_stat, bit_cast<GuestAddr>(arg_2)); in RunGuestSyscall___NR_fstat()