Searched refs:DOSMAGIC (Results 1 – 16 of 16) sorted by relevance
| /freebsd-12.1/contrib/binutils/include/coff/ |
| H A D | powerpc.h | 39 #define DOSMAGIC 0x5a4d /* from arm.h, i386.h */ macro
|
| H A D | pe.h | 137 #define DOSMAGIC 0x5a4d macro
|
| /freebsd-12.1/sys/sys/disk/ |
| H A D | mbr.h | 43 #define DOSMAGIC 0xAA55 macro
|
| /freebsd-12.1/stand/i386/loader/ |
| H A D | chain.c | 107 *((uint16_t *)PTOV(mem + DOSMAGICOFFSET)) != DOSMAGIC) { in command_chain()
|
| /freebsd-12.1/usr.bin/mkimg/ |
| H A D | mbr.c | 89 le16enc(mbr + DOSMAGICOFFSET, DOSMAGIC); in mbr_write()
|
| H A D | ebr.c | 81 le16enc(ebr + DOSMAGICOFFSET, DOSMAGIC); in ebr_write()
|
| H A D | gpt.c | 171 le16enc(pmbr + DOSMAGICOFFSET, DOSMAGIC); in gpt_write_pmbr()
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | coff-ia64.c | 99 if (H_GET_16 (abfd, dos_hdr.e_magic) != DOSMAGIC)
|
| H A D | peicode.h | 1296 if (H_GET_16 (abfd, dos_hdr.e_magic) != DOSMAGIC) in pe_bfd_object_p()
|
| H A D | peXXigen.c | 757 filehdr_in->pe.e_magic = DOSMAGIC; in _bfd_XXi_only_swap_filehdr_out()
|
| /freebsd-12.1/sys/geom/part/ |
| H A D | g_part_mbr.c | 297 le16enc(table->mbr + DOSMAGICOFFSET, DOSMAGIC); in g_part_mbr_create() 435 if (magic != DOSMAGIC) in g_part_mbr_probe()
|
| H A D | g_part_ebr.c | 479 if (magic != DOSMAGIC) in g_part_ebr_probe() 637 le16enc(buf + DOSMAGICOFFSET, DOSMAGIC); in g_part_ebr_write()
|
| H A D | g_part_gpt.c | 323 le16enc(table->mbr + DOSMAGICOFFSET, DOSMAGIC); in gpt_create_pmbr() 859 if (res == DOSMAGIC) { in g_part_gpt_probe()
|
| H A D | g_part_ldm.c | 1314 if (le16dec(buf + DOSMAGICOFFSET) != DOSMAGIC) { in g_part_ldm_probe()
|
| /freebsd-12.1/sbin/newfs_msdos/ |
| H A D | mkfs_msdos.c | 60 #define DOSMAGIC 0xaa55 /* DOS magic number */ macro 711 mk2(img + MINBPS - 2, DOSMAGIC); in mkfs_msdos() 721 mk2(img + MINBPS - 2, DOSMAGIC); in mkfs_msdos()
|
| /freebsd-12.1/sbin/fdisk/ |
| H A D | fdisk.c | 891 if (le16dec(&mboot.bootinst[DOSMAGICOFFSET]) != DOSMAGIC) { in read_s0() 915 le16enc(&mboot.bootinst[DOSMAGICOFFSET], DOSMAGIC); in write_s0()
|