Searched refs:dev_size (Results 1 – 2 of 2) sorted by relevance
358 uint64_t dev_size; in BlockDevSize() local359 int rc = ioctl(fd, BLKGETSIZE64, &dev_size); in BlockDevSize()361 dev_size = -1; in BlockDevSize()364 return dev_size; in BlockDevSize()
389 auto dev_size = get_block_device_size(fd); in MapSnapshot() local390 if (!dev_size) { in MapSnapshot()394 if (status.device_size() != dev_size) { in MapSnapshot()396 << "(expected " << status.device_size() << ", got " << dev_size << ")"; in MapSnapshot()