Lines Matching defs:volume
142 // Check if the new volume has anything trashed.
158 BVolume volume;
162 while (roster.GetNextVolume(&volume) == B_OK) {
163 if (FSGetTrashDir(&trashDir, volume.Device()) == B_OK) {
186 BVolume volume;
187 while (volRoster.GetNextVolume(&volume) == B_OK) {
188 if (volume.IsReadOnly() || !volume.IsPersistent())
192 if (FSGetTrashDir(&trashDir, volume.Device()) == B_OK) {
207 BVolume volume;
208 while (volRoster.GetNextVolume(&volume) == B_OK) {
209 if (volume.IsReadOnly() || !volume.IsPersistent())
213 FSGetTrashDir(&trashDir, volume.Device());