/external/e2fsprogs/lib/ext2fs/ |
D | ext2fs.h | 115 errcode_t magic; 225 errcode_t magic; 239 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks); 240 errcode_t (*check_directory)(ext2_filsys fs, ext2_ino_t ino); 241 errcode_t (*write_bitmaps)(ext2_filsys fs); 242 errcode_t (*read_inode)(ext2_filsys fs, ext2_ino_t ino, 244 errcode_t (*write_inode)(ext2_filsys fs, ext2_ino_t ino, 275 errcode_t (*get_alloc_block)(ext2_filsys fs, blk64_t goal, 277 errcode_t (*get_alloc_block2)(ext2_filsys fs, blk64_t goal, 303 errcode_t (*new_range)(ext2_filsys fs, int flags, blk64_t goal, [all …]
|
D | ext2_io.h | 40 errcode_t magic; 44 errcode_t (*read_error)(io_channel channel, 50 errcode_t error); 51 errcode_t (*write_error)(io_channel channel, 57 errcode_t error); 74 errcode_t magic; 76 errcode_t (*open)(const char *name, int flags, io_channel *channel); 77 errcode_t (*close)(io_channel channel); 78 errcode_t (*set_blksize)(io_channel channel, int blksize); 79 errcode_t (*read_blk)(io_channel channel, unsigned long block, [all …]
|
D | inode_io.c | 50 static errcode_t inode_open(const char *name, int flags, io_channel *channel); 51 static errcode_t inode_close(io_channel channel); 52 static errcode_t inode_set_blksize(io_channel channel, int blksize); 53 static errcode_t inode_read_blk(io_channel channel, unsigned long block, 55 static errcode_t inode_write_blk(io_channel channel, unsigned long block, 57 static errcode_t inode_flush(io_channel channel); 58 static errcode_t inode_write_byte(io_channel channel, unsigned long offset, 60 static errcode_t inode_read_blk64(io_channel channel, 62 static errcode_t inode_write_blk64(io_channel channel, 81 errcode_t ext2fs_inode_io_intern2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inode_io_intern2() [all …]
|
D | bitmaps.c | 43 errcode_t ext2fs_copy_bitmap(ext2fs_generic_bitmap src, in ext2fs_copy_bitmap() 53 errcode_t ext2fs_allocate_inode_bitmap(ext2_filsys fs, in ext2fs_allocate_inode_bitmap() 85 errcode_t ext2fs_allocate_block_bitmap(ext2_filsys fs, in ext2fs_allocate_block_bitmap() 122 errcode_t ext2fs_allocate_subcluster_bitmap(ext2_filsys fs, in ext2fs_allocate_subcluster_bitmap() 129 errcode_t retval; in ext2fs_allocate_subcluster_bitmap() 167 errcode_t ext2fs_fudge_inode_bitmap_end(ext2fs_inode_bitmap bitmap, in ext2fs_fudge_inode_bitmap_end() 181 errcode_t ext2fs_fudge_block_bitmap_end(ext2fs_block_bitmap bitmap, in ext2fs_fudge_block_bitmap_end() 190 errcode_t ext2fs_fudge_block_bitmap_end2(ext2fs_block_bitmap bitmap, in ext2fs_fudge_block_bitmap_end2() 208 errcode_t ext2fs_resize_inode_bitmap(__u32 new_end, __u32 new_real_end, in ext2fs_resize_inode_bitmap() 215 errcode_t ext2fs_resize_inode_bitmap2(__u64 new_end, __u64 new_real_end, in ext2fs_resize_inode_bitmap2() [all …]
|
D | test_io.c | 52 void (*read_blk)(unsigned long block, int count, errcode_t err); 53 void (*write_blk)(unsigned long block, int count, errcode_t err); 54 void (*set_blksize)(int blksize, errcode_t err); 55 void (*write_byte)(unsigned long block, int count, errcode_t err); 56 void (*read_blk64)(unsigned long long block, int count, errcode_t err); 57 void (*write_blk64)(unsigned long long block, int count, errcode_t err); 66 (unsigned long block, int count, errcode_t err) = 0; 68 (unsigned long block, int count, errcode_t err) = 0; 70 (unsigned long long block, int count, errcode_t err) = 0; 72 (unsigned long long block, int count, errcode_t err) = 0; [all …]
|
D | irel_ma.c | 27 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old, 29 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old, 31 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old, 33 static errcode_t ima_start_iter(ext2_irel irel); 34 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old, 36 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino, 38 static errcode_t ima_start_iter_ref(ext2_irel irel, ext2_ino_t ino); 39 static errcode_t ima_next_ref(ext2_irel irel, struct ext2_inode_reference *ref); 40 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new); 41 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old); [all …]
|
D | brel_ma.c | 30 static errcode_t bma_put(ext2_brel brel, blk64_t old, 32 static errcode_t bma_get(ext2_brel brel, blk64_t old, 34 static errcode_t bma_start_iter(ext2_brel brel); 35 static errcode_t bma_next(ext2_brel brel, blk64_t *old, 37 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new); 38 static errcode_t bma_delete(ext2_brel brel, blk64_t old); 39 static errcode_t bma_free(ext2_brel brel); 47 errcode_t ext2fs_brel_memarray_create(char *name, blk64_t max_block, in ext2fs_brel_memarray_create() 51 errcode_t retval; in ext2fs_brel_memarray_create() 105 static errcode_t bma_put(ext2_brel brel, blk64_t old, in bma_put() [all …]
|
D | irel.h | 35 errcode_t (*put)(ext2_irel irel, ext2_ino_t old, 40 errcode_t (*get)(ext2_irel irel, ext2_ino_t old, 46 errcode_t (*get_by_orig)(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old, 52 errcode_t (*start_iter)(ext2_irel irel); 58 errcode_t (*next)(ext2_irel irel, ext2_ino_t *old, 65 errcode_t (*add_ref)(ext2_irel irel, ext2_ino_t ino, 72 errcode_t (*start_iter_ref)(ext2_irel irel, ext2_ino_t ino); 79 errcode_t (*next_ref)(ext2_irel irel, 86 errcode_t (*move)(ext2_irel irel, ext2_ino_t old, ext2_ino_t new); 92 errcode_t (*delete)(ext2_irel irel, ext2_ino_t old); [all …]
|
D | ext2fsP.h | 75 errcode_t errcode; 104 extern errcode_t ext2fs_inline_data_ea_remove(ext2_filsys fs, ext2_ino_t ino); 105 extern errcode_t ext2fs_inline_data_expand(ext2_filsys fs, ext2_ino_t ino); 149 extern errcode_t ext2fs_alloc_generic_bmap(ext2_filsys fs, errcode_t magic, 157 extern errcode_t ext2fs_copy_generic_bmap(ext2fs_generic_bitmap src, 160 extern errcode_t ext2fs_resize_generic_bmap(ext2fs_generic_bitmap bmap, 163 extern errcode_t ext2fs_fudge_generic_bmap_end(ext2fs_generic_bitmap bitmap, 164 errcode_t neq, 172 extern errcode_t ext2fs_set_generic_bmap_range(ext2fs_generic_bitmap bitmap, 175 extern errcode_t ext2fs_get_generic_bmap_range(ext2fs_generic_bitmap bitmap, [all …]
|
D | sparse_io.c | 15 static errcode_t sparse_open(const char *name EXT2FS_ATTR((unused)), in sparse_open() 21 static errcode_t sparse_close(io_channel channel EXT2FS_ATTR((unused))) in sparse_close() 57 static errcode_t sparse_write_blk(io_channel channel, unsigned long block, 82 static errcode_t io_manager_import_sparse(struct sparse_io_params *params, in io_manager_import_sparse() 86 errcode_t retval; in io_manager_import_sparse() 126 static errcode_t io_manager_configure(struct sparse_io_params *params, in io_manager_configure() 129 errcode_t retval; in io_manager_configure() 185 static errcode_t sparse_open_channel(struct sparse_io_params *sparse_params, in sparse_open_channel() 188 errcode_t retval; in sparse_open_channel() 206 static errcode_t read_sparse_argv(const char *name, bool is_fd, in read_sparse_argv() [all …]
|
D | fileio.c | 24 errcode_t magic; 43 errcode_t ext2fs_file_open2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open2() 48 errcode_t retval; in ext2fs_file_open2() 90 errcode_t ext2fs_file_open(ext2_filsys fs, ext2_ino_t ino, in ext2fs_file_open() 128 errcode_t ext2fs_file_flush(ext2_file_t file) in ext2fs_file_flush() 130 errcode_t retval; in ext2fs_file_flush() 183 static errcode_t sync_buffer_position(ext2_file_t file) in sync_buffer_position() 186 errcode_t retval; in sync_buffer_position() 208 static errcode_t load_buffer(ext2_file_t file, int dontfill) in load_buffer() 211 errcode_t retval; in load_buffer() [all …]
|
D | dirblock.c | 23 errcode_t ext2fs_read_dir_block4(ext2_filsys fs, blk64_t block, in ext2fs_read_dir_block4() 27 errcode_t retval; in ext2fs_read_dir_block4() 47 errcode_t ext2fs_read_dir_block3(ext2_filsys fs, blk64_t block, in ext2fs_read_dir_block3() 53 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block2() 59 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block, in ext2fs_read_dir_block() 66 errcode_t ext2fs_write_dir_block4(ext2_filsys fs, blk64_t block, in ext2fs_write_dir_block4() 70 errcode_t retval; in ext2fs_write_dir_block4() 96 errcode_t ext2fs_write_dir_block3(ext2_filsys fs, blk64_t block, in ext2fs_write_dir_block3() 102 errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block2() 108 errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block, in ext2fs_write_dir_block()
|
D | alloc.c | 88 errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, in ext2fs_new_inode() 94 errcode_t retval; in ext2fs_new_inode() 147 errcode_t ext2fs_new_block3(ext2_filsys fs, blk64_t goal, in ext2fs_new_block3() 151 errcode_t retval; in ext2fs_new_block3() 153 errcode_t (*gab)(ext2_filsys fs, blk64_t goal, blk64_t *ret); in ext2fs_new_block3() 154 errcode_t (*gab2)(ext2_filsys, blk64_t, blk64_t *, in ext2fs_new_block3() 204 errcode_t ext2fs_new_block2(ext2_filsys fs, blk64_t goal, in ext2fs_new_block2() 210 errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal, in ext2fs_new_block() 213 errcode_t retval; in ext2fs_new_block() 225 errcode_t ext2fs_alloc_block3(ext2_filsys fs, blk64_t goal, char *block_buf, in ext2fs_alloc_block3() [all …]
|
D | bmap64.h | 41 errcode_t magic; 50 errcode_t base_error_code; 71 errcode_t (*new_bmap)(ext2_filsys fs, ext2fs_generic_bitmap_64 bmap); 73 errcode_t (*copy_bmap)(ext2fs_generic_bitmap_64 src, 75 errcode_t (*resize_bmap)(ext2fs_generic_bitmap_64 bitmap, 88 errcode_t (*set_bmap_range)(ext2fs_generic_bitmap_64 bitmap, 90 errcode_t (*get_bmap_range)(ext2fs_generic_bitmap_64 bitmap, 97 errcode_t (*find_first_zero)(ext2fs_generic_bitmap_64 bitmap, 101 errcode_t (*find_first_set)(ext2fs_generic_bitmap_64 bitmap,
|
D | namei.c | 25 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, 29 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in follow_link() 35 errcode_t retval; in follow_link() 97 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei() 107 errcode_t retval; in dir_namei() 135 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei() 142 errcode_t retval; in open_namei() 172 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei() 176 errcode_t retval; in ext2fs_namei() 191 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei_follow() [all …]
|
D | brel.h | 37 errcode_t (*put)(ext2_brel brel, blk64_t old, 43 errcode_t (*get)(ext2_brel brel, blk64_t old, 49 errcode_t (*start_iter)(ext2_brel brel); 55 errcode_t (*next)(ext2_brel brel, blk64_t *old, 62 errcode_t (*move)(ext2_brel brel, blk64_t old, blk_t new); 67 errcode_t (*delete)(ext2_brel brel, blk64_t old); 73 errcode_t (*free)(ext2_brel brel); 76 errcode_t ext2fs_brel_memarray_create(char *name, blk64_t max_block,
|
D | dblist.c | 31 static errcode_t make_dblist(ext2_filsys fs, ext2_ino_t size, in make_dblist() 37 errcode_t retval; in make_dblist() 87 errcode_t ext2fs_init_dblist(ext2_filsys fs, ext2_dblist *ret_dblist) in ext2fs_init_dblist() 90 errcode_t retval; in ext2fs_init_dblist() 108 errcode_t ext2fs_copy_dblist(ext2_dblist src, ext2_dblist *dest) in ext2fs_copy_dblist() 111 errcode_t retval; in ext2fs_copy_dblist() 132 errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_add_dir_block2() 136 errcode_t retval; in ext2fs_add_dir_block2() 165 errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino, in ext2fs_set_dir_block2() 197 errcode_t ext2fs_dblist_iterate3(ext2_dblist dblist, in ext2fs_dblist_iterate3() [all …]
|
D | undo_io.c | 168 errcode_t set_undo_io_backing_manager(io_manager manager) in set_undo_io_backing_manager() 177 errcode_t set_undo_io_backup_file(char *file_name) in set_undo_io_backup_file() 188 static errcode_t write_undo_indexes(struct undo_private_data *data, int flush) in write_undo_indexes() 190 errcode_t retval; in write_undo_indexes() 269 static errcode_t undo_setup_tdb(struct undo_private_data *data) in undo_setup_tdb() 272 errcode_t retval; in undo_setup_tdb() 320 static errcode_t undo_write_tdb(io_channel channel, in undo_write_tdb() 326 errcode_t retval = 0; in undo_write_tdb() 480 static errcode_t undo_io_read_error(io_channel channel ATTR((unused)), in undo_io_read_error() 486 errcode_t error ATTR((unused))) in undo_io_read_error() [all …]
|
D | gen_bitmap.c | 32 errcode_t magic; 38 errcode_t base_error_code; 72 static errcode_t check_magic(ext2fs_generic_bitmap bitmap) in check_magic() 81 errcode_t ext2fs_make_generic_bitmap(errcode_t magic, ext2_filsys fs, in ext2fs_make_generic_bitmap() 87 errcode_t retval; in ext2fs_make_generic_bitmap() 138 errcode_t ext2fs_allocate_generic_bitmap(__u32 start, in ext2fs_allocate_generic_bitmap() 148 errcode_t ext2fs_copy_generic_bitmap(ext2fs_generic_bitmap gen_src, in ext2fs_copy_generic_bitmap() 309 errcode_t ext2fs_fudge_generic_bitmap_end(ext2fs_inode_bitmap gen_bitmap, in ext2fs_fudge_generic_bitmap_end() 310 errcode_t magic, errcode_t neq, in ext2fs_fudge_generic_bitmap_end() 325 errcode_t ext2fs_resize_generic_bitmap(errcode_t magic, in ext2fs_resize_generic_bitmap() [all …]
|
D | io_manager.c | 23 errcode_t io_channel_set_options(io_channel channel, const char *opts) in io_channel_set_options() 25 errcode_t retval = 0; in io_channel_set_options() 60 errcode_t io_channel_write_byte(io_channel channel, unsigned long offset, in io_channel_write_byte() 72 errcode_t io_channel_read_blk64(io_channel channel, unsigned long long block, in io_channel_read_blk64() 88 errcode_t io_channel_write_blk64(io_channel channel, unsigned long long block, in io_channel_write_blk64() 104 errcode_t io_channel_discard(io_channel channel, unsigned long long block, in io_channel_discard() 115 errcode_t io_channel_zeroout(io_channel channel, unsigned long long block, in io_channel_zeroout() 126 errcode_t io_channel_alloc_buf(io_channel io, int count, void *ptr) in io_channel_alloc_buf() 143 errcode_t io_channel_cache_readahead(io_channel io, unsigned long long block, in io_channel_cache_readahead()
|
/external/e2fsprogs/misc/ |
D | create_inode.h | 28 errcode_t (* create_new_inode)(ext2_filsys fs, const char *target_path, 31 errcode_t (* end_create_new_inode)(ext2_filsys fs, 40 extern errcode_t populate_fs(ext2_filsys fs, ext2_ino_t parent_ino, 42 extern errcode_t populate_fs2(ext2_filsys fs, ext2_ino_t parent_ino, 45 extern errcode_t do_mknod_internal(ext2_filsys fs, ext2_ino_t cwd, 48 extern errcode_t do_symlink_internal(ext2_filsys fs, ext2_ino_t cwd, 51 extern errcode_t do_mkdir_internal(ext2_filsys fs, ext2_ino_t cwd, 53 extern errcode_t do_write_internal(ext2_filsys fs, ext2_ino_t cwd,
|
/external/e2fsprogs/lib/support/ |
D | profile.c | 138 errcode_t magic; 166 static errcode_t parse_line(char *line, struct parse_state *state); 169 static errcode_t profile_write_tree_file 172 static errcode_t profile_write_tree_to_buffer 180 static errcode_t profile_create_node 185 static errcode_t profile_verify_node 189 static errcode_t profile_add_node 194 static errcode_t profile_find_node 200 static errcode_t profile_node_iterator 204 static errcode_t profile_open_file [all …]
|
/external/e2fsprogs/resize/ |
D | resize2fs.h | 127 errcode_t (*progress)(ext2_resize_t rfs, int pass, 144 extern errcode_t resize_fs(ext2_filsys fs, blk64_t *new_size, int flags, 145 errcode_t (*progress)(ext2_resize_t rfs, 149 extern errcode_t adjust_fs_info(ext2_filsys fs, ext2_filsys old_fs, 156 extern errcode_t ext2fs_create_extent_table(ext2_extent *ret_extent, 159 extern errcode_t ext2fs_add_extent_entry(ext2_extent extent, 163 extern errcode_t ext2fs_iterate_extent(ext2_extent extent, __u64 *old_loc, 170 extern errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt, 181 extern errcode_t ext2fs_progress_init(ext2_sim_progmeter *ret_prog,
|
/external/e2fsprogs/tests/progs/ |
D | test_rel.c | 108 errcode_t retval; in display_irel_entry() 147 errcode_t retval; in do_brel_ma_create() 176 errcode_t retval; in do_brel_put() 217 errcode_t retval; in do_brel_get() 240 errcode_t retval; in do_brel_start_iter() 255 errcode_t retval; in do_brel_next() 277 errcode_t retval; in do_brel_dump() 307 errcode_t retval; in do_brel_move() 332 errcode_t retval; in do_brel_delete() 354 errcode_t retval; in do_irel_ma_create() [all …]
|
/external/e2fsprogs/e2fsck/ |
D | e2fsck.h | 446 extern errcode_t e2fsck_allocate_context(e2fsck_t *ret); 447 extern errcode_t e2fsck_reset_context(e2fsck_t ctx); 484 extern errcode_t ea_refcount_create(size_t size, ext2_refcount_t *ret); 486 extern errcode_t ea_refcount_fetch(ext2_refcount_t refcount, ea_key_t ea_key, 488 extern errcode_t ea_refcount_increment(ext2_refcount_t refcount, 490 extern errcode_t ea_refcount_decrement(ext2_refcount_t refcount, 492 extern errcode_t ea_refcount_store(ext2_refcount_t refcount, ea_key_t ea_key, 505 errcode_t e2fsck_rebuild_extents_later(e2fsck_t ctx, ext2_ino_t ino); 508 errcode_t e2fsck_check_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino, 511 errcode_t e2fsck_should_rebuild_extents(e2fsck_t ctx, [all …]
|