Lines Matching refs:label
186 int VolumeManager::formatVolume(const char *label) {
187 Volume *v = lookupVolume(label);
703 int VolumeManager::mountVolume(const char *label) {
704 Volume *v = lookupVolume(label);
728 int VolumeManager::shareEnabled(const char *label, const char *method, bool *enabled) {
729 Volume *v = lookupVolume(label);
767 int VolumeManager::shareVolume(const char *label, const char *method) {
768 Volume *v = lookupVolume(label);
826 int VolumeManager::unshareVolume(const char *label, const char *method) {
827 Volume *v = lookupVolume(label);
869 int VolumeManager::unmountVolume(const char *label, bool force) {
870 Volume *v = lookupVolume(label);
895 * Looks up a volume by it's label or mount-point
897 Volume *VolumeManager::lookupVolume(const char *label) {
901 if (label[0] == '/') {
902 if (!strcmp(label, (*i)->getMountpoint()))
905 if (!strcmp(label, (*i)->getLabel()))