Searched refs:host_stat (Results 1 – 3 of 3) sorted by relevance
45 void ConvertHostStatToGuestArch(const struct stat& host_stat, GuestAddr guest_addr) { in ConvertHostStatToGuestArch() argument47 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 …]
102 struct stat host_stat; in RunGuestSyscall___NR_newfstatat() local105 &host_stat, in RunGuestSyscall___NR_newfstatat()108 ConvertHostStatToGuestArch(host_stat, bit_cast<GuestAddr>(arg_3)); in RunGuestSyscall___NR_newfstatat()
40 void ConvertHostStatToGuestArch(const struct stat& host_stat, GuestAddr guest_stat);72 struct stat host_stat; in RunGuestSyscall___NR_fstat() local76 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()