xref: /freebsd/stand/kboot/include/arch/aarch64/stat_arch.h (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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 int host_nlink_t;
10 
11 struct host_kstat {
12 	host_dev_t st_dev;
13 	host_ino_t st_ino;
14 	host_mode_t st_mode;
15 	host_nlink_t st_nlink;
16 	host_uid_t st_uid;
17 	host_gid_t st_gid;
18 	host_dev_t st_rdev;
19 	unsigned long __pad;
20 	host_off_t st_size;
21 	host_blksize_t st_blksize;
22 	int __pad2;
23 	host_blkcnt_t st_blocks;
24 	long st_atime_sec;
25 	long st_atime_nsec;
26 	long st_mtime_sec;
27 	long st_mtime_nsec;
28 	long st_ctime_sec;
29 	long st_ctime_nsec;
30 	unsigned __pad_for_future[2];
31 };
32