Searched refs:get_block_device_size (Results 1 – 10 of 10) 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()
43 uint64_t size = get_block_device_size(fd); in TEST()
204 u64 get_block_device_size(int fd) in get_block_device_size() function255 computed_size = get_block_device_size(fd) - reserve_len; in get_file_size()
131 u64 get_block_device_size(int fd); // recovery
49 *size = get_block_device_size(fd); in GetDescriptorSize()
130 } else if (data.size() > get_block_device_size(handle.fd())) { in Flash()
301 uint64_t size = get_block_device_size(handle.fd()); in GetPartitionSize()
146 if (wipe_block_device(handle.fd(), get_block_device_size(handle.fd())) == 0) { in EraseHandler()
744 uint64_t Size() override { return get_block_device_size(fd_); } in Size()
992 uint64_t size = get_block_device_size(fd) / 512; in UpdateCheckpointPartition()