/external/e2fsprogs/lib/ext2fs/ |
H A D | ind_block.c | 26 blk_t *block_nr; local 40 block_nr = (blk_t *) buf; 41 for (i = 0; i < limit; i++, block_nr++) 42 *block_nr = ext2fs_swab32(*block_nr); 50 blk_t *block_nr; local 59 block_nr = (blk_t *) buf; 60 for (i = 0; i < limit; i++, block_nr++) 61 *block_nr = ext2fs_swab32(*block_nr); [all...] |
H A D | read_bb.c | 40 static int mark_bad_block(ext2_filsys fs, blk_t *block_nr, argument 51 if ((*block_nr < fs->super->s_first_data_block) || 52 (*block_nr >= ext2fs_blocks_count(fs->super))) 55 rb->err = ext2fs_badblocks_list_add(rb->bb_list, *block_nr);
|
H A D | bb_inode.c | 44 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr, 48 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr, 151 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr, argument 162 if (!*block_nr) 168 if (*block_nr >= ext2fs_blocks_count(fs->super) || 169 *block_nr < fs->super->s_first_data_block) { 170 *block_nr = 0; 187 rec->ind_blocks[rec->ind_blocks_size++] = *block_nr; 193 ext2fs_block_alloc_stats2(fs, *block_nr, -1); 195 *block_nr 208 set_bad_block_proc(ext2_filsys fs, blk_t *block_nr, e2_blkcnt_t blockcnt, blk_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument [all...] |
H A D | block.c | 64 blk_t *block_nr; local 94 block_nr = (blk_t *) ctx->ind_buf; 97 for (i = 0; i < limit; i++, ctx->bcount++, block_nr++) { 98 blk64 = *block_nr; 102 *block_nr = blk64; 111 for (i = 0; i < limit; i++, ctx->bcount++, block_nr++) { 112 if (*block_nr == 0) 114 blk64 = *block_nr; 118 *block_nr = blk64; 153 blk_t *block_nr; local 239 blk_t *block_nr; local [all...] |
H A D | bmove.c | 39 static int process_block(ext2_filsys fs, blk64_t *block_nr, argument 49 block = orig = *block_nr; 76 *block_nr = block;
|
H A D | inode.c | 525 blk64_t block_nr; local 562 block_nr = fs->image_header->offset_inode / fs->blocksize; 563 block_nr += (ino - 1) / inodes_per_block; 576 block_nr = ext2fs_inode_table_loc(fs, group) + 592 if (block_nr != fs->icache->buffer_blk) { 593 retval = io_channel_read_blk64(io, block_nr, 1, 597 fs->icache->buffer_blk = block_nr; 606 block_nr++; 634 blk64_t block_nr; local 700 block_nr [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | badblocks.c | 16 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt, 118 blk_t *block_nr, 122 if (!*block_nr) 128 if (*block_nr >= ext2fs_blocks_count(fs->super) || 129 *block_nr < fs->super->s_first_data_block) { 131 "Cleared.\n"), *block_nr); 132 *block_nr = 0; 117 check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt EXT2FS_ATTR((unused)), void *priv_data EXT2FS_ATTR((unused))) argument
|
H A D | pass1b.c | 344 blk64_t *block_nr, variable 354 if (HOLE_BLKADDR(*block_nr)) 360 if (!ext2fs_test_block_bitmap2(ctx->block_dup_map, *block_nr)) 365 p->pctx->blk = *block_nr; 372 add_dupe(ctx, p->ino, EXT2FS_B2C(fs, *block_nr), p->inode); 581 blk64_t *block_nr, 596 if (HOLE_BLKADDR(*block_nr)) 599 c = EXT2FS_B2C(fs, *block_nr); 601 if (ext2fs_test_block_bitmap2(ctx->block_dup_map, *block_nr)) { 606 decrement_badcount(ctx, *block_nr, 580 delete_file_block(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, blk64_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument 694 clone_file_block(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, blk64_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument [all...] |
H A D | emptydir.c | 119 int empty_pass1(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, argument 128 block = *block_nr; 144 *block_nr = new_block;
|
H A D | pass2.c | 725 blk64_t block_nr = db->blk; local 759 cd->pctx.blk = block_nr; 768 block_nr = db->blk; 781 printf("In process_dir_block block %lu, #%d, inode %lu\n", block_nr, 786 cd->pctx.errcode = ext2fs_read_dir_block3(fs, block_nr, buf, 0); 812 dx_db->phys = block_nr; 1141 cd->pctx.errcode = ext2fs_write_dir_block3(fs, block_nr, buf, 0); 1167 blk64_t *block_nr, 1175 if (HOLE_BLKADDR(*block_nr)) 1177 if ((*block_nr < f 1166 deallocate_inode_block(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt EXT2FS_ATTR((unused)), blk64_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument [all...] |
H A D | rehash.c | 81 blk64_t *block_nr, 103 if (HOLE_BLKADDR(*block_nr)) { 108 fd->err = ext2fs_read_dir_block3(fs, *block_nr, dir, 0); 635 blk64_t *block_nr, 645 if (*block_nr == 0) 649 blk = *block_nr; 661 *block_nr = 0; 668 wd->err = ext2fs_write_dir_block3(fs, *block_nr, dir, 0); 80 fill_dir_block(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, blk64_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument 634 write_dir_block(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, blk64_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument
|
H A D | pass1.c | 61 static int process_bad_block(ext2_filsys fs, blk64_t *block_nr, 2273 blk64_t *block_nr, 2281 blk64_t blk = *block_nr; 2373 blk = *block_nr = 0; 2431 blk64_t *block_nr, 2438 blk64_t blk = *block_nr; 2463 *block_nr = 0; 2473 *block_nr = 0; 2481 *block_nr = 0; 2519 *block_nr 2272 process_block(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, blk64_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument 2430 process_bad_block(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, blk64_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument [all...] |
H A D | super.c | 59 blk64_t *block_nr, 68 blk64_t blk = *block_nr; 142 *block_nr = 0; 58 release_inode_block(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, blk64_t ref_blk EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument
|
H A D | journal.c | 207 blk64_t *block_nr, 214 blk64_t blk = *block_nr; 206 process_journal_block(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, blk64_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument
|
/external/e2fsprogs/debugfs/ |
H A D | lsdel.c | 51 blk64_t *block_nr, 61 if (*block_nr < fs->super->s_first_data_block || 62 *block_nr >= ext2fs_blocks_count(fs->super)) { 67 if (!ext2fs_test_block_bitmap2(fs->block_map,*block_nr)) 50 lsdel_proc(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt EXT2FS_ATTR((unused)), blk64_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *private) argument
|
H A D | icheck.c | 34 blk64_t *block_nr, variable 44 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) {
|
H A D | debugfs.c | 2118 unsigned long group, block, block_nr, offset; local 2136 block_nr = ext2fs_inode_table_loc(current_fs, (unsigned)group) + 2142 block_nr, offset);
|
/external/e2fsprogs/misc/ |
H A D | e2image.c | 358 blk64_t *block_nr, variable 368 ext2fs_mark_block_bitmap2(meta_block_map, *block_nr); 371 ext2fs_mark_block_bitmap2(scramble_block_map, *block_nr); 376 blk64_t *block_nr, variable 383 ext2fs_mark_block_bitmap2(meta_block_map, *block_nr);
|
H A D | tune2fs.c | 1464 blk64_t *block_nr, variable 1474 if (!ext2fs_test_block_bitmap2(bmap, *block_nr)) 1476 new_blk = translate_block(*block_nr); 1478 *block_nr = new_blk;
|
/external/e2fsprogs/resize/ |
H A D | resize2fs.c | 1373 static int process_block(ext2_filsys fs, blk64_t *block_nr, argument 1384 block = *block_nr; 1388 *block_nr = new_block;
|