Changeset 1a7756a in mainline for uspace/lib/ext4/libext4_extent.c
- Timestamp:
- 2011-10-12T09:37:59Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ccc32f
- Parents:
- 8958a26
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_extent.c
r8958a26 r1a7756a 56 56 } 57 57 58 uint32_t ext4_extent_index_get_first_block(ext4_extent_index_t *index) 59 { 60 return uint32_t_le2host(index->first_block); 61 } 62 63 uint64_t ext4_extent_index_get_leaf(ext4_extent_index_t *index) 64 { 65 return ((uint64_t)uint16_t_le2host(index->leaf_hi)) << 32 | 66 ((uint64_t)uint32_t_le2host(index->leaf_lo)); 67 } 68 58 69 uint16_t ext4_extent_header_get_magic(ext4_extent_header_t *header) 59 70 {
Note:
See TracChangeset
for help on using the changeset viewer.