Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/scsi/
Dscsi_debug.c5485 int heads_by_sects, start_sec, end_sec; in sdebug_build_parts() local
5497 heads_by_sects = sdebug_heads * sdebug_sectors_per; in sdebug_build_parts()
5501 starts[k] = ((k * sectors_per_part) / heads_by_sects) in sdebug_build_parts()
5502 * heads_by_sects; in sdebug_build_parts()
5517 pp->cyl = start_sec / heads_by_sects; in sdebug_build_parts()
5518 pp->head = (start_sec - (pp->cyl * heads_by_sects)) in sdebug_build_parts()
5522 pp->end_cyl = end_sec / heads_by_sects; in sdebug_build_parts()
5523 pp->end_head = (end_sec - (pp->end_cyl * heads_by_sects)) in sdebug_build_parts()