HomeSort by: relevance | last modified time | path
    Searched defs:bpb (Results 1 - 4 of 4) sorted by relevancy

  /src/usr.sbin/installboot/arch/
i386.c 405 * preserve the BIOS Parameter Block (BPB).
411 * Unfortunately newfs(8) doesn't (yet) splat the BPB (which is
414 * Specifying 'installboot -f' will delete the old BPB info.
420 * followed by the BIOS Parameter Block (BPB).
421 * The 2nd byte (jump offset) is the size of the nop + BPB.
424 warnx("No BPB in new bootstrap %02x:%02x:%02x" USE_F,
430 * Find size of old BPB, and copy into new bootcode
442 struct mbr_bpbFAT16 *bpb = (void *)(disk_buf.b + 3 + 8); local in function:i386_setboot
444 u = le16toh(bpb->bpbBytesPerSec)
445 * le16toh(bpb->bpbResSectors)
    [all...]
  /src/sys/arch/aarch64/aarch64/
cpu.c 617 const unsigned bpb = 4; local in function:rndrrs_get
648 bpb*sizeof(x));
649 nbits -= MIN(nbits, bpb*sizeof(x));
  /src/sbin/newfs_msdos/
mkfs_msdos.c 162 struct bpb { struct
186 struct bpb bpb; member in struct:__anonadced1c60108
237 static int getstdfmt(const char *, struct bpb *);
238 static int getbpbinfo(int, const char *, const char *, int, struct bpb *, off_t);
239 static void print_bpb(struct bpb *);
252 struct bpb bpb; local in function:mkfs_msdos
315 memset(&bpb, 0, sizeof(bpb));
    [all...]
  /src/sys/lib/libsa/
dosfs.c 43 #include <fs/msdosfs/bpb.h>
96 struct byte_bpb710 bpb; /* BPB */ member in struct:__anonc34c81eb0408
435 bs->bpb.bpbMedia < 0xf0)
437 if (getushort(bs->bpb.bpbBytesPerSec) != SECSIZ)
439 if (!(fs->spc = bs->bpb.bpbSecPerClust) || fs->spc & (fs->spc - 1))
443 if ((fs->spf = getushort(bs->bpb.bpbFATsecs))) {
444 if (bs->bpb.bpbFATs != 2)
446 if (!(fs->dirents = getushort(bs->bpb.bpbRootDirEnts)))
449 if (!(fs->spf = getulong(bs->bpb.bpbBigFATsecs))
    [all...]

Completed in 159 milliseconds