Lines Matching refs:param
429 struct diskparm *param = (struct diskparm *)geom; in aac_biosparm() local
441 param->heads = 255; in aac_biosparm()
442 param->sectors = 63; in aac_biosparm()
446 param->heads = 128; in aac_biosparm()
447 param->sectors = 32; in aac_biosparm()
452 param->heads = 64; in aac_biosparm()
453 param->sectors = 32; in aac_biosparm()
456 param->cylinders = disk->capacity/(param->heads * param->sectors); in aac_biosparm()
475 int saved_cylinders = param->cylinders; in aac_biosparm()
486 param->heads = 64; in aac_biosparm()
487 param->sectors = 32; in aac_biosparm()
492 param->heads = 128; in aac_biosparm()
493 param->sectors = 32; in aac_biosparm()
498 param->heads = 255; in aac_biosparm()
499 param->sectors = 63; in aac_biosparm()
511 param->cylinders = disk->capacity / (param->heads * param->sectors); in aac_biosparm()
513 if(num < 4 && end_sec == param->sectors) in aac_biosparm()
515 if(param->cylinders != saved_cylinders) in aac_biosparm()
517 param->heads, param->sectors, num)); in aac_biosparm()
524 param->heads, param->sectors)); in aac_biosparm()