Lines Matching refs:label
249 int VolumeManager::formatVolume(const char *label) {
250 Volume *v = lookupVolume(label);
909 int VolumeManager::mountVolume(const char *label) {
910 Volume *v = lookupVolume(label);
976 int VolumeManager::shareEnabled(const char *label, const char *method, bool *enabled) {
977 Volume *v = lookupVolume(label);
1015 int VolumeManager::shareVolume(const char *label, const char *method) {
1016 Volume *v = lookupVolume(label);
1089 int VolumeManager::unshareVolume(const char *label, const char *method) {
1090 Volume *v = lookupVolume(label);
1135 int VolumeManager::unmountVolume(const char *label, bool force) {
1136 Volume *v = lookupVolume(label);
1161 * Looks up a volume by it's label or mount-point
1163 Volume *VolumeManager::lookupVolume(const char *label) {
1167 if (label[0] == '/') {
1168 if (!strcmp(label, (*i)->getMountpoint()))
1171 if (!strcmp(label, (*i)->getLabel()))