Searched refs:device_size (Results 1 – 6 of 6) sorted by relevance
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 256 uint64_t device_size, const struct verity_table_params* params, in load_verity_table() argument 267 android::dm::DmTargetVerityString target(0, device_size / 512, buffer); in load_verity_table()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 340 if (status->device_size() % kSectorSize != 0) { in CreateSnapshot() 343 << status->device_size(); in CreateSnapshot() 470 if (status.device_size() != dev_size) { in MapSnapshot() 472 << "(expected " << status.device_size() << ", got " << dev_size << ")"; in MapSnapshot() 476 if (status.device_size() % kSectorSize != 0) { in MapSnapshot() 477 LOG(ERROR) << "invalid blockdev size for " << base_device << ": " << status.device_size(); in MapSnapshot() 481 status.snapshot_size() > status.device_size()) { in MapSnapshot() 485 if (status.device_size() != status.snapshot_size()) { in MapSnapshot() 487 << status.device_size() << ", snapshot size = " << status.snapshot_size(); in MapSnapshot() 2925 << ", device size = " << cow_creator_ret->snapshot_status.device_size() in CreateUpdateSnapshotsInternal() [all …]
|
D | partition_cow_creator_test.cpp | 77 ASSERT_EQ(partition_size, ret->snapshot_status.device_size()); in TEST_F() 227 ASSERT_EQ(0u, ret->snapshot_status.device_size()); in TEST_F()
|
D | snapshot_test.cpp | 323 AssertionResult PrepareOneSnapshot(uint64_t device_size, in PrepareOneSnapshot() argument 335 group->set_size(device_size * 2); in PrepareOneSnapshot() 340 pu->set_estimate_cow_size(device_size); in PrepareOneSnapshot() 341 SetSize(pu, device_size); in PrepareOneSnapshot() 345 if (device_size) { in PrepareOneSnapshot() 346 extent->set_num_blocks(device_size / manifest.block_size()); in PrepareOneSnapshot() 356 if (!CreatePartition(builder.get(), "test_partition_a", device_size, nullptr, "group_a")) { in PrepareOneSnapshot() 454 ASSERT_EQ(status.device_size(), kDeviceSize); in TEST_F()
|
/system/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot.proto | 58 uint64 device_size = 3; field 62 // This must be less than or equal to |device_size|.
|
/system/apex/apexd/ |
D | apexd.cpp | 381 uint64_t device_size) { in ReadVerityDevice() argument 392 size_t bytes_left = device_size; in ReadVerityDevice()
|