/external/e2fsprogs/lib/ext2fs/ |
D | blknum.c | 19 dgrp_t ext2fs_group_of_blk2(ext2_filsys fs, blk64_t blk) in ext2fs_group_of_blk2() 28 blk64_t ext2fs_group_first_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_first_block2() 31 ((blk64_t)group * fs->super->s_blocks_per_group); in ext2fs_group_first_block2() 37 blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_last_block2() 67 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() 92 blk64_t ext2fs_blocks_count(struct ext2_super_block *super) in ext2fs_blocks_count() 102 void ext2fs_blocks_count_set(struct ext2_super_block *super, blk64_t blk) in ext2fs_blocks_count_set() 112 void ext2fs_blocks_count_add(struct ext2_super_block *super, blk64_t blk) in ext2fs_blocks_count_add() 114 blk64_t tmp; in ext2fs_blocks_count_add() [all …]
|
D | bitops.h | 126 blk64_t block); 128 blk64_t block); 130 blk64_t block); 140 blk64_t block); 142 blk64_t block); 144 blk64_t block); 153 blk64_t start, 154 blk64_t end, 155 blk64_t *out); 160 extern blk64_t ext2fs_get_block_bitmap_start2(ext2fs_block_bitmap bitmap); [all …]
|
D | brel_ma.c | 29 static errcode_t bma_put(ext2_brel brel, blk64_t old, 31 static errcode_t bma_get(ext2_brel brel, blk64_t old, 34 static errcode_t bma_next(ext2_brel brel, blk64_t *old, 36 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new); 37 static errcode_t bma_delete(ext2_brel brel, blk64_t old); 42 blk64_t max_block; 46 errcode_t ext2fs_brel_memarray_create(char *name, blk64_t max_block, in ext2fs_brel_memarray_create() 104 static errcode_t bma_put(ext2_brel brel, blk64_t old, in bma_put() 116 static errcode_t bma_get(ext2_brel brel, blk64_t old, in bma_get() 136 static errcode_t bma_next(ext2_brel brel, blk64_t *old, in bma_next() [all …]
|
D | ext2fs.h | 75 typedef __u64 __bitwise blk64_t; typedef 137 blk64_t blk; 261 errcode_t (*get_alloc_block)(ext2_filsys fs, blk64_t goal, 262 blk64_t *ret); 263 void (*block_alloc_stats)(ext2_filsys fs, blk64_t blk, int inuse); 355 blk64_t e_pblk; /* first physical block */ 356 blk64_t e_lblk; /* first logical block extent covers */ 409 blk64_t max_lblk; 410 blk64_t max_pblk; 651 extern errcode_t ext2fs_new_block2(ext2_filsys fs, blk64_t goal, [all …]
|
D | brel.h | 13 blk64_t new; 17 blk64_t block_ref; 31 blk64_t current; 37 errcode_t (*put)(ext2_brel brel, blk64_t old, 43 errcode_t (*get)(ext2_brel brel, blk64_t old, 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); 76 errcode_t ext2fs_brel_memarray_create(char *name, blk64_t max_block,
|
D | alloc.c | 35 blk64_t blk, super_blk, old_desc_blk, new_desc_blk; in check_block_uninit() 166 errcode_t ext2fs_new_block2(ext2_filsys fs, blk64_t goal, in ext2fs_new_block2() 167 ext2fs_block_bitmap map, blk64_t *ret) in ext2fs_new_block2() 169 blk64_t i; in ext2fs_new_block2() 209 blk64_t val; in ext2fs_new_block() 220 errcode_t ext2fs_alloc_block2(ext2_filsys fs, blk64_t goal, in ext2fs_alloc_block2() 221 char *block_buf, blk64_t *ret) in ext2fs_alloc_block2() 224 blk64_t block; in ext2fs_alloc_block2() 268 blk64_t val; in ext2fs_alloc_block() 275 errcode_t ext2fs_get_free_blocks2(ext2_filsys fs, blk64_t start, blk64_t finish, in ext2fs_get_free_blocks2() [all …]
|
D | bmap.c | 135 char *block_buf, int bmap_flags, blk64_t block, 137 blk64_t *phys_blk); 142 blk64_t lblk, blk64_t *phys_blk) in implied_cluster_alloc() 144 blk64_t base_block, pblock = 0; in implied_cluster_alloc() 177 struct ext2_inode *inode, blk64_t lblk, in ext2fs_map_cluster_block() 178 blk64_t *pblk) in ext2fs_map_cluster_block() 207 char *block_buf, int bmap_flags, blk64_t block, in extent_bmap() 209 blk64_t *phys_blk) in extent_bmap() 214 blk64_t blk64 = 0; in extent_bmap() 271 blk64_t offset) in ext2fs_file_block_offset_too_big() [all …]
|
D | punch.c | 54 blk64_t offset, incr; in ind_punch() 111 blk64_t max = EXT2_NDIR_BLOCKS; in ext2fs_punch_ind() 122 for (level = 0; level < 4; level++, max *= (blk64_t)addr_per_block) { in ext2fs_punch_ind() 182 blk64_t lfree_start, blk64_t free_start, in punch_extent_blocks() 185 blk64_t pblk; in punch_extent_blocks() 250 blk64_t start, blk64_t end) in ext2fs_punch_extent() 255 blk64_t free_start, next, lfree_start; in ext2fs_punch_extent() 348 blk64_t old_lblk, next_lblk; in ext2fs_punch_extent() 414 char *block_buf, blk64_t start, in ext2fs_punch() 415 blk64_t end) in ext2fs_punch()
|
D | blkmap64_ba.c | 167 blk64_t bitno = (blk64_t) arg; in ba_mark_bmap() 175 blk64_t bitno = (blk64_t) arg; in ba_unmark_bmap() 183 blk64_t bitno = (blk64_t) arg; in ba_test_bmap() 192 blk64_t bitno = (blk64_t) arg; in ba_mark_bmap_extent() 203 blk64_t bitno = (blk64_t) arg; in ba_unmark_bmap_extent()
|
D | block.c | 24 blk64_t *blocknr, 26 blk64_t ref_blk, 65 blk64_t blk64; in block_iterate_ind() 154 blk64_t blk64; in block_iterate_dind() 240 blk64_t blk64; in block_iterate_tind() 325 blk64_t *blocknr, in ext2fs_block_iterate3() 327 blk64_t ref_blk, in ext2fs_block_iterate3() 338 blk64_t blk64; in ext2fs_block_iterate3() 393 blk64_t blk, new_blk; in ext2fs_block_iterate3() 424 (blk64_t) blockcnt++, in ext2fs_block_iterate3() [all …]
|
D | closefs.c | 65 blk64_t *ret_super_blk, in ext2fs_super_and_bgd_loc2() 66 blk64_t *ret_old_desc_blk, in ext2fs_super_and_bgd_loc2() 67 blk64_t *ret_new_desc_blk, in ext2fs_super_and_bgd_loc2() 70 blk64_t group_block, super_blk = 0, old_desc_blk = 0, new_desc_blk = 0; in ext2fs_super_and_bgd_loc2() 73 blk64_t old_desc_blocks; in ext2fs_super_and_bgd_loc2() 144 blk64_t ret_super_blk2; in ext2fs_super_and_bgd_loc() 145 blk64_t ret_old_desc_blk2; in ext2fs_super_and_bgd_loc() 146 blk64_t ret_new_desc_blk2; in ext2fs_super_and_bgd_loc() 246 blk64_t group_block, in write_backup_super() 348 blk64_t super_blk, old_desc_blk, new_desc_blk; in ext2fs_flush2()
|
D | alloc_tables.c | 37 static blk64_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk, in flexbg_offset() 42 blk64_t last_blk, first_free = 0; in flexbg_offset() 87 blk64_t group_blk, start_blk, last_blk, new_blk, blk; in ext2fs_allocate_group_table() 124 blk64_t prev_block = 0; in ext2fs_allocate_group_table() 153 blk64_t prev_block = 0; in ext2fs_allocate_group_table() 187 blk64_t prev_block = 0; in ext2fs_allocate_group_table()
|
D | bmap64.h | 29 blk64_t last_marked; 30 blk64_t last_tested; 31 blk64_t mark_back; 32 blk64_t test_back;
|
D | ext2fsP.h | 69 blk64_t buffer_blk; 84 blk64_t *blocknr, 86 blk64_t ref_block, 147 blk64_t offset);
|
D | alloc_stats.c | 61 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse) in ext2fs_block_alloc_stats2() 85 (fs->block_alloc_stats)(fs, (blk64_t) blk, inuse); in ext2fs_block_alloc_stats2() 95 blk64_t blk, in ext2fs_set_block_alloc_stats_callback() 98 blk64_t blk, in ext2fs_set_block_alloc_stats_callback()
|
D | expanddir.c | 24 blk64_t goal; 29 blk64_t *blocknr, in expand_dir_proc() 31 blk64_t ref_block EXT2FS_ATTR((unused)), in expand_dir_proc() 36 blk64_t new_blk; in expand_dir_proc()
|
/external/e2fsprogs/e2fsck/ |
D | pass1b.c | 57 blk64_t cluster; 85 static int process_pass1b_block(ext2_filsys fs, blk64_t *blocknr, 86 e2_blkcnt_t blockcnt, blk64_t ref_blk, 92 static int check_if_fs_block(e2fsck_t ctx, blk64_t test_block); 93 static int check_if_fs_cluster(e2fsck_t ctx, blk64_t cluster); 119 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk64_t cluster, in add_dupe() 263 blk64_t cur_cluster; 325 blk64_t blk = ext2fs_file_acl_block(fs, &inode); in pass1b() 344 blk64_t *block_nr, in process_pass1b_block() 346 blk64_t ref_blk EXT2FS_ATTR((unused)), in process_pass1b_block() [all …]
|
D | e2fsck.h | 122 blk64_t phys; 124 blk64_t parent; 228 blk64_t use_superblock; /* sb requested by user */ 229 blk64_t superblock; /* sb used to open fs */ 230 blk64_t num_blocks; /* Total number of blocks */ 231 blk64_t free_blocks; 439 extern errcode_t ea_refcount_fetch(ext2_refcount_t refcount, blk64_t blk, int *ret); 441 blk64_t blk, int *ret); 443 blk64_t blk, int *ret); 445 blk64_t blk, int count); [all …]
|
D | ea_refcount.c | 27 blk64_t ea_blk; 113 blk64_t blk, int pos) in insert_refcount_el() 155 blk64_t blk, int create) in get_refcount_el() 208 errcode_t ea_refcount_fetch(ext2_refcount_t refcount, blk64_t blk, in ea_refcount_fetch() 222 errcode_t ea_refcount_increment(ext2_refcount_t refcount, blk64_t blk, int *ret) in ea_refcount_increment() 236 errcode_t ea_refcount_decrement(ext2_refcount_t refcount, blk64_t blk, int *ret) in ea_refcount_decrement() 251 errcode_t ea_refcount_store(ext2_refcount_t refcount, blk64_t blk, int count) in ea_refcount_store() 279 blk64_t ea_refcount_intr_next(ext2_refcount_t refcount, in ea_refcount_intr_next() 373 blk64_t blk; in main()
|
D | emptydir.c | 28 blk64_t logblk; 29 blk64_t freed_blocks; 119 int empty_pass1(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, in empty_pass1() 120 blk64_t ref_block, int ref_offset, void *priv_data) in empty_pass1() 123 blk64_t block, new_block; in empty_pass1()
|
/external/e2fsprogs/resize/ |
D | resize2fs.h | 111 blk64_t needed_blocks; 118 blk64_t new_blk; 141 extern errcode_t resize_fs(ext2_filsys fs, blk64_t *new_size, int flags, 148 blk64_t new_size); 149 extern blk64_t calculate_minimum_resize_size(ext2_filsys fs, int flags); 168 blk64_t *new_size, int flags);
|
D | resize2fs.c | 44 static errcode_t adjust_superblock(ext2_resize_t rfs, blk64_t new_size); 80 errcode_t resize_fs(ext2_filsys fs, blk64_t *new_size, int flags, in resize_fs() 228 blk64_t blk, lblk; in fix_uninit_block_bitmaps() 278 blk64_t blk; in free_gdp_blocks() 314 ext2fs_block_bitmap reserve_blocks, blk64_t new_size) in adjust_fs_info() 317 blk64_t overhead = 0; in adjust_fs_info() 318 blk64_t rem; in adjust_fs_info() 319 blk64_t blk, group_block; in adjust_fs_info() 320 blk64_t real_end; in adjust_fs_info() 321 blk64_t old_numblocks, numblocks, adjblocks; in adjust_fs_info() [all …]
|
/external/e2fsprogs/debugfs/ |
D | htree.c | 34 blk64_t blk, char *buf) in htree_dump_leaf_node() 42 blk64_t pblk; in htree_dump_leaf_node() 111 blk64_t blk, char *buf, int level); 160 blk64_t blk, char *buf, int level) in htree_dump_int_block() 164 blk64_t pblk; in htree_dump_int_block() 199 blk64_t blk; in do_htree_dump() 325 static int search_dir_block(ext2_filsys fs, blk64_t *blocknr, 326 e2_blkcnt_t blockcnt, blk64_t ref_blk, 361 static int search_dir_block(ext2_filsys fs, blk64_t *blocknr, in search_dir_block() 363 blk64_t ref_blk EXT2FS_ATTR((unused)), in search_dir_block()
|
D | icheck.c | 22 blk64_t blk; 34 blk64_t *block_nr, in icheck_proc() 36 blk64_t ref_block EXT2FS_ATTR((unused)), in icheck_proc() 109 blk64_t blk; in do_icheck()
|
/external/e2fsprogs/misc/ |
D | e2image.c | 51 #define NO_BLK ((blk64_t) -1) 69 static blk64_t source_offset, dest_offset; 75 static blk64_t align_offset(blk64_t offset, unsigned int n) in align_offset() 77 return (offset + n - 1) & ~((blk64_t) n - 1); in align_offset() 155 static void generic_write(int fd, void *buf, int blocksize, blk64_t block) in generic_write() 292 static blk64_t meta_blocks_count; 358 blk64_t *block_nr, in process_dir_block() 360 blk64_t ref_block EXT2FS_ATTR((unused)), in process_dir_block() 376 blk64_t *block_nr, in process_file_block() 378 blk64_t ref_block EXT2FS_ATTR((unused)), in process_file_block() [all …]
|