Lines Matching refs:volume
59 open_maybe_packaged(BootVolume& volume, const char* path, int openMode)
64 return open_from(volume.SystemDirectory(), path, openMode);
67 return open_from(volume.RootDirectory(), path, openMode);
72 find_kernel(BootVolume& volume, const char** name = NULL)
75 int fd = open_maybe_packaged(volume, sKernelPaths[i][0], O_RDONLY);
89 is_bootable(Directory *volume)
91 if (volume->IsEmpty())
95 if (bootVolume.SetTo(volume) != B_OK)
110 load_kernel(stage2_args* args, BootVolume& volume)
113 int fd = find_kernel(volume, &name);
145 load_modules_from(BootVolume& volume, const char* path)
149 int fd = open_maybe_packaged(volume, path, O_RDONLY);
177 load_modules(stage2_args* args, BootVolume& volume)
188 if (load_modules_from(volume, path) != B_OK)
201 load_modules_from(volume, path);
208 load_modules_from(volume, path);
210 load_modules_from(volume, path);