Home | History | Annotate | Download | only in fatblock

Lines Matching refs:fs

29 #include "fs.h"
95 static int import_file(struct fs *fs, char *path, struct imported *out)
131 ret = fs_alloc_extent(fs, &f->extent,
193 static int import_dir(struct fs *fs, char *path, int is_root,
267 import_file(fs, ch_path, &item->imp);
271 import_dir(fs, ch_path, 0, &item->imp);
295 ret = fs_alloc_extent(fs, &d->extent, d->size, EXTENT_TYPE_DIR, &out->first_cluster);
352 int import_tree(struct fs *fs, char *path)
357 ret = import_dir(fs, path, 0, &imp);
361 fs_set_rootdir_start(fs, imp.first_cluster);
362 fs_update_free_clusters(fs);