Home
last modified time | relevance | path

Searched refs:ubpb (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dbpb.c172 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()
228 swap_pack_grab32bpb(&TheBIOSParameterBlock, &(ubpb.bs)); in readBPB()
231 &(ubpb.bs32.bs_bpb32), in readBPB()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c1827 boot_sector_t ubpb; in read_existing_bpb() local
1829 if (read(fd, ubpb.buf, BPSEC) < BPSEC) { in read_existing_bpb()
1836 if (ltohs(ubpb.mb.signature) != BOOTSECSIG) { in read_existing_bpb()
1841 (void) memcpy(&(wbpb->bpb), &(ubpb.bs.bs_front.bs_bpb), in read_existing_bpb()
1843 (void) memcpy(&(wbpb->ebpb), &(ubpb.bs.bs_ebpb), sizeof (wbpb->ebpb)); in read_existing_bpb()
1845 swap_pack_grabbpb(wbpb, &(ubpb.bs)); in read_existing_bpb()
1849 (void) memcpy(&(wbpb->sunbpb), &(ubpb.bs.bs_sebpb), in read_existing_bpb()
1852 swap_pack_grabsebpb(wbpb, &(ubpb.bs)); in read_existing_bpb()
1889 (void) memcpy(&(wbpb->bpb32), &(ubpb.bs32.bs_bpb32), in read_existing_bpb()
1892 swap_pack_grab32bpb(wbpb, &(ubpb.bs)); in read_existing_bpb()