Home
last modified time | relevance | path

Searched refs:get_block_device_size (Results 1 – 15 of 15) sorted by relevance

/system/extras/tests/storage/
Dwipe_blkdev.c38 static u64 get_block_device_size(int fd) in get_block_device_size() function
120 len = get_block_device_size(fd); in main()
/system/gsid/tests/
Dboot_tests.cpp53 uint64_t size = get_block_device_size(fd); in TEST()
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h125 u64 get_block_device_size(int fd); // recovery
/system/extras/ext4_utils/
Dext4_utils.cpp206 u64 get_block_device_size(int fd) in get_block_device_size() function
257 computed_size = get_block_device_size(fd) - reserve_len; in get_file_size()
/system/core/fs_mgr/libsnapshot/
Dpower_test.cpp349 sectors = get_block_device_size(fd) / 512; in MapSnapshot()
497 uint64_t md_size = get_block_device_size(md_fd); in Check()
498 uint64_t image_size = get_block_device_size(image_fd); in Check()
Dsnapshot.cpp389 auto dev_size = get_block_device_size(fd); in MapSnapshot()
/system/core/fs_mgr/libfiemap/
Dimage_test.cpp107 ASSERT_EQ(get_block_device_size(fd), kTestImageSize); in TEST_F()
Dimage_manager.cpp236 remaining = get_block_device_size(device->fd()); in ZeroFillNewImage()
394 uint64_t file_size = get_block_device_size(fd); in MapWithLoopDeviceList()
/system/core/fastboot/device/
Dflashing.cpp157 uint64_t block_device_size = get_block_device_size(handle.fd()); in Flash()
Dvariables.cpp316 uint64_t size = get_block_device_size(handle.fd()); in GetPartitionSize()
Dcommands.cpp186 if (wipe_block_device(handle.fd(), get_block_device_size(handle.fd())) == 0) { in EraseHandler()
/system/core/fs_mgr/liblp/
Dutility.cpp55 *size = get_block_device_size(fd); in GetDescriptorSize()
/system/gsid/
Dpartition_installer.cpp348 uint64_t erase_size = std::min(kEraseSize, get_block_device_size(device->fd())); in WipeWritable()
Dgsi_service.cpp1008 int64_t total_size = get_block_device_size(fd); in GetAvbPublicKeyFromFd()
/system/core/fs_mgr/
Dfs_mgr.cpp1121 uint64_t size = get_block_device_size(fd) / 512; in UpdateCheckpointPartition()
1241 uint64_t sectors = get_block_device_size(fd) / 512; in WrapUserdata()