Changeset 3712434 in mainline for uspace/lib/ext4/libext4_inode.h
- Timestamp:
- 2011-10-05T12:48:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b9d37bb
- Parents:
- 3711e7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_inode.h
r3711e7e r3712434 50 50 uint16_t uid; // Low 16 bits of owner uid 51 51 uint32_t size_lo; // Size in bytes 52 53 // TODO Used in HelenOS ??? 54 uint32_t atime; // Access time 55 uint32_t ctime; // Inode change time 56 uint32_t mtime; // Modification time 57 uint32_t dtime; // Deletion time 58 52 uint32_t acess_time; // Access time 53 uint32_t change_inode_time; // Inode change time 54 uint32_t modification_time; // Modification time 55 uint32_t deletion_time; // Deletion time 59 56 uint16_t gid; // Low 16 bits of group id 60 57 uint16_t links_count; // Links count 61 uint32_t blocks_ lo; // Blocks count58 uint32_t blocks_count_lo; // Blocks count 62 59 uint32_t flags; // File flags 63 60 uint32_t unused_osd1; // OS dependent - not used in HelenOS … … 87 84 } ext4_inode_ref_t; 88 85 89 extern uint16_t ext4_inode_get_usage_count(ext4_inode_t *); 86 /* 87 extern uint16_t ext4_inode_get_mode(ext4_inode_t *); 88 extern uint32_t ext4_inode_get_uid(ext4_inode_t *); 89 */ 90 extern uint64_t ext4_inode_get_size(ext4_inode_t *); 91 /* 92 extern uint32_t ext4_inode_get_access_time(ext4_inode_t *); 93 extern uint32_t ext4_inode_get_change_inode_time(ext4_inode_t *); 94 extern uint32_t ext4_inode_get_modification_time(ext4_inode_t *); 95 extern uint32_t ext4_inode_get_deletion_time(ext4_inode_t *); 96 extern uint32_t ext4_inode_get_gid(ext4_inode_t *); 97 */ 98 extern uint16_t ext4_inode_get_links_count(ext4_inode_t *); 99 /* 100 extern uint64_t ext4_inode_get_blocks_count(ext4_inode_t *); 101 extern uint32_t ext4_inode_get_flags(ext4_inode_t *); 102 */ 103 104 /* 105 uint32_t blocks[EXT4_INODE_BLOCKS]; // Pointers to blocks 106 uint32_t generation; 107 uint32_t file_acl_lo; // File ACL 108 uint16_t extra_isize; 109 uint32_t ctime_extra; // Extra change time (nsec << 2 | epoch) 110 uint32_t mtime_extra; // Extra Modification time (nsec << 2 | epoch) 111 uint32_t atime_extra; // Extra Access time (nsec << 2 | epoch) 112 uint32_t crtime; // File creation time 113 uint32_t crtime_extra; // Extra file creation time (nsec << 2 | epoch) 114 uint32_t version_hi; // High 32 bits for 64-bit version 115 */ 90 116 91 117 #endif
Note:
See TracChangeset
for help on using the changeset viewer.