Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:fs

35 static int process_block(ext2_filsys fs, blk_t	*block_nr,
53 if (++block >= fs->super->s_blocks_count)
54 block = fs->super->s_first_data_block;
62 retval = io_channel_read_blk(fs->io, orig, 1, pb->buf);
67 retval = io_channel_write_blk(fs->io, block, 1, pb->buf);
80 retval = ext2fs_add_dir_block(fs->dblist, pb->ino,
90 errcode_t ext2fs_move_blocks(ext2_filsys fs,
102 retval = ext2fs_open_inode_scan(fs, 0, &scan);
108 pb.alloc_map = alloc_map ? alloc_map : fs->block_map;
111 retval = ext2fs_get_array(4, fs->blocksize, &block_buf);
114 pb.buf = block_buf + fs->blocksize * 3;
122 if (fs->dblist) {
123 ext2fs_free_dblist(fs->dblist);
124 fs->dblist = NULL;
126 retval = ext2fs_init_dblist(fs, 0);
146 retval = ext2fs_block_iterate2(fs, ino, 0, block_buf,