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