/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 | 27 char *block_buf, 44 if (block_buf) 45 ctx.buf = block_buf; 57 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 | 104 char *block_buf; local 115 retval = ext2fs_get_array(4, fs->blocksize, &block_buf); 118 pb.buf = block_buf + fs->blocksize * 3; 150 retval = ext2fs_block_iterate2(fs, ino, 0, block_buf,
|
dir_iterate.c | 94 char *block_buf, 115 if (block_buf) 116 ctx.buf = block_buf; 127 if (!block_buf) 156 char *block_buf, 169 return ext2fs_dir_iterate2(fs, dir, flags, block_buf,
|
rw_bitmaps.c | 37 char *block_buf, *inode_buf; local 56 &block_buf); 59 memset(block_buf, 0xff, fs->blocksize); 80 blk_itr, block_nbytes << 3, block_buf); 91 ext2fs_set_bit(j, block_buf); 96 block_buf); 129 ext2fs_free_mem(&block_buf);
|
alloc.c | 188 char *block_buf, blk_t *ret) 194 if (!block_buf) { 198 block_buf = buf; 200 memset(block_buf, 0, fs->blocksize); 221 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 | 298 char *block_buf, 336 if (block_buf) { 337 ctx.ind_buf = block_buf; 500 if (!block_buf) 534 char *block_buf, 547 block_buf, xlate_func, &xl);
|
ext2fs.h | 572 char *block_buf, blk_t *ret); 699 char *block_buf, 708 char *block_buf, 720 char *block_buf, int bmap_flags, 724 char *block_buf, int bmap_flags, blk64_t block, 781 char *block_buf, 818 char *block_buf, 828 char *block_buf, 851 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);
|
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)) / 1177 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf) 1198 block_buf, -1, &count) [all...] |
e2fsck.h | 261 char *block_buf; member in struct:e2fsck_struct 372 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 | 1208 char *block_buf = 0; local 1212 retval = ext2fs_get_mem(fs->blocksize * 3, &block_buf); 1258 retval = ext2fs_block_iterate2(fs, ino, 0, block_buf, 1266 ext2fs_free_mem(&block_buf); [all...] |
/external/e2fsprogs/resize/ |
resize2fs.c | 1313 char *block_buf = 0; local 1713 char * block_buf; local [all...] |