1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2012 ARM Ltd.
8 #include <uapi/asm/stat.h>
12 #include <linux/time.h>
13 #include <asm/compat.h>
16 * struct stat64 is needed for compat tasks only. Its definition is different
17 * from the generic struct stat64.
21 unsigned char __pad0
[4];
23 #define STAT64_HAS_BROKEN_ST_INO 1
24 compat_ulong_t __st_ino
;
25 compat_uint_t st_mode
;
26 compat_uint_t st_nlink
;
28 compat_ulong_t st_uid
;
29 compat_ulong_t st_gid
;
32 unsigned char __pad3
[4];
35 compat_ulong_t st_blksize
;
36 compat_u64 st_blocks
; /* Number of 512-byte blocks allocated. */
38 compat_ulong_t st_atime
;
39 compat_ulong_t st_atime_nsec
;
41 compat_ulong_t st_mtime
;
42 compat_ulong_t st_mtime_nsec
;
44 compat_ulong_t st_ctime
;
45 compat_ulong_t st_ctime_nsec
;