/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/fs/msdosfs/ |
Makefile | 5 INCS= bootsect.h bpb.h denode.h direntry.h fat.h msdosfsmount.h
|
msdosfs_denode.c | 68 #include <fs/msdosfs/bpb.h>
|
msdosfs_lookup.c | 72 #include <fs/msdosfs/bpb.h>
|
msdosfs_vfsops.c | 80 #include <fs/msdosfs/bpb.h> 549 * Compute several useful quantities from the bpb in the 550 * bootsector. Copy in the dos 5 variant of the bpb then fix up
|
msdosfs_rename.c | 49 #include <fs/msdosfs/bpb.h>
|
msdosfs_fat.c | 79 #include <fs/msdosfs/bpb.h>
|
msdosfs_vnops.c | 75 #include <fs/msdosfs/bpb.h>
|
/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...] |
/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/usr.sbin/makefs/msdos/ |
msdosfs_denode.c | 61 #include <fs/msdosfs/bpb.h>
|
msdosfs_vfsops.c | 59 #include <fs/msdosfs/bpb.h> 123 * Compute several useful quantities from the bpb in the 124 * bootsector. Copy in the dos 5 variant of the bpb then fix up
|
msdosfs_vnops.c | 63 #include <fs/msdosfs/bpb.h>
|
/src/usr.sbin/makefs/ |
msdos.c | 58 #include <fs/msdosfs/bpb.h>
|
/src/sys/compat/netbsd32/ |
netbsd32_fs.c | 54 #include <fs/msdosfs/bpb.h>
|
/src/usr.bin/fstat/ |
fstat.c | 75 #include <msdosfs/bpb.h>
|