Searched refs:dev_size (Results 1 – 2 of 2) sorted by relevance
362 uint64_t dev_size; in BlockDevSize() local363 int rc = ioctl(fd, BLKGETSIZE64, &dev_size); in BlockDevSize()365 dev_size = -1; in BlockDevSize()368 return dev_size; in BlockDevSize()
465 auto dev_size = get_block_device_size(fd); in MapSnapshot() local466 if (!dev_size) { in MapSnapshot()470 if (status.device_size() != dev_size) { in MapSnapshot()472 << "(expected " << status.device_size() << ", got " << dev_size << ")"; in MapSnapshot()