1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 296433f6eSDavid Howells #ifndef _ALPHA_STAT_H 396433f6eSDavid Howells #define _ALPHA_STAT_H 496433f6eSDavid Howells 596433f6eSDavid Howells struct stat { 696433f6eSDavid Howells unsigned int st_dev; 796433f6eSDavid Howells unsigned int st_ino; 896433f6eSDavid Howells unsigned int st_mode; 996433f6eSDavid Howells unsigned int st_nlink; 1096433f6eSDavid Howells unsigned int st_uid; 1196433f6eSDavid Howells unsigned int st_gid; 1296433f6eSDavid Howells unsigned int st_rdev; 1396433f6eSDavid Howells long st_size; 1496433f6eSDavid Howells unsigned long st_atime; 1596433f6eSDavid Howells unsigned long st_mtime; 1696433f6eSDavid Howells unsigned long st_ctime; 1796433f6eSDavid Howells unsigned int st_blksize; 1896433f6eSDavid Howells unsigned int st_blocks; 1996433f6eSDavid Howells unsigned int st_flags; 2096433f6eSDavid Howells unsigned int st_gen; 2196433f6eSDavid Howells }; 2296433f6eSDavid Howells 2396433f6eSDavid Howells /* The stat64 structure increases the size of dev_t, blkcnt_t, adds 2496433f6eSDavid Howells nanosecond resolution times, and padding for expansion. */ 2596433f6eSDavid Howells 2696433f6eSDavid Howells struct stat64 { 2796433f6eSDavid Howells unsigned long st_dev; 2896433f6eSDavid Howells unsigned long st_ino; 2996433f6eSDavid Howells unsigned long st_rdev; 3096433f6eSDavid Howells long st_size; 3196433f6eSDavid Howells unsigned long st_blocks; 3296433f6eSDavid Howells 3396433f6eSDavid Howells unsigned int st_mode; 3496433f6eSDavid Howells unsigned int st_uid; 3596433f6eSDavid Howells unsigned int st_gid; 3696433f6eSDavid Howells unsigned int st_blksize; 3796433f6eSDavid Howells unsigned int st_nlink; 3896433f6eSDavid Howells unsigned int __pad0; 3996433f6eSDavid Howells 4096433f6eSDavid Howells unsigned long st_atime; 4196433f6eSDavid Howells unsigned long st_atime_nsec; 4296433f6eSDavid Howells unsigned long st_mtime; 4396433f6eSDavid Howells unsigned long st_mtime_nsec; 4496433f6eSDavid Howells unsigned long st_ctime; 4596433f6eSDavid Howells unsigned long st_ctime_nsec; 4696433f6eSDavid Howells long __unused[3]; 4796433f6eSDavid Howells }; 4896433f6eSDavid Howells 4996433f6eSDavid Howells #endif 50