xref: /freebsd/stand/kboot/include/arch/amd64/stat_arch.h (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1 /*
2  * Copyright (c) 2005-2020 Rich Felker, et al.
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  * Note: From the musl project
7  */
8 
9 typedef uint64_t host_nlink_t;
10 
11 struct host_kstat {
12 	host_dev_t st_dev;
13 	host_ino_t st_ino;
14 	host_nlink_t st_nlink;
15 
16 	host_mode_t st_mode;
17 	host_uid_t st_uid;
18 	host_gid_t st_gid;
19 	unsigned int    __pad0;
20 	host_dev_t st_rdev;
21 	host_off_t st_size;
22 	host_blksize_t st_blksize;
23 	host_blkcnt_t st_blocks;
24 
25 	long st_atime_sec;
26 	long st_atime_nsec;
27 	long st_mtime_sec;
28 	long st_mtime_nsec;
29 	long st_ctime_sec;
30 	long st_ctime_nsec;
31 	long __pad_for_future[3];
32 };
33 
34