Home
last modified time | relevance | path

Searched refs:dev_size (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/common/
Dutils.cc358 uint64_t dev_size; in BlockDevSize() local
359 int rc = ioctl(fd, BLKGETSIZE64, &dev_size); in BlockDevSize()
361 dev_size = -1; in BlockDevSize()
364 return dev_size; in BlockDevSize()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp389 auto dev_size = get_block_device_size(fd); in MapSnapshot() local
390 if (!dev_size) { in MapSnapshot()
394 if (status.device_size() != dev_size) { in MapSnapshot()
396 << "(expected " << status.device_size() << ", got " << dev_size << ")"; in MapSnapshot()