| 83 | /* Optimization end */ |
| 84 | |
| 85 | static unsigned int get_location_boundary(const disk_t *disk) |
| 86 | { |
| 87 | if(disk->arch==&arch_mac) |
| 88 | return 4096; |
| 89 | else if(disk->arch==&arch_sun) |
| 90 | return disk->geom.heads_per_cylinder * disk->geom.sectors_per_head * disk->sector_size; |
| 91 | return disk->sector_size; |
| 92 | } |
| 93 | |
| 94 | static unsigned int align_structure_aux(const uint64_t offset, const disk_t *disk) |
| 95 | { |
no outgoing calls
no test coverage detected