/third_party/e2fsprogs/lib/ext2fs/ |
D | ext2fs.h | 120 typedef struct struct_ext2_filsys *ext2_filsys; typedef 128 ext2_filsys fs; 260 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks); 261 errcode_t (*check_directory)(ext2_filsys fs, ext2_ino_t ino); 262 errcode_t (*write_bitmaps)(ext2_filsys fs); 263 errcode_t (*read_inode)(ext2_filsys fs, ext2_ino_t ino, 265 errcode_t (*write_inode)(ext2_filsys fs, ext2_ino_t ino, 296 errcode_t (*get_alloc_block)(ext2_filsys fs, blk64_t goal, 298 errcode_t (*get_alloc_block2)(ext2_filsys fs, blk64_t goal, 300 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() 91 blk64_t ext2fs_get_stat_i_blocks(ext2_filsys fs, in ext2fs_get_stat_i_blocks() 200 struct ext2_group_desc *ext2fs_group_desc(ext2_filsys fs, in ext2fs_group_desc() 243 static struct ext4_group_desc *ext4fs_group_desc(ext2_filsys fs, in ext4fs_group_desc() 253 __u32 ext2fs_block_bitmap_checksum(ext2_filsys fs, dgrp_t group) in ext2fs_block_bitmap_checksum() [all …]
|
D | ext2fsP.h | 52 ext2_filsys fs; 116 extern int ext2fs_process_dir_block(ext2_filsys fs, 123 extern errcode_t ext2fs_inline_data_ea_remove(ext2_filsys fs, ext2_ino_t ino); 124 extern errcode_t ext2fs_inline_data_expand(ext2_filsys fs, ext2_ino_t ino); 125 extern int ext2fs_inline_data_dir_iterate(ext2_filsys fs, 141 void (*init)(ext2_filsys fs, 144 void (*update)(ext2_filsys fs, 147 void (*close)(ext2_filsys fs, 154 extern void ext2fs_numeric_progress_init(ext2_filsys fs, 157 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 | 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 | 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 | 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() 466 errcode_t ext2fs_close_free(ext2_filsys *fs_ptr) in ext2fs_close_free() 469 ext2_filsys fs = *fs_ptr; in ext2fs_close_free() [all …]
|
D | rw_bitmaps.c | 53 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) in write_bitmaps() 183 static errcode_t mark_uninit_bg_group_blocks(ext2_filsys fs) in mark_uninit_bg_group_blocks() 230 static errcode_t read_bitmaps_range_prepare(ext2_filsys fs, int flags) in read_bitmaps_range_prepare() 284 static errcode_t read_bitmaps_range_start(ext2_filsys fs, int flags, in read_bitmaps_range_start() 449 static errcode_t read_bitmaps_range_end(ext2_filsys fs, int flags, in read_bitmaps_range_end() 468 static void read_bitmaps_cleanup_on_error(ext2_filsys fs, int flags) in read_bitmaps_cleanup_on_error() 480 static errcode_t read_bitmaps_range(ext2_filsys fs, int flags, in read_bitmaps_range() 501 ext2_filsys rbt_fs; 521 errcode_t ext2fs_rw_bitmaps(ext2_filsys fs, int flags, int num_threads) in ext2fs_rw_bitmaps() 637 errcode_t ext2fs_read_inode_bitmap(ext2_filsys fs) in ext2fs_read_inode_bitmap() [all …]
|
D | mkjournal.c | 47 errcode_t ext2fs_create_journal_superblock2(ext2_filsys fs, in ext2fs_create_journal_superblock2() 87 errcode_t ext2fs_create_journal_superblock(ext2_filsys fs, __u32 num_blocks, in ext2fs_create_journal_superblock() 103 static errcode_t write_journal_file(ext2_filsys fs, char *filename, in write_journal_file() 166 errcode_t ext2fs_zero_blocks2(ext2_filsys fs, blk64_t blk, int num, in ext2fs_zero_blocks2() 232 errcode_t ext2fs_zero_blocks(ext2_filsys fs, blk_t blk, int num, in ext2fs_zero_blocks() 249 static blk64_t get_midpoint_journal_block(ext2_filsys fs) in get_midpoint_journal_block() 278 static errcode_t write_journal_inode(ext2_filsys fs, ext2_ino_t journal_ino, in write_journal_inode() 379 ext2_filsys fs) in ext2fs_get_journal_params() 425 errcode_t ext2fs_add_journal_device(ext2_filsys fs, ext2_filsys journal_dev) in ext2fs_add_journal_device() 491 errcode_t ext2fs_add_journal_inode3(ext2_filsys fs, struct ext2fs_journal_params *jparams, in ext2fs_add_journal_inode3() [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 | 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 | mmp.c | 44 errcode_t ext2fs_mmp_read(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_read() 126 errcode_t ext2fs_mmp_write(ext2_filsys fs, blk64_t mmp_blk, void *buf) in ext2fs_mmp_write() 197 static errcode_t ext2fs_mmp_reset(ext2_filsys fs) in ext2fs_mmp_reset() 232 errcode_t ext2fs_mmp_update(ext2_filsys fs) in ext2fs_mmp_update() 237 errcode_t ext2fs_mmp_clear(ext2_filsys fs) in ext2fs_mmp_clear() 253 errcode_t ext2fs_mmp_init(ext2_filsys fs) in ext2fs_mmp_init() 296 errcode_t ext2fs_mmp_start(ext2_filsys fs) in ext2fs_mmp_start() 399 errcode_t ext2fs_mmp_stop(ext2_filsys fs) in ext2fs_mmp_stop() 446 errcode_t ext2fs_mmp_update2(ext2_filsys fs, int immediately) in ext2fs_mmp_update2()
|
/third_party/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,
|
/third_party/e2fsprogs/contrib/android/ |
D | basefs_allocator.c | 20 static errcode_t basefs_block_allocator(ext2_filsys, blk64_t, blk64_t *, 28 static void fs_free_blocks_range(ext2_filsys fs, in fs_free_blocks_range() 49 static void fs_free_blocks_bitmap(ext2_filsys fs, ext2fs_block_bitmap bitmap) in fs_free_blocks_bitmap() 66 static void basefs_allocator_free(ext2_filsys fs, in basefs_allocator_free() 102 static int fs_reserve_block(ext2_filsys fs, in fs_reserve_block() 132 static void fs_reserve_blocks_range(ext2_filsys fs, in fs_reserve_blocks_range() 165 static errcode_t fs_reserve_blocks(ext2_filsys fs, in fs_reserve_blocks() 192 errcode_t base_fs_alloc_load(ext2_filsys fs, const char *file, in base_fs_alloc_load() 240 static errcode_t get_next_block(ext2_filsys fs, struct base_fs_allocator *allocator, in get_next_block() 283 static void skip_blocks(ext2_filsys fs, struct base_fs_allocator *allocator, in skip_blocks() [all …]
|
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 | 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_extents(ext2_filsys fs, ext2_ino_t ino, in ino_iter_extents() 65 static errcode_t ino_iter_blocks(ext2_filsys fs, ext2_ino_t ino, in ino_iter_blocks() 98 static int is_dir(ext2_filsys fs, ext2_ino_t ino) in is_dir() 154 errcode_t fsmap_iter_filsys(ext2_filsys fs, struct fsmap_format *format, in fsmap_iter_filsys()
|
D | perms.c | 18 ext2_filsys fs; 32 static errcode_t ino_add_xattr(ext2_filsys fs, ext2_ino_t ino, const char *name, in ino_add_xattr() 65 static errcode_t set_selinux_xattr(ext2_filsys fs, ext2_ino_t ino, in set_selinux_xattr() 118 static errcode_t set_perms_and_caps(ext2_filsys fs, ext2_ino_t ino, in set_perms_and_caps() 169 static errcode_t set_timestamp(ext2_filsys fs, ext2_ino_t ino, in set_timestamp() 213 static int is_dir(ext2_filsys fs, ext2_ino_t ino) in is_dir() 222 static errcode_t androidify_inode(ext2_filsys fs, ext2_ino_t ino, in androidify_inode() 287 errcode_t __android_configure_fs(ext2_filsys fs, char *src_dir, in __android_configure_fs() 327 errcode_t android_configure_fs(ext2_filsys fs, char *src_dir, char *target_out, in android_configure_fs()
|
/third_party/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,
|
/third_party/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);
|
/third_party/e2fsprogs/debugfs/ |
D | journal.h | 18 errcode_t ext2fs_open_journal(ext2_filsys fs, journal_t **j); 19 errcode_t ext2fs_close_journal(ext2_filsys fs, journal_t **j); 20 errcode_t ext2fs_run_ext3_journal(ext2_filsys *fs);
|
/third_party/e2fsprogs/e2fsck/ |
D | e2fsck.h | 257 ext2_filsys fs; 594 extern int e2fsck_pass1_check_device_inode(ext2_filsys fs, 596 extern int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino, 622 errcode_t e2fsck_readahead(ext2_filsys fs, int flags, dgrp_t start, 626 errcode_t e2fsck_readahead_dblist(ext2_filsys fs, int flags, 630 int e2fsck_can_readahead(ext2_filsys fs); 631 unsigned long long e2fsck_guess_readahead(ext2_filsys fs); 694 extern blk64_t get_backup_sb(e2fsck_t ctx, ext2_filsys fs, 700 errcode_t e2fsck_mmp_update(ext2_filsys fs); 702 extern void e2fsck_set_bitmap_type(ext2_filsys fs, [all …]
|
D | badblocks.c | 17 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt, 21 static void invalid_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk_t blk) in invalid_block() 30 ext2_filsys fs = ctx->fs; in read_bad_blocks_file() 121 static int check_bb_inode_blocks(ext2_filsys fs, in check_bb_inode_blocks()
|
D | ehandler.c | 33 ext2_filsys fs = (ext2_filsys) channel->app_data; in e2fsck_handle_read_error() 85 ext2_filsys fs = (ext2_filsys) channel->app_data; in e2fsck_handle_write_error()
|