Home | History | Annotate | Download | only in fatblock

Lines Matching refs:fs

25 #include "fs.h"
134 static int extent_read(struct fs *fs, struct extent *e, char *buf,
137 assert(fs);
143 return buffer_read((char*)&fs->boot, sizeof(fs->boot), buf,
146 return buffer_read((char*)&fs->info, sizeof(fs->info), buf,
149 return buffer_read((char*)fs->fat, fs->fat_size, buf,
161 int fs_read(struct fs *fs, char *buf, offset_t start, offset_t len)
169 while ((e = fs_find_extent(fs, start, len, e,
171 ret = extent_read(fs, e, buf + r_start, e_start, rel_len);