Searched defs:bpb (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_fat.c | 70 struct fat_bpb bpb; local 79 /* Read bpb */ 80 if (! devread (0, 0, sizeof (bpb), (char *) &bpb)) 85 if (bpb.sects_per_clust == 0) 88 FAT_SUPER->sectsize_bits = log2 (FAT_CVT_U16 (bpb.bytes_per_sect)); 90 = FAT_SUPER->sectsize_bits + log2 (bpb.sects_per_clust); 93 FAT_SUPER->num_sectors = FAT_CVT_U16 (bpb.short_sectors) 94 ? FAT_CVT_U16 (bpb.short_sectors) : bpb [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_bpb.h | 160 * bpb_t is a conglomeration of all the fields a bpb can have. Every 161 * bpb will have the orig_bios struct, but only FAT32's will have bpb32, 165 struct _orig_bios_param_blk bpb; member in struct:_bios_param_blk
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs_pcfs.h | 158 * bpb_t is a conglomeration of all the fields a bpb can have. Every 159 * bpb will have the orig_bios struct, but only FAT32's will have bpb32, 163 struct _orig_bios_param_blk bpb; member in struct:_bios_param_blk
|
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_pcu.c | 270 start_bitmap_list(struct bitmap *bmp, int bpb) argument 281 bmp->bmaps_per_block = bpb;
|
/illumos-gate/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 163 struct bios_param_blk bpb; local 410 * The fd_vtoc, bpb, and rdirsec structures will be 416 * be added. This function should fill in fd_vtoc, bpb, and 420 (void) memset((void *)&bpb, (char)0, sizeof (struct bios_param_blk)); 422 format_diskette(fd, real_name, &fd_vtoc, &bpb, &rdirsec); 426 vollabel, &bpb, rdirsec); 448 * information and ascillabel. bpb and rdirsec will 453 struct bios_param_blk *bpb, int *rdirsec) 685 bpb->b_nfat = 2; 687 bpb 452 format_diskette(int fd, char *real_name, struct vtoc *fd_vtoc, struct bios_param_blk *bpb, int *rdirsec) argument 1482 write_DOS_label(int fd, uchar_t *bootloadr, int bootlen, char *altbootname, char *doslabel, struct bios_param_blk *bpb, int rdirsec) argument 1636 struct bios_param_blk *bpb; local [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | dosfs.c | 95 DOS_BPB bpb; /* BPB */ member in struct:__anon57 518 bs->bpb.media < 0xf0) 520 if (cv2(bs->bpb.secsiz) != SECSIZ) 522 if (!(fs->spc = bs->bpb.spc) || fs->spc & (fs->spc - 1)) 526 if ((fs->spf = cv2(bs->bpb.spf))) { 527 if (bs->bpb.fats != 2) 529 if (!(fs->dirents = cv2(bs->bpb.dirents))) 532 if (!(fs->spf = cv4(bs->bpb.lspf))) 534 if (!bs->bpb.fats || bs->bpb [all...] |
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 1825 secondaryBPBChecks(struct pcfs *fsp, uchar_t *bpb, size_t secsize) argument 1830 if (bpb_get_FatSz16(bpb) == 0) 1833 if (bpb_get_FatSz16(bpb) * secsize < ncl * 2 && 1834 bpb_get_FatSz16(bpb) * secsize >= (3 * ncl / 2)) 1836 if (bcmp(bpb_FilSysType16(bpb), "FAT12", 5) == 0) 1838 if (bcmp(bpb_FilSysType16(bpb), "FAT16", 5) == 0) 1841 switch (bpb_get_Media(bpb)) { 1861 if (bpb_get_FatSz16(bpb) == 0 && bpb_get_FatSz32(bpb) > 0) 1863 if (VALID_BOOTSIG(bpb_get_BootSig32(bpb))) 1920 parseBPB(struct pcfs *fsp, uchar_t *bpb, int *valid) argument [all...] |
Completed in 65 milliseconds