Lines Matching refs:bd_hds
112 int bd_hds; member
397 bd->bd_hds = bc_sp.sp_head + 1; in bd_get_diskinfo_cd()
398 bd->bd_sectors = (uint64_t)bd->bd_cyl * bd->bd_hds * bd->bd_sec; in bd_get_diskinfo_cd()
416 bd->bd_hds = 1; in bd_get_diskinfo_cd()
526 bd->bd_hds = ((v86.edx & 0xff00) >> 8) + 1; in bd_get_diskinfo_std()
529 bd->bd_sectors = (uint64_t)bd->bd_cyl * bd->bd_hds * bd->bd_sec; in bd_get_diskinfo_std()
578 bd->bd_hds = params->heads; in bd_get_diskinfo_ext()
645 bd->bd_hds = 2; in bd_int13probe()
656 bd->bd_hds = 255; in bd_int13probe()
658 (bd->bd_sectors + bd->bd_sec * bd->bd_hds - 1) / in bd_int13probe()
659 bd->bd_sec * bd->bd_hds; in bd_int13probe()
676 if (bd->bd_hds == 0) in bd_int13probe()
677 bd->bd_hds = 255; in bd_int13probe()
680 bd->bd_sectors = (uint64_t)bd->bd_cyl * bd->bd_hds * bd->bd_sec; in bd_int13probe()
683 bd->bd_hds, bd->bd_sec); in bd_int13probe()
1157 bpc = bd->bd_sec * bd->bd_hds; /* blocks per cylinder */ in bd_chs_io()