Searched refs:heads_by_sects (Results 1 – 1 of 1) sorted by relevance
5404 int heads_by_sects, start_sec, end_sec; in sdebug_build_parts() local5416 heads_by_sects = sdebug_heads * sdebug_sectors_per; in sdebug_build_parts()5420 starts[k] = ((k * sectors_per_part) / heads_by_sects) in sdebug_build_parts()5421 * heads_by_sects; in sdebug_build_parts()5436 pp->cyl = start_sec / heads_by_sects; in sdebug_build_parts()5437 pp->head = (start_sec - (pp->cyl * heads_by_sects)) in sdebug_build_parts()5441 pp->end_cyl = end_sec / heads_by_sects; in sdebug_build_parts()5442 pp->end_head = (end_sec - (pp->end_cyl * heads_by_sects)) in sdebug_build_parts()