Lines Matching refs:fs
52 retval = ext2fs_init_dblist(ctx->fs, &edi->empty_dblist);
56 retval = ext2fs_allocate_block_bitmap(ctx->fs, _("empty dirblocks"),
61 retval = ext2fs_allocate_inode_bitmap(ctx->fs, _("empty dir map"),
119 int empty_pass1(ext2_filsys fs, blk_t *block_nr, e2_blkcnt_t blockcnt,
130 retval = ext2fs_bmap(fs, edi->ino, &edi->inode,
148 static int fix_directory(ext2_filsys fs,
160 retval = ext2fs_read_inode(fs, db->ino, &edi->inode);
164 retval = ext2fs_block_iterate2(fs, db->ino, 0, edi->block_buf,
170 edi->inode.i_size -= edi->freed_blocks * fs->blocksize;
171 ext2fs_iblk_add_blocks(fs, &edi->inode, edi->freed_blocks);
172 retval = ext2fs_write_inode(fs, db->ino, &edi->inode);
184 edi->block_buf = malloc(ctx->fs->blocksize * 3);