Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:fs

22 errcode_t ext2fs_read_ind_block(ext2_filsys fs, blk_t blk, void *buf)
28 int limit = fs->blocksize >> 2;
31 if ((fs->flags & EXT2_FLAG_IMAGE_FILE) &&
32 (fs->io != fs->image_io))
33 memset(buf, 0, fs->blocksize);
35 retval = io_channel_read_blk(fs->io, blk, 1, buf);
47 errcode_t ext2fs_write_ind_block(ext2_filsys fs, blk_t blk, void *buf)
52 int limit = fs->blocksize >> 2;
55 if (fs->flags & EXT2_FLAG_IMAGE_FILE)
63 return io_channel_write_blk(fs->io, blk, 1, buf);