| 65 | } |
| 66 | |
| 67 | unsigned int offset2sector(const disk_t *disk_car, const uint64_t offset) |
| 68 | { |
| 69 | return ((offset / disk_car->sector_size) % disk_car->geom.sectors_per_head) + 1; |
| 70 | } |
| 71 | |
| 72 | unsigned int offset2head(const disk_t *disk_car, const uint64_t offset) |
| 73 | { |
no outgoing calls