/external/e2fsprogs/debugfs/ |
H A D | unused.c | 38 for (blk=current_fs->super->s_first_data_block; 39 blk < ext2fs_blocks_count(current_fs->super); blk++) { 40 if (ext2fs_test_block_bitmap2(current_fs->block_map,blk)) 42 retval = io_channel_read_blk64(current_fs->io, blk, 1, buf); 47 for (i=0; i < current_fs->blocksize; i++) 50 if (i >= current_fs->blocksize) 54 for (i=0; i < current_fs->blocksize; i++)
|
H A D | zap.c | 56 if (bit >= (int) current_fs->blocksize * 8) { 59 current_fs->blocksize); 79 if (offset >= (int) current_fs->blocksize) { 82 current_fs->blocksize); 107 length = current_fs->blocksize - offset; 108 if ((offset + length) > (int) current_fs->blocksize) { 130 errcode = ext2fs_bmap2(current_fs, inode, 0, 0, 0, 139 buf = malloc(current_fs->blocksize); 145 errcode = io_channel_read_blk64(current_fs->io, block, 1, buf); 157 errcode = io_channel_write_blk64(current_fs [all...] |
H A D | debugfs.c | 57 ext2_filsys current_fs = NULL; variable 69 current_fs = NULL; 77 current_fs = NULL; 83 current_fs = NULL; 97 unix_io_manager, ¤t_fs); 100 current_fs = NULL; 103 current_fs->default_bitmap_type = EXT2FS_BMAP64_RBTREE; 108 retval = ext2fs_read_inode_bitmap(current_fs); 113 retval = ext2fs_read_block_bitmap(current_fs); 121 retval = ext2fs_set_data_io(current_fs, data_i [all...] |
H A D | util.c | 125 retval = ext2fs_namei(current_fs, root, cwd, str, &ino); 139 if (!current_fs) { 152 if (current_fs) { 155 current_fs->device_name); 167 if (!(current_fs->flags & EXT2_FLAG_RW)) { 181 if (!current_fs->block_map || !current_fs->inode_map) { 391 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize); 404 retval = ext2fs_read_inode(current_fs, ino, inode); 419 retval = ext2fs_write_inode_full(current_fs, in [all...] |
H A D | icheck.c | 81 block_buf = malloc(current_fs->blocksize * 3); 94 retval = ext2fs_open_inode_scan(current_fs, 0, &scan); 116 blk = ext2fs_file_acl_block(current_fs, &inode); 118 icheck_proc(current_fs, &blk, 0, 122 ext2fs_file_acl_block_set(current_fs, &inode, blk); 125 if (!ext2fs_inode_has_valid_blocks2(current_fs, &inode)) 134 retval = ext2fs_block_iterate3(current_fs, ino,
|
H A D | lsdel.c | 101 now = current_fs->now ? current_fs->now : time(0); 111 block_buf = malloc(current_fs->blocksize * 3); 117 retval = ext2fs_open_inode_scan(current_fs, 0, &scan); 143 retval = ext2fs_block_iterate3(current_fs, ino,
|
H A D | htree.c | 55 errcode = ext2fs_read_dir_block2(current_fs, pblk, buf, 0); 179 errcode = io_channel_read_blk64(current_fs->io, pblk, 1, buf); 226 buf = malloc(2*current_fs->blocksize); 232 errcode = ext2fs_bmap2(current_fs, ino, &inode, buf, 0, 0, 0, &blk); 239 errcode = io_channel_read_blk64(current_fs->io, blk, 257 htree_dump_int_node(current_fs, ino, &inode, rootnode, ent, 258 buf + current_fs->blocksize, 346 pb.buf = malloc(current_fs->blocksize); 354 ext2fs_block_iterate3(current_fs, inode, BLOCK_FLAG_READ_ONLY, 0, 378 errcode = io_channel_read_blk64(current_fs [all...] |
H A D | set_fields.c | 542 retval = ext2fs_bmap2(current_fs, set_ino, 556 ext2fs_group_desc_csum_set(current_fs, set_bg); 557 memcpy(&set_gd, ext2fs_group_desc(current_fs, 558 current_fs->group_desc, 562 ext2fs_bg_checksum(current_fs, set_bg)); 647 set_sb = *current_fs->super; 649 *current_fs->super = set_sb; 650 ext2fs_mark_super_dirty(current_fs); 710 if (current_fs && 711 EXT2_DESC_SIZE(current_fs [all...] |
H A D | filefrag.c | 132 int blocksize = current_fs->blocksize; 145 blk64_t num_blocks = ext2fs_inode_i_blocks(current_fs, inode); 147 if (!(current_fs->super->s_feature_ro_compat & 150 num_blocks /= current_fs->blocksize / 512; 156 retval = ext2fs_block_iterate3(current_fs, ino, 242 retval = ext2fs_dir_iterate2(current_fs, ino, 0, 309 fs.physical_width = int_log10(ext2fs_blocks_count(current_fs->super));
|
H A D | ncheck.c | 56 retval = ext2fs_get_pathname(current_fs, 140 retval = ext2fs_open_inode_scan(current_fs, 0, &scan); 173 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
|
H A D | logdump.c | 139 if (current_fs) 140 es = current_fs->super; 156 inodes_per_block = (current_fs->blocksize 160 ext2fs_inode_table_loc(current_fs, inode_group) + 181 if (block_to_dump != ANY_BLOCK && current_fs != NULL) { 185 bitmap_to_dump = ext2fs_block_bitmap_loc(current_fs, group_to_dump); 222 retval = ext2fs_file_open2(current_fs, journal_inum, 622 super = current_fs->super;
|
H A D | dump.c | 110 unsigned int got, blocksize = current_fs->blocksize; 115 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file); 220 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file); 294 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
|
H A D | ls.c | 172 retval = ext2fs_dir_iterate2(current_fs, inode, flags,
|
H A D | debugfs.h | 23 extern ext2_filsys current_fs;
|
H A D | extent_inode.c | 89 retval = ext2fs_extent_open(current_fs, inode, ¤t_handle);
|
/external/e2fsprogs/misc/ |
H A D | e2freefrag.c | 321 fs = current_fs;
|