Lines Matching refs:volume
89 PackageFSRoot::RegisterVolume(Volume* volume)
91 // Unless the volume is custom mounted, we stat the supposed root directory.
92 // Get the volume mount point relative path to the root directory depending
96 switch (volume->MountType()) {
110 status_t error = vfs_entry_ref_to_vnode(volume->MountPointDeviceID(),
111 volume->MountPointNodeID(), relativeRootPath, &vnode);
134 // add the volume
135 error = root->_AddVolume(volume);
154 // add the volume
155 error = root->_AddVolume(volume);
168 PackageFSRoot::UnregisterVolume(Volume* volume)
170 _RemoveVolume(volume);
208 PackageFSRoot::_AddVolume(Volume* volume)
212 volume->SetPackageFSRoot(this);
214 fVolumes.Add(volume);
217 if (fSystemVolume == NULL && volume->MountType()
219 fSystemVolume = volume;
227 PackageFSRoot::_RemoveVolume(Volume* volume)
231 if (volume == fSystemVolume)
234 fVolumes.Remove(volume);
236 volume->SetPackageFSRoot(NULL);