Lines Matching refs:dm

106 using android::dm::DeviceMapper;
107 using android::dm::DmDeviceState;
108 using android::dm::DmTargetLinear;
109 using android::dm::LoopControl;
675 DeviceMapper& dm = DeviceMapper::Instance(); in SetReadAheadSize() local
694 auto parent = dm.GetParentBlockDeviceByPath(block_device); in SetReadAheadSize()
1106 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_update_logical_partition() local
1108 if (!dm.GetDmDevicePathByName(entry->blk_device, &device_name)) { in fs_mgr_update_logical_partition()
1170 DeviceMapper& dm = DeviceMapper::Instance(); in Revert() local
1171 if (!dm.DeleteDevice("bow")) { in Revert()
1206 android::dm::DmTable table; in UpdateCheckpointPartition()
1208 std::make_unique<android::dm::DmTargetBow>(0, size, entry->blk_device); in UpdateCheckpointPartition()
1232 DeviceMapper& dm = DeviceMapper::Instance(); in UpdateCheckpointPartition() local
1233 if (!dm.CreateDevice("bow", table)) { in UpdateCheckpointPartition()
1239 if (!dm.GetDmDevicePathByName("bow", &name)) { in UpdateCheckpointPartition()
1304 DeviceMapper& dm = DeviceMapper::Instance(); in WrapUserdata() local
1305 if (dm.GetState(kUserdataWrapperName) != DmDeviceState::INVALID) { in WrapUserdata()
1308 dm.GetDmDevicePathByName(kUserdataWrapperName, &entry->blk_device); in WrapUserdata()
1321 android::dm::DmTable table; in WrapUserdata()
1325 if (!dm.CreateDevice(kUserdataWrapperName, table, &dm_path, 20s)) { in WrapUserdata()
1724 DeviceMapper& dm = DeviceMapper::Instance(); in UnwindDmDeviceStack() local
1727 if (!dm.IsDmBlockDevice(current)) { in UnwindDmDeviceStack()
1730 auto parent = dm.GetParentBlockDeviceByPath(current); in UnwindDmDeviceStack()
1821 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_remount_userdata_into_checkpointing() local
1822 while (dm.IsDmBlockDevice(block_device)) { in fs_mgr_remount_userdata_into_checkpointing()
1823 auto next_device = dm.GetParentBlockDeviceByPath(block_device); in fs_mgr_remount_userdata_into_checkpointing()
1824 auto name = dm.GetDmDeviceNameByPath(block_device); in fs_mgr_remount_userdata_into_checkpointing()
1830 if (!dm.DeleteDevice(*name, 3s)) { in fs_mgr_remount_userdata_into_checkpointing()
2176 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_is_verity_enabled() local
2179 if (dm.GetState(mount_point) == DmDeviceState::INVALID) { in fs_mgr_is_verity_enabled()
2184 if (!dm.GetTableStatus(mount_point, &table) || table.empty() || table[0].data.empty()) { in fs_mgr_is_verity_enabled()
2200 DeviceMapper& dm = DeviceMapper::Instance(); in fs_mgr_get_hashtree_info() local
2204 if (dm.GetState(device) == DmDeviceState::INVALID || !dm.GetTableInfo(device, &table)) { in fs_mgr_get_hashtree_info()