Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dscsi_debug.c5492 int heads_by_sects, start_sec, end_sec; in sdebug_build_parts() local
5504 heads_by_sects = sdebug_heads * sdebug_sectors_per; in sdebug_build_parts()
5508 starts[k] = ((k * sectors_per_part) / heads_by_sects) in sdebug_build_parts()
5509 * heads_by_sects; in sdebug_build_parts()
5524 pp->cyl = start_sec / heads_by_sects; in sdebug_build_parts()
5525 pp->head = (start_sec - (pp->cyl * heads_by_sects)) in sdebug_build_parts()
5529 pp->end_cyl = end_sec / heads_by_sects; in sdebug_build_parts()
5530 pp->end_head = (end_sec - (pp->end_cyl * heads_by_sects)) in sdebug_build_parts()