Searched refs:vm (Results 1 - 8 of 8) sorted by relevance

/system/vold/
H A DNetlinkHandler.cpp46 VolumeManager *vm = VolumeManager::Instance(); local
55 vm->handleBlockEvent(evt);
H A Dmain.cpp37 static int process_config(VolumeManager *vm);
42 VolumeManager *vm; local
51 if (!(vm = VolumeManager::Instance())) {
63 vm->setBroadcaster((SocketListener *) cl);
66 if (vm->start()) {
71 if (process_config(vm)) {
161 static int process_config(VolumeManager *vm) { argument
209 dv = new DirectVolume(vm, label, mount_point, -1);
211 dv = new DirectVolume(vm, label, mount_point, atoi(part));
235 vm
[all...]
H A DCommandListener.cpp124 VolumeManager *vm = VolumeManager::Instance(); local
128 return vm->listVolumes(cli);
134 vm->setDebug(!strcmp(argv[2], "on") ? true : false);
140 rc = vm->mountVolume(argv[2]);
157 rc = vm->unmountVolume(argv[2], force, revert);
163 rc = vm->formatVolume(argv[2]);
170 rc = vm->shareVolume(argv[2], argv[3]);
177 rc = vm->unshareVolume(argv[2], argv[3]);
186 if (vm->shareEnabled(argv[2], argv[3], &enabled)) {
309 VolumeManager *vm local
439 VolumeManager *vm = VolumeManager::Instance(); local
[all...]
H A DDirectVolume.h45 DirectVolume(VolumeManager *vm, const char *label, const char *mount_point, int partIdx);
H A DVolume.h65 Volume(VolumeManager *vm, const char *label, const char *mount_point);
H A DVolumeManager.cpp1245 if ((fp = fopen("/proc/sys/vm/dirty_ratio", "r+"))) {
1254 SLOGE("Failed to open /proc/sys/vm/dirty_ratio (%s)", strerror(errno));
1295 if ((fp = fopen("/proc/sys/vm/dirty_ratio", "r+"))) {
1299 SLOGE("Failed to open /proc/sys/vm/dirty_ratio (%s)", strerror(errno));
1307 VolumeManager *vm = VolumeManager::Instance(); local
1308 vm->disableVolumeManager();
1309 vm->unshareVolume(label, "ums");
1310 return vm->unmountVolume(label, true, false);
1314 VolumeManager *vm = VolumeManager::Instance(); local
1315 return vm
1331 VolumeManager *vm = VolumeManager::Instance(); local
1380 VolumeManager *vm = VolumeManager::Instance(); local
[all...]
H A DDirectVolume.cpp36 DirectVolume::DirectVolume(VolumeManager *vm, const char *label, argument
38 Volume(vm, label, mount_point) {
H A DVolume.cpp115 Volume::Volume(VolumeManager *vm, const char *label, const char *mount_point) { argument
116 mVm = vm;

Completed in 55 milliseconds