Home
last modified time | relevance | path

Searched refs:MBB_MAGIC (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dfdisk.h67 #define MBB_MAGIC 0xAA55 /* magic number for mboot.signature */ macro
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c254 if (mbr->signature != MBB_MAGIC) { in efi_alloc_and_read()
743 mb.signature = LE_16(MBB_MAGIC); in write_pmbr()
746 if (mb.signature != LE_16(MBB_MAGIC)) { in write_pmbr()
748 mb.signature = LE_16(MBB_MAGIC); in write_pmbr()
/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.c133 if (ltohs(mboot->signature) != MBB_MAGIC) { in walk_partitions()
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c225 mbr->signature == MBB_MAGIC ? "valid" : "invalid"); in mbr_info()
272 if (mbr->signature != MBB_MAGIC) in cmd_mbr()
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c327 if (ltohs(mboot->signature) != MBB_MAGIC) { in walk_partitions()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dpc_fs.h241 #define VALID_BPBSIG(sig) ((sig) == MBB_MAGIC)
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_slice.c1186 if (les(boot_sec->signature) != MBB_MAGIC) { in get_fdisk()
1189 les(boot_sec->signature), MBB_MAGIC); in get_fdisk()
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c718 MBB_MAGIC) { in fdisk_read_extpart()
803 if (LE_16((*(uint16_t *)&buf[510])) != MBB_MAGIC) { in fdisk_read_master_part_table()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c598 if (ltohs(extmboot.signature) != MBB_MAGIC) { in findPartitionOffset()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c595 if (les(bootblk.signature) != MBB_MAGIC) { in get_parts()
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c1582 if (LE_16(BootCod.signature) != MBB_MAGIC) { in mboot_read()
1587 LE_16(BootCod.signature), MBB_MAGIC); in mboot_read()
3950 if (LE_16(Bootblk->signature) != MBB_MAGIC) {
4052 Bootblk->signature = LE_16(MBB_MAGIC);
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1574 if (bpb_get_BPBSig((*bp)->b_un.b_addr) != MBB_MAGIC) { in findTheDrive()
1683 if (bpb_get_BPBSig((*bp)->b_un.b_addr) != MBB_MAGIC) { in findTheDrive()
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c2491 if (((sigbuf[1] & 0xFF) != ((MBB_MAGIC >> 8) & 0xFF)) ||
2492 (sigbuf[0] != (MBB_MAGIC & 0xFF))) {
2785 if (LE_16(mbp->signature) != MBB_MAGIC) {
5160 if (magic != MBB_MAGIC) {
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c891 mbr->signature == MBB_MAGIC ? "valid" : "invalid"); in print_stage1_cb()
1903 if (mbr->signature == MBB_MAGIC) { in prepare_stage1()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c793 if (ltohs(extmboot.signature) != MBB_MAGIC) { in seek_partn()