Searched refs:heads_by_sects (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dscsi_debug.c3893 int heads_by_sects, start_sec, end_sec; sdebug_build_parts() local
3905 heads_by_sects = sdebug_heads * sdebug_sectors_per; sdebug_build_parts()
3908 starts[k] = ((k * sectors_per_part) / heads_by_sects) sdebug_build_parts()
3909 * heads_by_sects; sdebug_build_parts()
3921 pp->cyl = start_sec / heads_by_sects; sdebug_build_parts()
3922 pp->head = (start_sec - (pp->cyl * heads_by_sects)) sdebug_build_parts()
3926 pp->end_cyl = end_sec / heads_by_sects; sdebug_build_parts()
3927 pp->end_head = (end_sec - (pp->end_cyl * heads_by_sects)) sdebug_build_parts()

Completed in 90 milliseconds