/external/e2fsprogs/lib/ext2fs/ |
D | ext2fs.h | 108 typedef struct struct_ext2_filsys *ext2_filsys; typedef 116 ext2_filsys fs; 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, 279 void (*block_alloc_stats)(ext2_filsys fs, blk64_t blk, int inuse); [all …]
|
D | blknum.c | 20 dgrp_t ext2fs_group_of_blk2(ext2_filsys fs, blk64_t blk) in ext2fs_group_of_blk2() 29 blk64_t ext2fs_group_first_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_first_block2() 38 blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_last_block2() 49 int ext2fs_group_blocks_count(ext2_filsys fs, dgrp_t group) in ext2fs_group_blocks_count() 68 blk64_t ext2fs_inode_data_blocks2(ext2_filsys fs, in ext2fs_inode_data_blocks2() 80 blk64_t ext2fs_inode_i_blocks(ext2_filsys fs, in ext2fs_inode_i_blocks() 184 struct ext2_group_desc *ext2fs_group_desc(ext2_filsys fs, in ext2fs_group_desc() 194 static struct ext4_group_desc *ext4fs_group_desc(ext2_filsys fs, in ext4fs_group_desc() 204 __u32 ext2fs_block_bitmap_checksum(ext2_filsys fs, dgrp_t group) in ext2fs_block_bitmap_checksum() 219 blk64_t ext2fs_block_bitmap_loc(ext2_filsys fs, dgrp_t group) in ext2fs_block_bitmap_loc() [all …]
|
D | ext2fsP.h | 52 ext2_filsys fs; 97 extern int ext2fs_process_dir_block(ext2_filsys fs, 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); 106 extern int ext2fs_inline_data_dir_iterate(ext2_filsys fs, 122 void (*init)(ext2_filsys fs, 125 void (*update)(ext2_filsys fs, 128 void (*close)(ext2_filsys fs, 135 extern void ext2fs_numeric_progress_init(ext2_filsys fs, 138 extern void ext2fs_numeric_progress_update(ext2_filsys fs, [all …]
|
D | alloc_stats.c | 18 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, in ext2fs_inode_alloc_stats2() 56 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) in ext2fs_inode_alloc_stats() 61 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse) in ext2fs_block_alloc_stats2() 88 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse) in ext2fs_block_alloc_stats() 93 void ext2fs_set_block_alloc_stats_callback(ext2_filsys fs, in ext2fs_set_block_alloc_stats_callback() 94 void (*func)(ext2_filsys fs, in ext2fs_set_block_alloc_stats_callback() 97 void (**old)(ext2_filsys fs, in ext2fs_set_block_alloc_stats_callback() 109 void ext2fs_block_alloc_stats_range(ext2_filsys fs, blk64_t blk, in ext2fs_block_alloc_stats_range() 152 void ext2fs_set_block_alloc_stats_range_callback(ext2_filsys fs, in ext2fs_set_block_alloc_stats_range_callback() 153 void (*func)(ext2_filsys fs, blk64_t blk, in ext2fs_set_block_alloc_stats_range_callback() [all …]
|
D | csum.c | 33 void ext2fs_init_csum_seed(ext2_filsys fs) in ext2fs_init_csum_seed() 43 static __u32 ext2fs_mmp_csum(ext2_filsys fs, struct mmp_struct *mmp) in ext2fs_mmp_csum() 50 int ext2fs_mmp_csum_verify(ext2_filsys fs, struct mmp_struct *mmp) in ext2fs_mmp_csum_verify() 62 errcode_t ext2fs_mmp_csum_set(ext2_filsys fs, struct mmp_struct *mmp) in ext2fs_mmp_csum_set() 75 int ext2fs_verify_csum_type(ext2_filsys fs, struct ext2_super_block *sb) in ext2fs_verify_csum_type() 83 static __u32 ext2fs_superblock_csum(ext2_filsys fs EXT2FS_ATTR((unused)), in ext2fs_superblock_csum() 92 int ext2fs_superblock_csum_verify(ext2_filsys fs, struct ext2_super_block *sb) in ext2fs_superblock_csum_verify() 110 errcode_t ext2fs_superblock_csum_set(ext2_filsys fs, in ext2fs_superblock_csum_set() 129 static errcode_t ext2fs_ext_attr_block_csum(ext2_filsys fs, in ext2fs_ext_attr_block_csum() 148 int ext2fs_ext_attr_block_csum_verify(ext2_filsys fs, ext2_ino_t inum, in ext2fs_ext_attr_block_csum_verify() [all …]
|
D | alloc.c | 42 void ext2fs_clear_block_uninit(ext2_filsys fs, dgrp_t group) in ext2fs_clear_block_uninit() 60 static void check_inode_uninit(ext2_filsys fs, ext2fs_inode_bitmap map, in check_inode_uninit() 88 errcode_t ext2fs_new_inode(ext2_filsys fs, ext2_ino_t dir, in ext2fs_new_inode() 147 errcode_t ext2fs_new_block3(ext2_filsys fs, blk64_t goal, 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() 225 errcode_t ext2fs_alloc_block3(ext2_filsys fs, blk64_t goal, char *block_buf, in ext2fs_alloc_block3() 266 errcode_t ext2fs_alloc_block2(ext2_filsys fs, blk64_t goal, in ext2fs_alloc_block2() [all …]
|
D | dirblock.c | 23 errcode_t ext2fs_read_dir_block4(ext2_filsys fs, blk64_t block, 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() 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 | read_bb_file.c | 33 errcode_t ext2fs_read_bb_FILE2(ext2_filsys fs, FILE *f, in ext2fs_read_bb_FILE2() 36 void (*invalid)(ext2_filsys fs, in ext2fs_read_bb_FILE2() 79 void (*invalid)(ext2_filsys, blk_t); 82 static void call_compat_invalid(ext2_filsys fs, blk_t blk, in call_compat_invalid() 97 errcode_t ext2fs_read_bb_FILE(ext2_filsys fs, FILE *f, in ext2fs_read_bb_FILE() 99 void (*invalid)(ext2_filsys fs, blk_t blk)) in ext2fs_read_bb_FILE()
|
D | closefs.c | 36 int ext2fs_bg_has_super(ext2_filsys fs, dgrp_t group) in ext2fs_bg_has_super() 71 errcode_t ext2fs_super_and_bgd_loc2(ext2_filsys fs, in ext2fs_super_and_bgd_loc2() 145 int ext2fs_super_and_bgd_loc(ext2_filsys fs, in ext2fs_super_and_bgd_loc() 192 static errcode_t write_primary_superblock(ext2_filsys fs, in write_primary_superblock() 239 void ext2fs_update_dynamic_rev(ext2_filsys fs) in ext2fs_update_dynamic_rev() 253 static errcode_t write_backup_super(ext2_filsys fs, dgrp_t group, in write_backup_super() 273 errcode_t ext2fs_flush(ext2_filsys fs) in ext2fs_flush() 278 errcode_t ext2fs_flush2(ext2_filsys fs, int flags) in ext2fs_flush2() 457 errcode_t ext2fs_close_free(ext2_filsys *fs_ptr) in ext2fs_close_free() 460 ext2_filsys fs = *fs_ptr; in ext2fs_close_free() [all …]
|
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() 97 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, in dir_namei() 135 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, in open_namei() 172 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei() 191 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_namei_follow() 210 errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, in ext2fs_follow_link()
|
D | mkjournal.c | 46 errcode_t ext2fs_create_journal_superblock(ext2_filsys fs, in ext2fs_create_journal_superblock() 90 static errcode_t write_journal_file(ext2_filsys fs, char *filename, in write_journal_file() 152 errcode_t ext2fs_zero_blocks2(ext2_filsys fs, blk64_t blk, int num, in ext2fs_zero_blocks2() 218 errcode_t ext2fs_zero_blocks(ext2_filsys fs, blk_t blk, int num, in ext2fs_zero_blocks() 235 static blk64_t get_midpoint_journal_block(ext2_filsys fs) in get_midpoint_journal_block() 264 static errcode_t write_journal_inode(ext2_filsys fs, ext2_ino_t journal_ino, in write_journal_inode() 371 errcode_t ext2fs_add_journal_device(ext2_filsys fs, ext2_filsys journal_dev) in ext2fs_add_journal_device() 437 errcode_t ext2fs_add_journal_inode2(ext2_filsys fs, blk_t num_blocks, in ext2fs_add_journal_inode2() 549 errcode_t ext2fs_add_journal_inode(ext2_filsys fs, blk_t num_blocks, int flags) in ext2fs_add_journal_inode() 560 ext2_filsys fs; in main()
|
D | bmap.c | 29 extern errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, 36 static _BMAP_INLINE_ errcode_t block_ind_bmap(ext2_filsys fs, int flags, in block_ind_bmap() 93 static _BMAP_INLINE_ errcode_t block_dind_bmap(ext2_filsys fs, int flags, in block_dind_bmap() 113 static _BMAP_INLINE_ errcode_t block_tind_bmap(ext2_filsys fs, int flags, in block_tind_bmap() 133 static errcode_t extent_bmap(ext2_filsys fs, ext2_ino_t ino, 140 static errcode_t implied_cluster_alloc(ext2_filsys fs, ext2_ino_t ino, in implied_cluster_alloc() 176 errcode_t ext2fs_map_cluster_block(ext2_filsys fs, ext2_ino_t ino, in ext2fs_map_cluster_block() 203 static errcode_t extent_bmap(ext2_filsys fs, ext2_ino_t ino, in extent_bmap() 280 int ext2fs_file_block_offset_too_big(ext2_filsys fs, in ext2fs_file_block_offset_too_big() 302 errcode_t ext2fs_bmap2(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap2() [all …]
|
D | rw_bitmaps.c | 31 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) in write_bitmaps() 161 static errcode_t mark_uninit_bg_group_blocks(ext2_filsys fs) in mark_uninit_bg_group_blocks() 198 static errcode_t read_bitmaps(ext2_filsys fs, int do_inode, int do_block) in read_bitmaps() 393 errcode_t ext2fs_read_inode_bitmap(ext2_filsys fs) in ext2fs_read_inode_bitmap() 398 errcode_t ext2fs_read_block_bitmap(ext2_filsys fs) in ext2fs_read_block_bitmap() 403 errcode_t ext2fs_write_inode_bitmap(ext2_filsys fs) in ext2fs_write_inode_bitmap() 408 errcode_t ext2fs_write_block_bitmap (ext2_filsys fs) in ext2fs_write_block_bitmap() 413 errcode_t ext2fs_read_bitmaps(ext2_filsys fs) in ext2fs_read_bitmaps() 421 errcode_t ext2fs_write_bitmaps(ext2_filsys fs) in ext2fs_write_bitmaps()
|
D | mmp.c | 44 errcode_t ext2fs_mmp_read(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_read() 113 errcode_t ext2fs_mmp_write(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_write() 182 static errcode_t ext2fs_mmp_reset(ext2_filsys fs) in ext2fs_mmp_reset() 217 errcode_t ext2fs_mmp_update(ext2_filsys fs) in ext2fs_mmp_update() 222 errcode_t ext2fs_mmp_clear(ext2_filsys fs) in ext2fs_mmp_clear() 238 errcode_t ext2fs_mmp_init(ext2_filsys fs) in ext2fs_mmp_init() 281 errcode_t ext2fs_mmp_start(ext2_filsys fs) in ext2fs_mmp_start() 384 errcode_t ext2fs_mmp_stop(ext2_filsys fs) in ext2fs_mmp_stop() 430 errcode_t ext2fs_mmp_update2(ext2_filsys fs, int immediately) in ext2fs_mmp_update2()
|
/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,
|
D | e2freefrag.c | 72 static void init_chunk_info(ext2_filsys fs, struct chunk_info *info) in init_chunk_info() 114 static void scan_block_bitmap(ext2_filsys fs, struct chunk_info *info) in scan_block_bitmap() 166 static int scan_online(ext2_filsys fs, struct chunk_info *info) in scan_online() 242 static errcode_t scan_offline(ext2_filsys fs, struct chunk_info *info) in scan_offline() 253 static errcode_t dump_chunk_info(ext2_filsys fs, struct chunk_info *info, in dump_chunk_info() 322 static void close_device(char *device_name, ext2_filsys fs) in close_device() 330 static void collect_info(ext2_filsys fs, struct chunk_info *chunk_info, FILE *f) in collect_info() 357 static void open_device(char *device_name, ext2_filsys *fs) in open_device() 381 ext2_filsys fs = NULL; in do_freefrag()
|
/external/e2fsprogs/resize/ |
D | resize2fs.h | 108 ext2_filsys old_fs; 109 ext2_filsys new_fs; 144 extern errcode_t resize_fs(ext2_filsys fs, blk64_t *new_size, int flags, 149 extern errcode_t adjust_fs_info(ext2_filsys fs, ext2_filsys old_fs, 152 extern blk64_t calculate_minimum_resize_size(ext2_filsys fs, int flags); 170 extern errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt,
|
/external/e2fsprogs/contrib/android/ |
D | basefs_allocator.c | 13 static errcode_t basefs_block_allocator(ext2_filsys, blk64_t, blk64_t *, 16 static void fs_free_blocks_range(ext2_filsys fs, struct block_range *blocks) in fs_free_blocks_range() 25 static void fs_reserve_blocks_range(ext2_filsys fs, struct block_range *blocks) in fs_reserve_blocks_range() 34 errcode_t base_fs_alloc_load(ext2_filsys fs, const char *file, in base_fs_alloc_load() 71 static errcode_t basefs_block_allocator(ext2_filsys fs, blk64_t goal, in basefs_block_allocator() 97 void base_fs_alloc_cleanup(ext2_filsys fs) in base_fs_alloc_cleanup() 115 errcode_t base_fs_alloc_set_target(ext2_filsys fs, const char *target_path, in base_fs_alloc_set_target() 132 errcode_t base_fs_alloc_unset_target(ext2_filsys fs, in base_fs_alloc_unset_target()
|
D | basefs_allocator.h | 7 errcode_t base_fs_alloc_load(ext2_filsys fs, const char *file, 9 void base_fs_alloc_cleanup(ext2_filsys fs); 11 errcode_t base_fs_alloc_set_target(ext2_filsys fs, const char *target_path, 13 errcode_t base_fs_alloc_unset_target(ext2_filsys fs, const char *target_path,
|
D | perms.c | 17 ext2_filsys fs; 31 static errcode_t ino_add_xattr(ext2_filsys fs, ext2_ino_t ino, const char *name, in ino_add_xattr() 64 static errcode_t set_selinux_xattr(ext2_filsys fs, ext2_ino_t ino, in set_selinux_xattr() 117 static errcode_t set_perms_and_caps(ext2_filsys fs, ext2_ino_t ino, in set_perms_and_caps() 168 static errcode_t set_timestamp(ext2_filsys fs, ext2_ino_t ino, in set_timestamp() 212 static int is_dir(ext2_filsys fs, ext2_ino_t ino) in is_dir() 221 static errcode_t androidify_inode(ext2_filsys fs, ext2_ino_t ino, in androidify_inode() 286 errcode_t __android_configure_fs(ext2_filsys fs, char *src_dir, in __android_configure_fs() 326 errcode_t android_configure_fs(ext2_filsys fs, char *src_dir, char *target_out, in android_configure_fs()
|
D | fsmap.c | 10 ext2_filsys fs; 14 static int walk_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk64_t *blocknr, in walk_block() 26 static errcode_t ino_iter_blocks(ext2_filsys fs, ext2_ino_t ino, in ino_iter_blocks() 48 static int is_dir(ext2_filsys fs, ext2_ino_t ino) in is_dir() 104 errcode_t fsmap_iter_filsys(ext2_filsys fs, struct fsmap_format *format, in fsmap_iter_filsys()
|
/external/e2fsprogs/lib/support/ |
D | quotaio.h | 66 ext2_filsys fs; 113 ext2_filsys fs; 195 errcode_t quota_file_create(struct quota_handle *h, ext2_filsys fs, 204 errcode_t quota_inode_truncate(ext2_filsys fs, ext2_ino_t ino); 218 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, 231 errcode_t quota_remove_inode(ext2_filsys fs, enum quota_type qtype); 232 int quota_file_exists(ext2_filsys fs, enum quota_type qtype); 233 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, enum quota_type qtype);
|
/external/e2fsprogs/e2fsck/ |
D | e2fsck.h | 226 ext2_filsys fs; 534 extern int e2fsck_pass1_check_device_inode(ext2_filsys fs, 536 extern int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino, 562 errcode_t e2fsck_readahead(ext2_filsys fs, int flags, dgrp_t start, 566 errcode_t e2fsck_readahead_dblist(ext2_filsys fs, int flags, 570 int e2fsck_can_readahead(ext2_filsys fs); 571 unsigned long long e2fsck_guess_readahead(ext2_filsys fs); 634 extern blk64_t get_backup_sb(e2fsck_t ctx, ext2_filsys fs, 640 errcode_t e2fsck_mmp_update(ext2_filsys fs); 642 extern void e2fsck_set_bitmap_type(ext2_filsys fs, [all …]
|
/external/e2fsprogs/debugfs/ |
D | e2freefrag.c | 72 static void init_chunk_info(ext2_filsys fs, struct chunk_info *info) in init_chunk_info() 114 static void scan_block_bitmap(ext2_filsys fs, struct chunk_info *info) in scan_block_bitmap() 166 static int scan_online(ext2_filsys fs, struct chunk_info *info) in scan_online() 242 static errcode_t scan_offline(ext2_filsys fs, struct chunk_info *info) in scan_offline() 253 static errcode_t dump_chunk_info(ext2_filsys fs, struct chunk_info *info, in dump_chunk_info() 322 static void close_device(char *device_name, ext2_filsys fs) in close_device() 330 static void collect_info(ext2_filsys fs, struct chunk_info *chunk_info, FILE *f) in collect_info() 357 static void open_device(char *device_name, ext2_filsys *fs) in open_device() 381 ext2_filsys fs = NULL; in do_freefrag()
|
/external/e2fsprogs/doc/ |
D | libext2fs.texinfo | 166 @code{ext2_filsys}. A filesystem handle is created either by opening 170 …}, int @var{superblock}, int @var{block_size}, io_manager @var{manager}, ext2_filsys *@var{ret_fs}) 213 @deftypefun errcode_t ext2fs_flush (ext2_filsys @var{fs}) 226 @deftypefun void ext2fs_free (ext2_filsys @var{fs}) 232 @deftypefun errcode_t ext2fs_close (ext2_filsys @var{fs}) 256 …{flags}, struct ext2_super_block *@var{param}, io_manager @var{manager}, ext2_filsys *@var{ret_fs}) 349 @deftypefun errcode_t ext2fs_allocate_tables (ext2_filsys @var{fs}) 366 @deftypefun void ext2fs_mark_changed (ext2_filsys @var{fs}) 367 @deftypefunx int ext2fs_test_changed (ext2_filsys @var{fs}) 372 @deftypefun void ext2fs_mark_super_dirty (ext2_filsys @var{fs}) [all …]
|