/external/e2fsprogs/lib/ext2fs/ |
bmap.c | 30 char *block_buf, int bmap_flags, 36 blk_t ind, char *block_buf, 49 retval = io_channel_read_blk(fs->io, ind, 1, block_buf); 58 ((blk_t *) block_buf)[nr] = b; 59 return io_channel_write_blk(fs->io, ind, 1, block_buf); 62 b = ((blk_t *) block_buf)[nr]; 69 b = nr ? ((blk_t *) block_buf)[nr-1] : 0; 71 block_buf + fs->blocksize, &b); 76 ((blk_t *) block_buf)[nr] = ext2fs_swab32(b); 78 ((blk_t *) block_buf)[nr] = b [all...] |
dblist_dir.c | 28 char *block_buf, 45 if (block_buf) 46 ctx.buf = block_buf; 58 if (!block_buf)
|
ext_attr.c | 103 char *block_buf, int adjust, 114 if (!block_buf) { 118 block_buf = buf; 121 retval = ext2fs_read_ext_attr(fs, blk, block_buf); 125 header = (struct ext2_ext_attr_header *) block_buf; 130 retval = ext2fs_write_ext_attr(fs, blk, block_buf);
|
bmove.c | 100 char *block_buf; local 111 retval = ext2fs_get_array(4, fs->blocksize, &block_buf); 114 pb.buf = block_buf + fs->blocksize * 3; 146 retval = ext2fs_block_iterate2(fs, ino, 0, block_buf,
|
dir_iterate.c | 92 char *block_buf, 113 if (block_buf) 114 ctx.buf = block_buf; 125 if (!block_buf) 154 char *block_buf, 167 return ext2fs_dir_iterate2(fs, dir, flags, block_buf,
|
rw_bitmaps.c | 37 char *block_buf, *inode_buf; local 55 retval = ext2fs_get_mem(fs->blocksize, &block_buf); 58 memset(block_buf, 0xff, fs->blocksize); 78 blk_itr, block_nbytes << 3, block_buf); 89 ext2fs_set_bit(j, block_buf); 94 block_buf); 127 ext2fs_free_mem(&block_buf);
|
alloc.c | 189 char *block_buf, blk_t *ret) 195 if (!block_buf) { 199 block_buf = buf; 201 memset(block_buf, 0, fs->blocksize); 222 retval = io_channel_write_blk(fs->io, block, 1, block_buf);
|
bb_inode.c | 40 char *block_buf; member in struct:set_badblock_record 76 retval = ext2fs_get_mem(fs->blocksize, &rec.block_buf); 79 memset(rec.block_buf, 0, fs->blocksize); 139 ext2fs_free_mem(&rec.block_buf); 247 retval = io_channel_write_blk(fs->io, blk, 1, rec->block_buf);
|
block.c | 297 char *block_buf, 335 if (block_buf) { 336 ctx.ind_buf = block_buf; 499 if (!block_buf) 533 char *block_buf, 546 block_buf, xlate_func, &xl);
|
ext2fs.h | 562 char *block_buf, blk_t *ret); 689 char *block_buf, 698 char *block_buf, 710 char *block_buf, int bmap_flags, 714 char *block_buf, int bmap_flags, blk64_t block, 771 char *block_buf, 808 char *block_buf, 818 char *block_buf, 841 char *block_buf, [all...] |
extent.c | 827 char *block_buf = NULL; local 922 block_buf = malloc(handle->fs->blocksize); 923 if (!block_buf) { 937 retval = ext2fs_alloc_block(handle->fs, (blk_t) goal_blk, block_buf, 949 neweh = (struct ext3_extent_header *) block_buf; 965 retval = io_channel_write_blk(handle->fs->io, new_node_pblk, 1, block_buf); 1041 free(block_buf); [all...] |
/external/e2fsprogs/e2fsck/ |
emptydir.c | 25 char *block_buf; member in struct:empty_dir_info_struct 131 edi->block_buf, 0, edi->logblk, 164 retval = ext2fs_block_iterate2(fs, db->ino, 0, edi->block_buf, 184 edi->block_buf = malloc(ctx->fs->blocksize * 3); 186 if (edi->block_buf) { 190 free(edi->block_buf);
|
swapfs.c | 80 static void swap_inode_blocks(e2fsck_t ctx, ext2_ino_t ino, char *block_buf, 88 sb.dir_buf = block_buf + ctx->fs->blocksize*3; 94 retval = ext2fs_block_iterate(ctx->fs, ino, 0, block_buf, 116 char *buf = NULL, *block_buf = NULL; local 130 block_buf = (char *) e2fsck_allocate_memory(ctx, fs->blocksize * 4, 163 swap_inode_blocks(ctx, ino, block_buf, inode); 185 if (block_buf) 186 ext2fs_free_mem(&block_buf);
|
pass1b.c | 89 struct dup_inode *dp, char *block_buf); 91 struct dup_inode *dp, char* block_buf); 94 static void pass1b(e2fsck_t ctx, char *block_buf); 95 static void pass1c(e2fsck_t ctx, char *block_buf); 96 static void pass1d(e2fsck_t ctx, char *block_buf); 209 void e2fsck_pass1_dupblocks(e2fsck_t ctx, char *block_buf) 233 pass1b(ctx, block_buf); 237 pass1c(ctx, block_buf); 241 pass1d(ctx, block_buf); 264 static void pass1b(e2fsck_t ctx, char *block_buf) [all...] |
pass1.c | 65 char *block_buf); 71 static void process_inodes(e2fsck_t ctx, char *block_buf); 76 char *block_buf, int adjust_sign); 102 char *block_buf; member in struct:scan_callback_struct 551 char *block_buf; local 672 block_buf = (char *) e2fsck_allocate_memory(ctx, fs->blocksize * 3, 682 ext2fs_free_mem(&block_buf); 689 scan_struct.block_buf = block_buf; 823 block_buf, process_bad_block, &pb) [all...] |
super.c | 154 struct ext2_inode *inode, char *block_buf, 165 pb.buf = block_buf + 3 * ctx->fs->blocksize; 184 block_buf, release_inode_block, &pb); 202 block_buf, -1, &count); 230 char *block_buf; local 258 block_buf = (char *) e2fsck_allocate_memory(ctx, fs->blocksize * 4, 281 if (release_inode_blocks(ctx, ino, &inode, block_buf, &pctx)) 294 ext2fs_free_mem(&block_buf); 297 ext2fs_free_mem(&block_buf);
|
pass2.c | 62 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf); 523 char *block_buf) 536 root = (struct ext2_dx_root_info *) (block_buf + 24); 547 ent = (struct ext2_dx_entry *) (block_buf + 24 + root->info_length); 549 ent = (struct ext2_dx_entry *) (block_buf+8); 561 expect_limit = (fs->blocksize - ((char *) ent - block_buf)) / 1172 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf) 1193 block_buf, -1, &count); [all...] |
e2fsck.h | 257 char *block_buf; member in struct:e2fsck_struct 368 extern void e2fsck_pass1_dupblocks(e2fsck_t ctx, char *block_buf);
|
/external/e2fsprogs/debugfs/ |
icheck.c | 64 char *block_buf; local 81 block_buf = malloc(current_fs->blocksize * 3); 82 if (!block_buf) { 131 BLOCK_FLAG_READ_ONLY, block_buf, 164 free(block_buf);
|
lsdel.c | 82 char *block_buf; local 111 block_buf = malloc(current_fs->blocksize * 3); 112 if (!block_buf) { 144 BLOCK_FLAG_READ_ONLY, block_buf, 206 free(block_buf);
|
/external/e2fsprogs/misc/ |
e2image.c | 466 char * block_buf; local 493 block_buf = malloc(fs->blocksize * 3); 494 if (!block_buf) { 529 BLOCK_FLAG_READ_ONLY, block_buf, 543 ino, BLOCK_FLAG_READ_ONLY, block_buf, 555 free(block_buf);
|
tune2fs.c | 1158 char *block_buf = 0; local 1162 retval = ext2fs_get_mem(fs->blocksize * 3, &block_buf); 1208 retval = ext2fs_block_iterate2(fs, ino, 0, block_buf, 1216 ext2fs_free_mem(&block_buf); [all...] |
/external/e2fsprogs/resize/ |
resize2fs.c | 1313 char *block_buf = 0; local 1713 char * block_buf; local [all...] |