Lines Matching refs:volume

195 	: fLock("volume manager"),
268 Volume* volume = it.Next().value;
269 delete volume;
313 // create the volume map
320 // create the client volume map
341 // get the root volume
458 Volume* volume = fVolumes->Get(volumeID);
459 if (!volume && add)
460 _AddVolume(volumeID, &volume);
462 return volume;
503 // remove the node from the volume
515 if (Volume* volume = GetVolume(volumeID))
516 return volume->GetNode(nodeID);
528 // get the volume
529 Volume* volume = GetVolume(st.st_dev, true);
530 if (!volume)
535 node = new(std::nothrow) Directory(volume, st);
537 node = new(std::nothrow) Node(volume, st);
640 // add the entry to the volume
662 // remove the entry from the volume
702 if (Volume* volume = GetVolume(volumeID))
703 return volume->GetEntry(directoryID, name);
725 // get the volume
726 Volume* volume = GetVolume(volumeID, true);
727 if (!volume)
765 entry = new(std::nothrow) Entry(volume, directory, name, node);
822 Volume* volume = it.Next().value;
823 if (!volume->KnowsQuery())
826 // The volume should either be contained by the client volume or
829 if (!queryDomain->QueryDomainIntersectsWith(volume))
831 PRINT("VolumeManager::OpenQuery(): adding Query for volume "
832 "%" B_PRIdDEV "\n", volume->GetID());
834 // create the query for this volume
835 BVolume bVolume(volume->GetID());
1027 // create the volume
1028 Volume* volume = new(std::nothrow) Volume(volumeID);
1029 if (!volume)
1031 ObjectDeleter<Volume> volumeDeleter(volume);
1032 status_t error = volume->Init();
1037 error = fVolumes->Put(volumeID, volume);
1042 error = AddNode(volume->GetRootDirectory());
1049 CompletePathToRoot(volume->GetRootDirectory());
1053 *_volume = volume;
1181 // We send a notification, if the client volume contains the entry,
1182 // but also, if the removed entry refers to the client volume's
1260 // volume.
1439 // add the volume
1451 // get the volume
1452 Volume* volume = GetVolume(event->volumeID);
1453 if (!volume)
1461 if (Directory* rootDir = volume->GetRootDirectory()) {
1488 // remove all entries of the volume
1489 while (Entry* entry = volume->GetFirstEntry()) {
1503 while (Node* node = volume->GetFirstNode()) {
1505 if (node != volume->GetRootDirectory())
1509 // remove the volume
1510 fVolumes->Remove(volume->GetID());
1511 delete volume;
1544 // send a notification to the client volume
1573 // send a notification to the client volume
1698 // If a volume root is moved, the sent node monitoring message does
1700 // volume root -- a BeOS R5 VFS bug. Since we have the entry_ref of the
1703 // check whether the node is the root of a volume
1712 if (Volume* volume = GetVolume(st.st_dev)) {
1713 if (volume->GetRootID() == st.st_ino) {
1714 PRINT("Mount point for volume %" B_PRIdDEV " renamed\n",
1715 volume->GetID());