📄 syscall_defs.h.svn-base
字号:
};/* This matches struct stat64 in glibc2.1, hence the absolutely * insane amounts of padding around dev_t's. */struct target_stat64 { unsigned long long st_dev; unsigned char __pad1[2];#define TARGET_STAT64_HAS_BROKEN_ST_INO 1 abi_ulong __st_ino; unsigned int st_mode; unsigned int st_nlink; abi_ulong st_uid; abi_ulong st_gid; unsigned long long st_rdev; unsigned char __pad3[2]; long long st_size; abi_ulong st_blksize; abi_ulong __pad4; /* future possible st_blocks high bits */ abi_ulong st_blocks; /* Number 512-byte blocks allocated. */ abi_ulong target_st_atime; abi_ulong target_st_atime_nsec; abi_ulong target_st_mtime; abi_ulong target_st_mtime_nsec; abi_ulong target_st_ctime; abi_ulong target_st_ctime_nsec; unsigned long long st_ino;} __attribute__((packed));#elif defined(TARGET_ABI_MIPSN64)/* The memory layout is the same as of struct stat64 of the 32-bit kernel. */struct target_stat { unsigned int st_dev; unsigned int st_pad0[3]; /* Reserved for st_dev expansion */ abi_ulong st_ino; unsigned int st_mode; unsigned int st_nlink; int st_uid; int st_gid; unsigned int st_rdev; unsigned int st_pad1[3]; /* Reserved for st_rdev expansion */ abi_ulong st_size; /* * Actually this should be timestruc_t st_atime, st_mtime and st_ctime * but we don't have it under Linux. */ unsigned int target_st_atime; unsigned int target_st_atime_nsec; unsigned int target_st_mtime; unsigned int target_st_mtime_nsec; unsigned int target_st_ctime; unsigned int target_st_ctime_nsec; unsigned int st_blksize; unsigned int st_pad2; abi_ulong st_blocks;};#elif defined(TARGET_ABI_MIPSN32)struct target_stat { unsigned st_dev; int st_pad1[3]; /* Reserved for network id */ unsigned int st_ino; unsigned int st_mode; unsigned int st_nlink; int st_uid; int st_gid; unsigned st_rdev; unsigned int st_pad2[2]; unsigned int st_size; unsigned int st_pad3; /* * Actually this should be timestruc_t st_atime, st_mtime and st_ctime * but we don't have it under Linux. */ unsigned int target_st_atime; unsigned int target_st_atime_nsec; unsigned int target_st_mtime; unsigned int target_st_mtime_nsec; unsigned int target_st_ctime; unsigned int target_st_ctime_nsec; unsigned int st_blksize; unsigned int st_blocks; unsigned int st_pad4[14];};/* * This matches struct stat64 in glibc2.1, hence the absolutely insane * amounts of padding around dev_t's. The memory layout is the same as of * struct stat of the 64-bit kernel. */struct target_stat64 { unsigned int st_dev; unsigned int st_pad0[3]; /* Reserved for st_dev expansion */ target_ulong st_ino; unsigned int st_mode; unsigned int st_nlink; int st_uid; int st_gid; unsigned int st_rdev; unsigned int st_pad1[3]; /* Reserved for st_rdev expansion */ int st_size; /* * Actually this should be timestruc_t st_atime, st_mtime and st_ctime * but we don't have it under Linux. */ int target_st_atime; unsigned int target_st_atime_nsec; /* Reserved for st_atime expansion */ int target_st_mtime; unsigned int target_st_mtime_nsec; /* Reserved for st_mtime expansion */ int target_st_ctime; unsigned int target_st_ctime_nsec; /* Reserved for st_ctime expansion */ unsigned int st_blksize; unsigned int st_pad2; int st_blocks;};#elif defined(TARGET_ABI_MIPSO32)struct target_stat { unsigned st_dev; abi_long st_pad1[3]; /* Reserved for network id */ abi_ulong st_ino; unsigned int st_mode; unsigned int st_nlink; int st_uid; int st_gid; unsigned st_rdev; abi_long st_pad2[2]; abi_long st_size; abi_long st_pad3; /* * Actually this should be timestruc_t st_atime, st_mtime and st_ctime * but we don't have it under Linux. */ abi_long target_st_atime; abi_long target_st_atime_nsec; abi_long target_st_mtime; abi_long target_st_mtime_nsec; abi_long target_st_ctime; abi_long target_st_ctime_nsec; abi_long st_blksize; abi_long st_blocks; abi_long st_pad4[14];};/* * This matches struct stat64 in glibc2.1, hence the absolutely insane * amounts of padding around dev_t's. The memory layout is the same as of * struct stat of the 64-bit kernel. */struct target_stat64 { abi_ulong st_dev; abi_ulong st_pad0[3]; /* Reserved for st_dev expansion */ uint64_t st_ino; unsigned int st_mode; unsigned int st_nlink; int st_uid; int st_gid; abi_ulong st_rdev; abi_ulong st_pad1[3]; /* Reserved for st_rdev expansion */ int64_t st_size; /* * Actually this should be timestruc_t st_atime, st_mtime and st_ctime * but we don't have it under Linux. */ abi_long target_st_atime; abi_ulong target_st_atime_nsec; /* Reserved for st_atime expansion */ abi_long target_st_mtime; abi_ulong target_st_mtime_nsec; /* Reserved for st_mtime expansion */ abi_long target_st_ctime; abi_ulong target_st_ctime_nsec; /* Reserved for st_ctime expansion */ abi_ulong st_blksize; abi_ulong st_pad2; int64_t st_blocks;};#elif defined(TARGET_ALPHA)struct target_stat { unsigned int st_dev; unsigned int st_ino; unsigned int st_mode; unsigned int st_nlink; unsigned int st_uid; unsigned int st_gid; unsigned int st_rdev; abi_long st_size; abi_ulong target_st_atime; abi_ulong target_st_mtime; abi_ulong target_st_ctime; unsigned int st_blksize; unsigned int st_blocks; unsigned int st_flags; unsigned int st_gen;};struct target_stat64 { abi_ulong st_dev; abi_ulong st_ino; abi_ulong st_rdev; abi_long st_size; abi_ulong st_blocks; unsigned int st_mode; unsigned int st_uid; unsigned int st_gid; unsigned int st_blksize; unsigned int st_nlink; unsigned int __pad0; abi_ulong target_st_atime; abi_ulong target_st_atime_nsec; abi_ulong target_st_mtime; abi_ulong target_st_mtime_nsec; abi_ulong target_st_ctime; abi_ulong target_st_ctime_nsec; abi_long __unused[3];};#elif defined(TARGET_SH4)struct target_stat { abi_ulong st_dev; abi_ulong st_ino; unsigned short st_mode; unsigned short st_nlink; unsigned short st_uid; unsigned short st_gid; abi_ulong st_rdev; abi_ulong st_size; abi_ulong st_blksize; abi_ulong st_blocks; abi_ulong target_st_atime; abi_ulong target_st_atime_nsec; abi_ulong target_st_mtime; abi_ulong target_st_mtime_nsec; abi_ulong target_st_ctime; abi_ulong target_st_ctime_nsec; abi_ulong __unused4; abi_ulong __unused5;};/* This matches struct stat64 in glibc2.1, hence the absolutely * insane amounts of padding around dev_t's. */struct target_stat64 { unsigned long long st_dev; unsigned char __pad0[4];#define TARGET_STAT64_HAS_BROKEN_ST_INO 1 abi_ulong __st_ino; unsigned int st_mode; unsigned int st_nlink; abi_ulong st_uid; abi_ulong st_gid; unsigned long long st_rdev; unsigned char __pad3[4]; long long st_size; abi_ulong st_blksize; unsigned long long st_blocks; /* Number 512-byte blocks allocated. */ abi_ulong target_st_atime; abi_ulong target_st_atime_nsec; abi_ulong target_st_mtime; abi_ulong target_st_mtime_nsec; abi_ulong target_st_ctime; abi_ulong target_st_ctime_nsec; unsigned long long st_ino;};#elif defined(TARGET_I386) && !defined(TARGET_ABI32)struct target_stat { abi_ulong st_dev; abi_ulong st_ino; abi_ulong st_nlink; unsigned int st_mode; unsigned int st_uid; unsigned int st_gid; unsigned int __pad0; abi_ulong st_rdev; abi_long st_size; abi_long st_blksize; abi_long st_blocks; /* Number 512-byte blocks allocated. */ abi_ulong target_st_atime; abi_ulong target_st_atime_nsec; abi_ulong target_st_mtime; abi_ulong target_st_mtime_nsec; abi_ulong target_st_ctime; abi_ulong target_st_ctime_nsec; abi_long __unused[3];};#else#error unsupported CPU#endiftypedef struct { int val[2];} target_fsid_t;#ifdef TARGET_MIPS#ifdef TARGET_ABI_MIPSN32struct target_statfs { int32_t f_type; int32_t f_bsize; int32_t f_frsize; /* Fragment size - unsupported */ int32_t f_blocks; int32_t f_bfree; int32_t f_files; int32_t f_ffree; int32_t f_bavail; /* Linux specials */ target_fsid_t f_fsid; int32_t f_namelen; int32_t f_spare[6];};#elsestruct target_statfs { abi_long f_type; abi_long f_bsize; abi_long f_frsize; /* Fragment size - unsupported */ abi_long f_blocks; abi_long f_bfree; abi_long f_files; abi_long f_ffree; abi_long f_bavail; /* Linux specials */ target_fsid_t f_fsid; abi_long f_namelen; abi_long f_spare[6];};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -