1655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/**************************************************************************** 2655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng **************************************************************************** 3655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 4655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** This header was automatically generated from a Linux kernel header 5655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** of the same name, to make information necessary for userspace to 6655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** call into the kernel available to libc. It contains only constants, 7655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** structures, and macros generated from the original header, and thus, 8655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** contains no copyrightable information. 9655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 10655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** To edit the content of this header, modify the corresponding 11655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** source file (e.g. under external/kernel-headers/original/) then 12655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** run bionic/libc/kernel/tools/update_all.py 13655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 14655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** Any manual change here will be lost the next time this script will 15655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** be run. You've been warned! 16655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng *** 17655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng **************************************************************************** 18655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng ****************************************************************************/ 19655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#ifndef __ASM_GENERIC_STAT_H 20655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define __ASM_GENERIC_STAT_H 21655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#include <asm/bitsperlong.h> 22655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#define STAT_HAVE_NSEC 1 23655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Chengstruct stat { 25d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long st_dev; 26d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long st_ino; 27d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_mode; 28655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_nlink; 30d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_uid; 31d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_gid; 32d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long st_rdev; 33655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long __pad1; 35d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao long st_size; 36d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int st_blksize; 37d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int __pad2; 38655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao long st_blocks; 40d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao long st_atime; 41d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long st_atime_nsec; 42d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao long st_mtime; 43655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long st_mtime_nsec; 45d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao long st_ctime; 46d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long st_ctime_nsec; 47d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int __unused4; 48655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int __unused5; 50655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng}; 5140596aa0054bcfa76148f55321bf4b979e2242beElliott Hughes#if __BITS_PER_LONG != 64 || defined(__ARCH_WANT_STAT64) 52655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Chengstruct stat64 { 53655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long long st_dev; 55d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long long st_ino; 56d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_mode; 57d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_nlink; 58655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_uid; 60d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_gid; 61d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long long st_rdev; 62d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned long long __pad1; 63655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao long long st_size; 65d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int st_blksize; 66d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int __pad2; 67d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao long long st_blocks; 68655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int st_atime; 70d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_atime_nsec; 71d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int st_mtime; 72d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_mtime_nsec; 73655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao int st_ctime; 75d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int st_ctime_nsec; 76d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int __unused4; 77d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao unsigned int __unused5; 78655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng}; 80655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#endif 81655a7c081f83b8351ed5f11a6c6accd9458293a8Ben Cheng#endif 82