Lines Matching refs:volume

174 	"destination volume to copy the selection.");
790 // write volume name
791 BVolume volume(model->NodeRef()->device);
792 result = volume.InitCheck();
793 if (result == B_OK && volume.IsReadOnly())
796 RenameVolumeUndo undo(volume, name);
797 result = volume.SetName(name);
802 BVolume volume(model->NodeRef()->device);
803 result = volume.InitCheck();
804 if (result == B_OK && volume.IsReadOnly())
1006 // ## note that we're assuming all items come from the same volume
1012 BVolume volume(srcVolumeDevice);
1019 bool sourceIsReadOnly = volume.IsReadOnly();
1020 volume.Unset();
1035 volume.SetTo(destVolumeDevice);
1042 volume.SetTo(srcVolumeDevice);
1048 volume.SetTo(srcVolumeDevice);
1085 &volume, destDirToCheck, &destRef, needPreflightNameCheck,
1108 volume.SetTo(srcRef->device);
1262 BVolume volume(node.device);
1265 if ((srcStat->st_size + kKBSize) >= volume.FreeBytes()) {
1320 // case-insensitive volume, when 2 files in the set differ only in case.
1892 // if move is on same volume don't copy
2061 // if it's a volume, try to unmount
2063 BVolume volume(nodeRef.device);
2067 if (volume == boot) {
2069 volume.GetName(name);
2071 B_TRANSLATE("Cannot unmount the boot volume \"%name\"."));
2080 message.AddInt32("device_id", volume.Device());
2086 // get trash directory on same volume as item being moved
2116 // get trash directory on same volume as item being moved
2620 // the target volume. The code below cannot be used, it is only
2622 // the source volume.
2628 // volume...
2629 BVolume volume(ref->device);
2630 if (volume.InitCheck() == B_OK)
2631 blockSize = volume.BlockSize();
2674 BVolume volume(dev);
2675 status_t result = volume.InitCheck();
2680 result = find_directory(B_TRASH_DIRECTORY, &path, false, &volume);
2796 BVolume volume;
2802 if (volume.SetTo(entry_stat.st_dev) != B_OK)
2805 if (find_directory(directoryType, &path, false, &volume) != B_OK)
2987 BVolume volume;
2988 while (volumeRoster.GetNextVolume(&volume) == B_OK) {
2989 if (volume.IsReadOnly() || !volume.IsPersistent())
2993 if (FSGetTrashDir(&trashDirectory, volume.Device()) != B_OK)
3002 status = CalcItemsAndSize(&loopControl, &srcList, volume.BlockSize(),
3017 while (volumeRoster.GetNextVolume(&volume) == B_OK) {
3018 if (volume.IsReadOnly() || !volume.IsPersistent())
3022 if (FSGetTrashDir(&trashDirectory, volume.Device()) != B_OK)
3201 BVolume volume;
3205 while (roster.GetNextVolume(&volume) == B_OK) {
3206 if (volume.IsReadOnly() || !volume.IsPersistent())
3210 FSGetTrashDir(&trashDir, volume.Device());
3703 BVolume volume(documentRef.device);
3704 if (volume.IsReadOnly()) {