Lines Matching defs:mach_header
111 .mach_header = MACH_VM_MIN_ADDRESS,
129 struct mach_header *header,
228 struct mach_header *mach_header,
237 struct mach_header *header,
320 * this is the limit on the kalloc() of enough bytes for a mach_header and
333 struct mach_header *header,
356 size_t mach_header_sz = sizeof(struct mach_header);
807 result->mach_header = map_addr;
940 result->mach_header = map_addr;
1206 struct mach_header header;
1477 struct mach_header *header = (struct mach_header *)addr;
1478 size_t mach_header_sz = sizeof(struct mach_header);
1542 struct mach_header *mach_header,
1558 struct mach_header mach_header;
1627 if (header.mach_header.magic == MH_MAGIC ||
1628 header.mach_header.magic == MH_MAGIC_64)
1645 error = vn_rdwr(UIO_READ, vp, (caddr_t)&header.mach_header,
1646 sizeof(header.mach_header), fat_arch.offset,
1654 if (header.mach_header.magic != MH_MAGIC &&
1655 header.mach_header.magic != MH_MAGIC_64) {
1673 if ((cpu_type_t)(header.mach_header.cputype & CPU_ARCH_MASK) != archbits)
1680 *mach_header = header.mach_header;