18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci#ifndef _ASM_IA64_STAT_H
38c2ecf20Sopenharmony_ci#define _ASM_IA64_STAT_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/*
68c2ecf20Sopenharmony_ci * Modified 1998, 1999
78c2ecf20Sopenharmony_ci *	David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_cistruct stat {
118c2ecf20Sopenharmony_ci	unsigned long	st_dev;
128c2ecf20Sopenharmony_ci	unsigned long	st_ino;
138c2ecf20Sopenharmony_ci	unsigned long	st_nlink;
148c2ecf20Sopenharmony_ci	unsigned int	st_mode;
158c2ecf20Sopenharmony_ci	unsigned int	st_uid;
168c2ecf20Sopenharmony_ci	unsigned int	st_gid;
178c2ecf20Sopenharmony_ci	unsigned int	__pad0;
188c2ecf20Sopenharmony_ci	unsigned long	st_rdev;
198c2ecf20Sopenharmony_ci	unsigned long	st_size;
208c2ecf20Sopenharmony_ci	unsigned long	st_atime;
218c2ecf20Sopenharmony_ci	unsigned long	st_atime_nsec;
228c2ecf20Sopenharmony_ci	unsigned long	st_mtime;
238c2ecf20Sopenharmony_ci	unsigned long	st_mtime_nsec;
248c2ecf20Sopenharmony_ci	unsigned long	st_ctime;
258c2ecf20Sopenharmony_ci	unsigned long	st_ctime_nsec;
268c2ecf20Sopenharmony_ci	unsigned long	st_blksize;
278c2ecf20Sopenharmony_ci	long		st_blocks;
288c2ecf20Sopenharmony_ci	unsigned long	__unused[3];
298c2ecf20Sopenharmony_ci};
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci#define STAT_HAVE_NSEC 1
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_cistruct ia64_oldstat {
348c2ecf20Sopenharmony_ci	unsigned int	st_dev;
358c2ecf20Sopenharmony_ci	unsigned int	st_ino;
368c2ecf20Sopenharmony_ci	unsigned int	st_mode;
378c2ecf20Sopenharmony_ci	unsigned int	st_nlink;
388c2ecf20Sopenharmony_ci	unsigned int	st_uid;
398c2ecf20Sopenharmony_ci	unsigned int	st_gid;
408c2ecf20Sopenharmony_ci	unsigned int	st_rdev;
418c2ecf20Sopenharmony_ci	unsigned int	__pad1;
428c2ecf20Sopenharmony_ci	unsigned long	st_size;
438c2ecf20Sopenharmony_ci	unsigned long	st_atime;
448c2ecf20Sopenharmony_ci	unsigned long	st_mtime;
458c2ecf20Sopenharmony_ci	unsigned long	st_ctime;
468c2ecf20Sopenharmony_ci	unsigned int	st_blksize;
478c2ecf20Sopenharmony_ci	int		st_blocks;
488c2ecf20Sopenharmony_ci	unsigned int	__unused1;
498c2ecf20Sopenharmony_ci	unsigned int	__unused2;
508c2ecf20Sopenharmony_ci};
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci#endif /* _ASM_IA64_STAT_H */
53