/src/usr.sbin/sysinst/arch/i386/ |
md.c | 110 int bcyl = 0, bhead = 0, bsec = 0, res; local in function:md_get_info 135 if (get_bios_info(pm->diskdev, pm->parts, &bcyl, &bhead, &bsec) 138 bcyl, bhead, bsec); 711 int *bhead, int *bsec) 786 *bhead = head; 789 set_bios_geom(parts, bcyl, bhead, bsec); 792 *bhead = biosdisk->bi_head;
|
/src/usr.sbin/sysinst/ |
mbr.c | 356 int bsec, bhead, bcyl; local in function:set_bios_geom 373 bhead = atoi(res); 374 } while (bhead <= 0 || bhead > MAXHEAD); 376 bcyl = s / bsec / bhead; 377 if (s != bcyl * bsec * bhead) 381 pm->max_chs = (unsigned long)bcyl * bhead * bsec; 382 pm->current_cylsize = bhead * bsec; 383 parts->pscheme->change_disk_geom(parts, bcyl, bhead, bsec); 385 *head = bhead; 1034 unsigned long bsec, bhead, bcyl; local in function:mbr_write_to_disk [all...] |