Searched refs:logical_block_size (Results 1 – 15 of 15) sorted by relevance
/system/core/fs_mgr/liblp/include/liblp/ |
D | partition_opener.h | 29 BlockDeviceInfo() : size(0), alignment(0), alignment_offset(0), logical_block_size(0) {} in BlockDeviceInfo() 31 uint32_t alignment_offset, uint32_t logical_block_size) in BlockDeviceInfo() 35 logical_block_size(logical_block_size), in BlockDeviceInfo() 47 uint32_t logical_block_size; member
|
D | metadata_format.h | 143 uint32_t logical_block_size; member
|
D | builder.h | 350 uint64_t logical_block_size() const;
|
/system/core/fs_mgr/libsnapshot/ |
D | partition_cow_creator.cpp | 142 const uint64_t logical_block_size = current_metadata->logical_block_size(); in GetCowSize() local 143 const unsigned int sectors_per_block = logical_block_size / kSectorSize; in GetCowSize() 175 const uint64_t logical_block_size = current_metadata->logical_block_size(); in Run() local 176 CHECK(logical_block_size != 0 && !(logical_block_size & (logical_block_size - 1))) in Run() 221 cow_partition_size &= ~(logical_block_size - 1); in Run()
|
D | partition_cow_creator_test.cpp | 142 const uint64_t block_size = builder_b->logical_block_size(); in TEST_F()
|
/system/core/fs_mgr/liblp/ |
D | partition_opener.cpp | 87 int logical_block_size; in GetBlockDeviceInfo() local 88 if (ioctl(fd, BLKSSZGET, &logical_block_size) < 0) { in GetBlockDeviceInfo() 94 device_info->logical_block_size = static_cast<uint32_t>(logical_block_size); in GetBlockDeviceInfo()
|
D | builder.cpp | 329 if (device_info.logical_block_size == 0) { in VerifyDeviceProperties() 334 if (device_info.logical_block_size % LP_SECTOR_SIZE != 0) { in VerifyDeviceProperties() 339 if (device_info.size % device_info.logical_block_size != 0) { in VerifyDeviceProperties() 382 uint32_t logical_block_size = 0; in Init() local 388 if (!logical_block_size) { in Init() 389 logical_block_size = device_info.logical_block_size; in Init() 391 if (logical_block_size != device_info.logical_block_size) { in Init() 414 free_area_start = AlignTo(free_area_start, logical_block_size); in Init() 419 uint64_t minimum_size = out.first_logical_sector * LP_SECTOR_SIZE + logical_block_size; in Init() 454 free_area_start = AlignTo(free_area_start, logical_block_size); in Init() [all …]
|
D | device_test.cpp | 55 EXPECT_EQ(device_info.logical_block_size % LP_SECTOR_SIZE, 0); in TEST_F()
|
D | builder_test.cpp | 438 device_info.size += device_info.logical_block_size; in TEST_F() 464 EXPECT_EQ(new_info.logical_block_size, device_info.logical_block_size); in TEST_F() 485 new_info.logical_block_size = 512; in TEST_F() 488 EXPECT_EQ(new_info.logical_block_size, 4096); in TEST_F() 490 new_info.logical_block_size = 7; in TEST_F() 493 EXPECT_EQ(new_info.logical_block_size, 4096); in TEST_F()
|
D | writer.cpp | 47 g1.logical_block_size == g2.logical_block_size; in CompareGeometry()
|
/system/extras/partition_tools/ |
D | lpunpack.cc | 240 SparseWriter writer(output_fd, image_fd_, metadata_->geometry.logical_block_size); in ExtractPartition()
|
D | lpmake.cc | 305 block_device.logical_block_size = block_size; in main()
|
D | lpdump.cc | 172 block_device_proto->set_block_size(info.logical_block_size); in MergeMetadata()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 981 margin_size = 3 * info.logical_block_size; in CreateDynamicScratch()
|
/system/core/fastboot/ |
D | fastboot.cpp | 1689 auto block_size = metadata.geometry.logical_block_size; in wipe_super()
|