Lines Matching refs:out
95 static int import_file(struct fs *fs, char *path, struct imported *out)
111 "out of memory\n", path);
118 WARN("importing %s: couldn't strdup path: out of memory\n",
132 f->size, EXTENT_TYPE_FILE, &out->first_cluster);
138 out->size = f->size;
139 out->dot_dot_dirent = NULL;
194 struct imported *out)
225 "out of memory\n", path);
232 WARN("importing %s: couldn't strdup path: out of memory\n",
256 "out of memory\n", path);
295 ret = fs_alloc_extent(fs, &d->extent, d->size, EXTENT_TYPE_DIR, &out->first_cluster);
298 "out of space\n", path);
303 out->first_cluster = 0;
305 my_first_cluster = is_root ? 0 : out->first_cluster;
331 out->dot_dot_dirent = &d->entries[0]; /* will set first_cluster */
337 out->dot_dot_dirent = NULL;
340 out->size = 0;