Searched refs:volumeToSet (Results 1 – 1 of 1) sorted by relevance
226 Volume** volumeToSet = _GetVolume(volume->MountType()); in RegisterVolume() local227 if (volumeToSet == NULL) in RegisterVolume()230 if (*volumeToSet != NULL) { in RegisterVolume()233 volume->Path().String(), (*volumeToSet)->Path().String()); in RegisterVolume()237 *volumeToSet = volume; in RegisterVolume()245 *volumeToSet = NULL; in RegisterVolume()258 Volume** volumeToSet = _GetVolume(volume->MountType()); in UnregisterVolume() local259 if (volumeToSet == NULL || *volumeToSet != volume) { in UnregisterVolume()265 *volumeToSet = NULL; in UnregisterVolume()