| 215 | #define SECTOR_SIZE 512 |
| 216 | |
| 217 | typedef struct BlockDeviceFile { |
| 218 | FILE *f; |
| 219 | int64_t nb_sectors; |
| 220 | BlockDeviceModeEnum mode; |
| 221 | uint8_t **sector_table; |
| 222 | } BlockDeviceFile; |
| 223 | |
| 224 | static int64_t bf_get_sector_count(BlockDevice *bs) |
| 225 | { |
nothing calls this directly
no outgoing calls
no test coverage detected