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