Lines Matching refs:bd_hds
110 int bd_hds; member
404 bd->bd_hds = bc_sp.sp_head + 1; in bd_get_diskinfo_cd()
405 bd->bd_sectors = (uint64_t)bd->bd_cyl * bd->bd_hds * bd->bd_sec; in bd_get_diskinfo_cd()
423 bd->bd_hds = 1; in bd_get_diskinfo_cd()
533 bd->bd_hds = ((v86.edx & 0xff00) >> 8) + 1; in bd_get_diskinfo_std()
536 bd->bd_sectors = (uint64_t)bd->bd_cyl * bd->bd_hds * bd->bd_sec; in bd_get_diskinfo_std()
586 bd->bd_hds = params->heads; in bd_get_diskinfo_ext()
653 bd->bd_hds = 2; in bd_int13probe()
664 bd->bd_hds = 255; in bd_int13probe()
666 (bd->bd_sectors + bd->bd_sec * bd->bd_hds - 1) / in bd_int13probe()
667 bd->bd_sec * bd->bd_hds; in bd_int13probe()
684 if (bd->bd_hds == 0) in bd_int13probe()
685 bd->bd_hds = 255; in bd_int13probe()
688 bd->bd_sectors = (uint64_t)bd->bd_cyl * bd->bd_hds * bd->bd_sec; in bd_int13probe()
691 bd->bd_hds, bd->bd_sec); in bd_int13probe()
1176 bpc = bd->bd_sec * bd->bd_hds; /* blocks per cylinder */ in bd_chs_io()