Searched refs:ubpb (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | bpb.c | 172 boot_sector_t ubpb; in readBPB() local 186 if (read(fd, ubpb.buf, BPSEC) < BPSEC) { in readBPB() 193 if (ltohs(ubpb.mb.signature) != BOOTSECSIG) { in readBPB() 201 swap_pack_grabbpb(&TheBIOSParameterBlock, &(ubpb.bs)); in readBPB() 203 (void) memcpy(&(TheBIOSParameterBlock.bpb), &(ubpb.bs.bs_front.bs_bpb), in readBPB() 205 (void) memcpy(&(TheBIOSParameterBlock.ebpb), &(ubpb.bs.bs_ebpb), in readBPB() 234 swap_pack_grab32bpb(&TheBIOSParameterBlock, &(ubpb.bs)); in readBPB() 237 &(ubpb.bs32.bs_bpb32), in readBPB()
|
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 1825 boot_sector_t ubpb; in read_existing_bpb() local 1827 if (read(fd, ubpb.buf, BPSEC) < BPSEC) { in read_existing_bpb() 1834 if (ltohs(ubpb.mb.signature) != BOOTSECSIG) { in read_existing_bpb() 1839 (void) memcpy(&(wbpb->bpb), &(ubpb.bs.bs_front.bs_bpb), in read_existing_bpb() 1841 (void) memcpy(&(wbpb->ebpb), &(ubpb.bs.bs_ebpb), sizeof (wbpb->ebpb)); in read_existing_bpb() 1843 swap_pack_grabbpb(wbpb, &(ubpb.bs)); in read_existing_bpb() 1847 (void) memcpy(&(wbpb->sunbpb), &(ubpb.bs.bs_sebpb), in read_existing_bpb() 1850 swap_pack_grabsebpb(wbpb, &(ubpb.bs)); in read_existing_bpb() 1887 (void) memcpy(&(wbpb->bpb32), &(ubpb.bs32.bs_bpb32), in read_existing_bpb() 1890 swap_pack_grab32bpb(wbpb, &(ubpb.bs)); in read_existing_bpb()
|