commit | 625dc787c629cd04e30328a9b1cf4a8e7d6210bc | [log] [tgz] |
---|---|---|
author | Oleksiy Avramchenko <oleksiy.avramchenko@sony.com> | Wed May 23 10:50:46 2018 +0200 |
committer | John Eckerdal <john.eckerdal@sony.com> | Mon Sep 24 14:25:24 2018 +0200 |
tree | 04c9c6fea77cf09ac6e441391a703787c1a63c85 | |
parent | 15b9656ae9acfbed4af62b8cecba30c35cd514a8 [diff] |
Add GetBlockDevSize, GetBlockDevSectors helpers Helpers to get a block device size in bytes or 512 byte sectors, using BLKGETSIZE64 and returning value of uint64_t type. This also removes get_blkdev_size(). Test: build, manual, mount exFAT volume Bug: 80202067 Change-Id: Ib07e8ac6ef7ff49de0ed570d1fa202e8b558b80c