Home | History | Annotate | Download | only in sysinst

Lines Matching defs:bsec

205 	fprintf(stderr, "\n%s: bsec %d\n", label, bsec);
356 int bsec, bhead, bcyl;
367 bsec = atoi(res);
368 } while (bsec <= 0 || bsec > MAXSECTOR);
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);
386 *sec = bsec;
669 write_mbr(const char *disk, size_t secsize, mbr_info_t *mbri, int bsec,
772 if (bsec && bcyl && bhead) {
773 convert_mbr_chs(bcyl, bhead, bsec,
776 convert_mbr_chs(bcyl, bhead, bsec,
1034 unsigned long bsec, bhead, bcyl;
1039 bsec = parts->geo_sec;
1040 bhead = parts->ext_ptn_alignment / bsec;
1042 bsec = MAXSECTOR;
1045 t = bsec * bhead;
1053 &parts->mbr, bsec, bhead, bcyl) == 0;