Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef __EFS_FS_I_H__
     20 #define __EFS_FS_I_H__
     21 typedef int32_t efs_block_t;
     22 typedef uint32_t efs_ino_t;
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define EFS_DIRECTEXTENTS 12
     25 typedef union extent_u {
     26  unsigned char raw[8];
     27  struct extent_s {
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29  unsigned int ex_magic:8;
     30  unsigned int ex_bn:24;
     31  unsigned int ex_length:8;
     32  unsigned int ex_offset:24;
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34  } cooked;
     35 } efs_extent;
     36 typedef struct edevs {
     37  __be16 odev;
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39  __be32 ndev;
     40 } efs_devs;
     41 struct efs_dinode {
     42  __be16 di_mode;
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44  __be16 di_nlink;
     45  __be16 di_uid;
     46  __be16 di_gid;
     47  __be32 di_size;
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49  __be32 di_atime;
     50  __be32 di_mtime;
     51  __be32 di_ctime;
     52  __be32 di_gen;
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54  __be16 di_numextents;
     55  u_char di_version;
     56  u_char di_spare;
     57  union di_addr {
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59  efs_extent di_extents[EFS_DIRECTEXTENTS];
     60  efs_devs di_dev;
     61  } di_u;
     62 };
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 struct efs_inode_info {
     65  int numextents;
     66  int lastextent;
     67  efs_extent extents[EFS_DIRECTEXTENTS];
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69  struct inode vfs_inode;
     70 };
     71 #endif
     72