1 /* Copyright (c) 2017 SiFive Inc. All rights reserved.
3 This copyrighted material is made available to anyone wishing to use,
4 modify, copy, or redistribute it subject to the terms and conditions
5 of the FreeBSD License. This program is distributed in the hope that
6 it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
7 including the implied warranties of MERCHANTABILITY or FITNESS FOR
8 A PARTICULAR PURPOSE. A copy of this license is available at
9 http://www.opensource.org/licenses.
12 #ifndef _RISCV_KERNEL_STAT_H
13 #define _RISCV_KERNEL_STAT_H
15 #include <sys/types.h>
20 unsigned long long st_dev
;
21 unsigned long long st_ino
;
23 unsigned int st_nlink
;
26 unsigned long long st_rdev
;
27 unsigned long long __pad1
;
32 struct timespec st_atim
;
33 struct timespec st_mtim
;
34 struct timespec st_ctim
;
35 int __glibc_reserved
[2];
38 void _conv_stat (struct stat
*, struct kernel_stat
*);
39 #endif /* _RISCV_KERNEL_STAT_H */