Changeset 09ab0a9a in mainline for uspace/lib/ext4
- Timestamp:
- 2018-09-13T12:05:53Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc74cb5
- Parents:
- b2aaaa0
- git-author:
- Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
- Location:
- uspace/lib/ext4
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/include/ext4/ialloc.h
rb2aaaa0 r09ab0a9a 42 42 bool); 43 43 44 45 44 #endif 46 45 -
uspace/lib/ext4/include/ext4/ops.h
rb2aaaa0 r09ab0a9a 46 46 extern errno_t ext4_node_put(fs_node_t *); 47 47 48 49 48 #endif 50 49 -
uspace/lib/ext4/include/ext4/types.h
rb2aaaa0 r09ab0a9a 143 143 } __attribute__((packed)) ext4_superblock_t; 144 144 145 146 145 #define EXT4_GOOD_OLD_REV 0 147 146 #define EXT4_DYNAMIC_REV 1 … … 235 234 aoff64_t inode_blocks_per_level[4]; 236 235 } ext4_filesystem_t; 237 238 236 239 237 #define EXT4_BLOCK_GROUP_INODE_UNINIT 0x0001 /* Inode table/bitmap not in use */ … … 389 387 } ext4_inode_ref_t; 390 388 391 392 389 #define EXT4_DIRECTORY_FILENAME_LEN 255 393 390 -
uspace/lib/ext4/src/extent.c
rb2aaaa0 r09ab0a9a 1051 1051 } 1052 1052 1053 1054 1053 append_extent: 1055 1054 /* Append new extent to the tree */ -
uspace/lib/ext4/src/filesystem.c
rb2aaaa0 r09ab0a9a 529 529 } 530 530 531 532 531 /** Convert block address to relative index in block group. 533 532 * … … 550 549 return (block_addr - 1) % blocks_per_group; 551 550 } 552 553 551 554 552 /** Convert relative block address in group to absolute address. -
uspace/lib/ext4/src/ialloc.c
rb2aaaa0 r09ab0a9a 44 44 #include "ext4/superblock.h" 45 45 46 47 46 /** Convert i-node number to relative index in block group. 48 47 * … … 89 88 return (inode - 1) / inodes_per_group; 90 89 } 91 92 90 93 91 /** Free i-node number and modify filesystem data structers. -
uspace/lib/ext4/src/superblock.c
rb2aaaa0 r09ab0a9a 1449 1449 return r; 1450 1450 } 1451 1452 1451 1453 1452 /** Create superblock for new file system.
Note:
See TracChangeset
for help on using the changeset viewer.