/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * S390 version * * Derived from "include/asm-i386/stat.h" */ #ifndef _S390_STAT_H #define _S390_STAT_H #ifndef __s390x__ struct __old_kernel_stat { unsigned short st_dev; unsigned short st_ino; unsigned short st_mode; unsigned short st_nlink; unsigned short st_uid; unsigned short st_gid; unsigned short st_rdev; unsigned long st_size; unsigned long st_atime; unsigned long st_mtime; unsigned long st_ctime; }; struct stat { unsigned short st_dev; unsigned short __pad1; unsigned long st_ino; unsigned short st_mode; unsigned short st_nlink; unsigned short st_uid; unsigned short st_gid; unsigned short st_rdev; unsigned short __pad2; unsigned long st_size; unsigned long st_blksize; unsigned long st_blocks; unsigned long st_atime; unsigned long st_atime_nsec; unsigned long st_mtime; unsigned long st_mtime_nsec; unsigned long st_ctime; unsigned long st_ctime_nsec; unsigned long __unused4; unsigned long __unused5; }; /* This matches struct stat64 in glibc2.1, hence the absolutely * insane amounts of padding around dev_t's. */ struct stat64 { unsigned long long st_dev; unsigned int __pad1; #define STAT64_HAS_BROKEN_ST_INO 1 unsigned long __st_ino; unsigned int st_mode; unsigned int st_nlink; unsigned long st_uid; unsigned long st_gid; unsigned long long st_rdev; unsigned int __pad3; long long st_size; unsigned long st_blksize; unsigned char __pad4[4]; unsigned long __pad5; /* future possible st_blocks high bits */ unsigned long st_blocks; /* Number 512-byte blocks allocated. */ unsigned long st_atime; unsigned long st_atime_nsec; unsigned long st_mtime; unsigned long st_mtime_nsec; unsigned long st_ctime; unsigned long st_ctime_nsec; /* will be high 32 bits of ctime someday */ unsigned long long st_ino; }; #else /* __s390x__ */ struct stat { unsigned long st_dev; unsigned long st_ino; unsigned long st_nlink; unsigned int st_mode; unsigned int st_uid; unsigned int st_gid; unsigned int __pad1; unsigned long st_rdev; unsigned long st_size; unsigned long st_atime; unsigned long st_atime_nsec; unsigned long st_mtime; unsigned long st_mtime_nsec; unsigned long st_ctime; unsigned long st_ctime_nsec; unsigned long st_blksize; long st_blocks; unsigned long __unused[3]; }; #endif /* __s390x__ */ #define STAT_HAVE_NSEC 1 #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 321 B | 0644 |
|
auxvec.h | File | 214 B | 0644 |
|
bitsperlong.h | File | 293 B | 0644 |
|
bpf_perf_event.h | File | 226 B | 0644 |
|
byteorder.h | File | 188 B | 0644 |
|
chpid.h | File | 456 B | 0644 |
|
chsc.h | File | 2.96 KB | 0644 |
|
clp.h | File | 549 B | 0644 |
|
cmb.h | File | 1.87 KB | 0644 |
|
dasd.h | File | 12.4 KB | 0644 |
|
debug.h | File | 857 B | 0644 |
|
guarded_storage.h | File | 1.18 KB | 0644 |
|
hypfs.h | File | 1.35 KB | 0644 |
|
ioctls.h | File | 191 B | 0644 |
|
ipcbuf.h | File | 738 B | 0644 |
|
kvm.h | File | 7.73 KB | 0644 |
|
kvm_para.h | File | 224 B | 0644 |
|
kvm_perf.h | File | 474 B | 0644 |
|
monwriter.h | File | 939 B | 0644 |
|
msgbuf.h | File | 1.14 KB | 0644 |
|
perf_regs.h | File | 887 B | 0644 |
|
pkey.h | File | 4.35 KB | 0644 |
|
posix_types.h | File | 1.4 KB | 0644 |
|
ptrace.h | File | 11.39 KB | 0644 |
|
qeth.h | File | 3.05 KB | 0644 |
|
schid.h | File | 332 B | 0644 |
|
sclp_ctl.h | File | 465 B | 0644 |
|
sembuf.h | File | 864 B | 0644 |
|
setup.h | File | 292 B | 0644 |
|
shmbuf.h | File | 1.34 KB | 0644 |
|
sie.h | File | 9.25 KB | 0644 |
|
sigcontext.h | File | 1.73 KB | 0644 |
|
siginfo.h | File | 302 B | 0644 |
|
signal.h | File | 3.26 KB | 0644 |
|
socket.h | File | 2.24 KB | 0644 |
|
stat.h | File | 2.9 KB | 0644 |
|
statfs.h | File | 1.03 KB | 0644 |
|
sthyi.h | File | 178 B | 0644 |
|
tape390.h | File | 2.76 KB | 0644 |
|
termios.h | File | 1.14 KB | 0644 |
|
types.h | File | 525 B | 0644 |
|
ucontext.h | File | 1.18 KB | 0644 |
|
unistd.h | File | 12.32 KB | 0644 |
|
virtio-ccw.h | File | 444 B | 0644 |
|
vmcp.h | File | 737 B | 0644 |
|
vtoc.h | File | 7.36 KB | 0644 |
|
zcrypt.h | File | 10.94 KB | 0644 |
|