Changeset aab85d90 in mainline for uspace/lib/ext4/include
- Timestamp:
- 2018-08-27T14:17:14Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c606e33, e43d658
- Parents:
- 8867cf6
- git-author:
- Jiri Svoboda <jiri@…> (2018-08-26 17:15:23)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-08-27 14:17:14)
- Location:
- uspace/lib/ext4/include/ext4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/include/ext4/filesystem.h
r8867cf6 raab85d90 1 1 /* 2 * Copyright (c) 2018 Jiri Svoboda 2 3 * Copyright (c) 2011 Martin Sucha 3 4 * Copyright (c) 2012 Frantisek Princ … … 40 41 41 42 extern errno_t ext4_filesystem_probe(service_id_t); 43 extern errno_t ext4_filesystem_create(service_id_t); 42 44 extern errno_t ext4_filesystem_open(ext4_instance_t *, service_id_t, 43 45 enum cache_mode, aoff64_t *, ext4_filesystem_t **); … … 67 69 uint32_t ext4_filesystem_bg_get_backup_blocks(ext4_block_group_ref_t *bg); 68 70 uint32_t ext4_filesystem_bg_get_itable_size(ext4_superblock_t *sb, 69 ext4_block_group_ref_t *bg_ref);71 uint32_t); 70 72 71 73 #endif -
uspace/lib/ext4/include/ext4/ialloc.h
r8867cf6 raab85d90 1 1 /* 2 * Copyright (c) 2018 Jiri Svoboda 2 3 * Copyright (c) 2012 Frantisek Princ 3 4 * All rights reserved. … … 38 39 extern errno_t ext4_ialloc_free_inode(ext4_filesystem_t *, uint32_t, bool); 39 40 extern errno_t ext4_ialloc_alloc_inode(ext4_filesystem_t *, uint32_t *, bool); 41 extern errno_t ext4_ialloc_alloc_this_inode(ext4_filesystem_t *, uint32_t, 42 bool); 43 40 44 41 45 #endif -
uspace/lib/ext4/include/ext4/superblock.h
r8867cf6 raab85d90 1 1 /* 2 * Copyright (c) 2018 Jiri Svoboda 2 3 * Copyright (c) 2011 Martin Sucha 3 4 * Copyright (c) 2012 Frantisek Princ … … 37 38 #include <block.h> 38 39 #include <stdint.h> 40 #include <uuid.h> 39 41 #include "ext4/types.h" 40 42 … … 113 115 uint32_t); 114 116 115 extern const uint8_t *ext4_superblock_get_uuid(ext4_superblock_t *);116 extern void ext4_superblock_set_uuid(ext4_superblock_t *, const uint8_t *);117 extern void ext4_superblock_get_uuid(ext4_superblock_t *, uuid_t *); 118 extern void ext4_superblock_set_uuid(ext4_superblock_t *, uuid_t *); 117 119 extern const char *ext4_superblock_get_volume_name(ext4_superblock_t *); 118 120 extern void ext4_superblock_set_volume_name(ext4_superblock_t *, const char *); … … 162 164 extern uint32_t ext4_superblock_get_inodes_in_group(ext4_superblock_t *, 163 165 uint32_t); 166 extern errno_t ext4_superblock_create(size_t, uint64_t, ext4_superblock_t **); 167 extern uint32_t ext4_superblock_get_group_backup_blocks(ext4_superblock_t *, 168 uint32_t); 164 169 165 170 #endif -
uspace/lib/ext4/include/ext4/types.h
r8867cf6 raab85d90 1 1 /* 2 * Copyright (c) 2018 Jiri Svoboda 2 3 * Copyright (c) 2011 Martin Sucha 3 4 * Copyright (c) 2012 Frantisek Princ … … 143 144 144 145 146 #define EXT4_GOOD_OLD_REV 0 147 #define EXT4_DYNAMIC_REV 1 148 145 149 #define EXT4_SUPERBLOCK_MAGIC 0xEF53 146 150 #define EXT4_SUPERBLOCK_SIZE 1024 … … 276 280 #define EXT4_MAX_BLOCK_SIZE 65536 /* 64 KiB */ 277 281 #define EXT4_REV0_INODE_SIZE 128 282 #define EXT4_REV0_FIRST_INO 11 278 283 279 284 #define EXT4_INODE_BLOCK_SIZE 512
Note:
See TracChangeset
for help on using the changeset viewer.