HomeSort by relevance Sort by last modified time
    Searched refs:current_fs (Results 1 - 21 of 21) sorted by null

  /external/e2fsprogs/debugfs/
unused.c 39 for (blk=current_fs->super->s_first_data_block;
40 blk < ext2fs_blocks_count(current_fs->super); blk++) {
41 if (ext2fs_test_block_bitmap2(current_fs->block_map,blk))
43 retval = io_channel_read_blk64(current_fs->io, blk, 1, buf);
48 for (i=0; i < current_fs->blocksize; i++)
51 if (i >= current_fs->blocksize)
55 for (i=0; i < current_fs->blocksize; i++)
zap.c 57 if (bit >= (int) current_fs->blocksize * 8) {
60 current_fs->blocksize);
80 if (offset >= (int) current_fs->blocksize) {
83 current_fs->blocksize);
108 length = current_fs->blocksize - offset;
109 if ((offset + length) > (int) current_fs->blocksize) {
131 errcode = ext2fs_bmap2(current_fs, inode, 0, 0, 0,
140 buf = malloc(current_fs->blocksize);
146 errcode = io_channel_read_blk64(current_fs->io, block, 1, buf);
158 errcode = io_channel_write_blk64(current_fs->io, block, 1, buf)
    [all...]
debugfs.c 52 ext2_filsys current_fs; variable
140 current_fs = NULL;
148 current_fs = NULL;
154 current_fs = NULL;
174 io_ptr, &current_fs);
179 current_fs = NULL;
182 current_fs->default_bitmap_type = EXT2FS_BMAP64_RBTREE;
187 retval = ext2fs_read_inode_bitmap(current_fs);
192 retval = ext2fs_read_block_bitmap(current_fs);
200 retval = ext2fs_set_data_io(current_fs, data_io)
    [all...]
icheck.c 82 block_buf = malloc(current_fs->blocksize * 3);
95 retval = ext2fs_open_inode_scan(current_fs, 0, &scan);
117 blk = ext2fs_file_acl_block(current_fs, &inode);
119 icheck_proc(current_fs, &blk, 0,
123 ext2fs_file_acl_block_set(current_fs, &inode, blk);
126 if (!ext2fs_inode_has_valid_blocks2(current_fs, &inode))
135 retval = ext2fs_block_iterate3(current_fs, ino,
util.c 126 retval = ext2fs_namei(current_fs, root, cwd, str, &ino);
140 if (!current_fs) {
153 if (current_fs) {
156 current_fs->device_name);
168 if (!(current_fs->flags & EXT2_FLAG_RW)) {
182 if (!current_fs->block_map || !current_fs->inode_map) {
423 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize);
436 retval = ext2fs_read_inode(current_fs, ino, inode);
451 retval = ext2fs_write_inode_full(current_fs, ino
    [all...]
quota.c 37 if (!ext2fs_has_feature_quota(current_fs->super)) {
45 retval = quota_init_context(&current_qctx, current_fs, QUOTA_ALL_BIT);
47 com_err(current_fs->device_name, retval,
79 if (current_fs->flags & EXT2_FLAG_RW)
filefrag.c 133 int blocksize = current_fs->blocksize;
146 blk64_t num_blocks = ext2fs_inode_i_blocks(current_fs, inode);
148 if (!ext2fs_has_feature_huge_file(current_fs->super) ||
150 num_blocks /= current_fs->blocksize / 512;
156 if (ext2fs_inode_has_valid_blocks2(current_fs, inode)) {
157 retval = ext2fs_block_iterate3(current_fs, ino,
244 retval = ext2fs_dir_iterate2(current_fs, ino, 0,
311 fs.physical_width = int_log10(ext2fs_blocks_count(current_fs->super));
lsdel.c 102 now = current_fs->now ? current_fs->now : time(0);
112 block_buf = malloc(current_fs->blocksize * 3);
118 retval = ext2fs_open_inode_scan(current_fs, 0, &scan);
144 if (ext2fs_inode_has_valid_blocks2(current_fs, &inode)) {
145 retval = ext2fs_block_iterate3(current_fs, ino,
xattrs.c 64 err = ext2fs_xattrs_open(current_fs, ino, &h);
147 err = ext2fs_xattrs_open(current_fs, ino, &h);
221 err = ext2fs_xattrs_open(current_fs, ino, &h);
230 err = ext2fs_get_mem(current_fs->blocksize, &buf);
233 buflen = fread(buf, 1, current_fs->blocksize, fp);
281 err = ext2fs_xattrs_open(current_fs, ino, &h);
set_fields.c 342 ext2_filsys current_fs; variable
642 retval = ext2fs_bmap2(current_fs, set_ino,
658 *checksum = ext2fs_group_desc_csum(current_fs, set_bg);
743 set_sb = *current_fs->super;
745 *current_fs->super = set_sb;
746 ext2fs_mark_super_dirty(current_fs);
806 if (current_fs &&
807 EXT2_DESC_SIZE(current_fs->super) >= EXT2_MIN_DESC_SIZE_64BIT) {
832 if (set_bg >= current_fs->group_desc_count) {
842 target = ext2fs_group_desc(current_fs, current_fs->group_desc, set_bg)
    [all...]
htree.c 60 errcode = ext2fs_read_dir_block4(current_fs, pblk, buf, 0, ino);
214 errcode = io_channel_read_blk64(current_fs->io, pblk, 1, buf);
261 buf = malloc(2*current_fs->blocksize);
267 errcode = ext2fs_bmap2(current_fs, ino, &inode, buf, 0, 0, 0, &blk);
274 errcode = io_channel_read_blk64(current_fs->io, blk,
292 htree_dump_int_node(current_fs, ino, &inode, rootnode, ent,
293 buf + current_fs->blocksize,
381 pb.buf = malloc(current_fs->blocksize);
389 ext2fs_block_iterate3(current_fs, inode, BLOCK_FLAG_READ_ONLY, 0,
413 errcode = io_channel_read_blk64(current_fs->io, *blocknr, 1, p->buf)
    [all...]
ncheck.c 57 retval = ext2fs_get_pathname(current_fs,
143 retval = ext2fs_open_inode_scan(current_fs, 0, &scan);
176 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
dump.c 108 unsigned int got, blocksize = current_fs->blocksize;
113 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file);
213 if (ext2fs_inode_data_blocks2(current_fs, inode) == 0)
218 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file);
292 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
logdump.c 144 if (current_fs)
145 es = current_fs->super;
161 inodes_per_block = (current_fs->blocksize
165 ext2fs_inode_table_loc(current_fs, inode_group) +
186 if (block_to_dump != ANY_BLOCK && current_fs != NULL) {
190 bitmap_to_dump = ext2fs_block_bitmap_loc(current_fs, group_to_dump);
227 retval = ext2fs_file_open2(current_fs, journal_inum,
657 super = current_fs->super;
do_journal.c 875 if (!ext2fs_has_feature_journal(current_fs->super)) {
887 if (current_fs->journal_name)
888 free(current_fs->journal_name);
889 current_fs->journal_name = strdup(optarg);
906 err = ext2fs_open_journal(current_fs, &current_journal);
936 ext2fs_close_journal(current_fs, &current_journal);
954 err = ext2fs_run_ext3_journal(&current_fs);
958 ext2fs_clear_feature_journal_needs_recovery(current_fs->super);
959 ext2fs_mark_super_dirty(current_fs);
debugfs.h 25 extern ext2_filsys current_fs;
ls.c 252 retval = ext2fs_dir_iterate2(current_fs, ino, flags,
e2freefrag.c 323 fs = current_fs;
extent_inode.c 90 retval = ext2fs_extent_open(current_fs, inode, &current_handle);
  /external/e2fsprogs/lib/ext2fs/
tst_libext2fs.c 67 ext2fs_block_iterate3(current_fs, ino, flags, NULL,
  /external/e2fsprogs/misc/
e2freefrag.c 323 fs = current_fs;

Completed in 679 milliseconds