/src/sbin/newfs_msdos/ |
mkfs_msdos.c | 130 u_int8_t bsec[4]; /* big total sectors */ member in struct:bsbpb 174 u_int bsec; /* big total sectors */ member in struct:bpb 319 bpb.bsec = bpb.sec; 331 bpb.bsec = o.size; 339 bpb.bsec -= (o.offset / bpb.bps); 356 x1 = howmany(bpb.bsec, (1048576 / 512)); /* -> MB */ 485 if (bpb.bsec < (bpb.res ? bpb.res : bss) + 494 else if (bpb.rde || bpb.bsec < 544 (u_int64_t)(maxcls(o.fat_type) + 1) * bpb.spc <= bpb.bsec; 552 if (x1 + (u_int64_t)x * bpb.nft > bpb.bsec) { [all...] |
/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) 787 *bsec = sec; 789 set_bios_geom(parts, bcyl, bhead, bsec); 793 *bsec = biosdisk->bi_sec;
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
stm32mp151.dtsi | 1566 bsec: efuse@5c005000 { label 1567 compatible = "st,stm32mp15-bsec";
|
/src/usr.sbin/sysinst/ |
mbr.c | 205 fprintf(stderr, "\n%s: bsec %d\n", label, bsec); 356 int bsec, bhead, bcyl; local in function:set_bios_geom 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; 1034 unsigned long bsec, bhead, bcyl; local in function:mbr_write_to_disk [all...] |