Searched refs:get_block_device_size (Results 1 – 15 of 15) sorted by relevance
38 static u64 get_block_device_size(int fd) in get_block_device_size() function120 len = get_block_device_size(fd); in main()
53 uint64_t size = get_block_device_size(fd); in TEST()
125 u64 get_block_device_size(int fd); // recovery
206 u64 get_block_device_size(int fd) in get_block_device_size() function257 computed_size = get_block_device_size(fd) - reserve_len; in get_file_size()
349 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()
389 auto dev_size = get_block_device_size(fd); in MapSnapshot()
107 ASSERT_EQ(get_block_device_size(fd), kTestImageSize); in TEST_F()
236 remaining = get_block_device_size(device->fd()); in ZeroFillNewImage()394 uint64_t file_size = get_block_device_size(fd); in MapWithLoopDeviceList()
157 uint64_t block_device_size = get_block_device_size(handle.fd()); in Flash()
316 uint64_t size = get_block_device_size(handle.fd()); in GetPartitionSize()
186 if (wipe_block_device(handle.fd(), get_block_device_size(handle.fd())) == 0) { in EraseHandler()
55 *size = get_block_device_size(fd); in GetDescriptorSize()
348 uint64_t erase_size = std::min(kEraseSize, get_block_device_size(device->fd())); in WipeWritable()
1008 int64_t total_size = get_block_device_size(fd); in GetAvbPublicKeyFromFd()
1121 uint64_t size = get_block_device_size(fd) / 512; in UpdateCheckpointPartition()1241 uint64_t sectors = get_block_device_size(fd) / 512; in WrapUserdata()