Home
last modified time | relevance | path

Searched refs:vm (Results 1 – 11 of 11) sorted by relevance

/system/vold/
DCommandListener.cpp150 VolumeManager *vm = VolumeManager::Instance(); in runCommand() local
151 std::lock_guard<std::mutex> lock(vm->getLock()); in runCommand()
157 return sendGenericOkFail(cli, vm->reset()); in runCommand()
160 return sendGenericOkFail(cli, vm->shutdown()); in runCommand()
163 return sendGenericOkFail(cli, vm->setDebug(true)); in runCommand()
168 auto disk = vm->findDisk(id); in runCommand()
190 return sendGenericOkFail(cli, vm->mkdirs(argv[2])); in runCommand()
194 return sendGenericOkFail(cli, vm->onUserAdded(atoi(argv[2]), atoi(argv[3]))); in runCommand()
198 return sendGenericOkFail(cli, vm->onUserRemoved(atoi(argv[2]))); in runCommand()
202 return sendGenericOkFail(cli, vm->onUserStarted(atoi(argv[2]))); in runCommand()
[all …]
Dmain.cpp42 static int process_config(VolumeManager *vm);
63 VolumeManager *vm; in main() local
85 if (!(vm = VolumeManager::Instance())) { in main()
96 vm->setDebug(true); in main()
101 vm->setBroadcaster((SocketListener *) cl); in main()
104 if (vm->start()) { in main()
109 if (process_config(vm)) { in main()
210 static int process_config(VolumeManager *vm) { in process_config() argument
240 vm->addDiskSource(std::shared_ptr<VolumeManager::DiskSource>( in process_config()
DNetlinkHandler.cpp46 VolumeManager *vm = VolumeManager::Instance(); in onEvent() local
55 vm->handleBlockEvent(evt); in onEvent()
DTrimTask.cpp53 VolumeManager* vm = VolumeManager::Instance(); in TrimTask() local
55 vm->listVolumes(VolumeBase::Type::kPrivate, privateIds); in TrimTask()
57 auto vol = vm->findVolume(id); in TrimTask()
DVolumeManager.cpp1852 VolumeManager *vm = VolumeManager::Instance(); in vold_unmountAll() local
1853 return vm->unmountAll(); in vold_unmountAll()
/system/sepolicy/
Dgenfs_contexts24 genfscon proc /sys/vm/mmap_min_addr u:object_r:proc_security:s0
25 genfscon proc /sys/vm/drop_caches u:object_r:proc_drop_caches:s0
Dinstall_recovery.te30 # Write to /proc/sys/vm/drop_caches
Drecovery.te44 # Write to /proc/sys/vm/drop_caches
Dvold.te160 # Write to /proc/sys/vm/drop_caches
Dfile.te9 # Type for /proc/sys/vm/drop_caches
/system/core/rootdir/
Dinit.rc115 write /proc/sys/vm/mmap_min_addr 32768
475 write /proc/sys/vm/overcommit_memory 1
476 write /proc/sys/vm/min_free_order_shift 4
483 write /proc/sys/vm/dirty_expire_centisecs 200
484 write /proc/sys/vm/dirty_background_ratio 5
600 write /proc/sys/vm/extra_free_kbytes ${sys.sysctl.extra_free_kbytes}