Lines Matching refs:mach_header
100 .mach_header = MACH_VM_MIN_ADDRESS,
127 struct mach_header *header,
235 struct mach_header *mach_header,
290 struct mach_header *header,
474 * this is the limit on the kalloc() of enough bytes for a mach_header and
489 struct mach_header *header,
513 size_t mach_header_sz = sizeof(struct mach_header);
1105 result->mach_header = map_addr;
1412 struct mach_header mach_header;
1432 struct mach_header *header;
1439 struct mach_header __header;
1739 struct mach_header *header = (struct mach_header *)addr;
1740 size_t mach_header_sz = sizeof(struct mach_header);
1804 struct mach_header *mach_header,
1883 if (header->mach_header.magic == MH_MAGIC ||
1884 header->mach_header.magic == MH_MAGIC_64) {
1902 error = vn_rdwr(UIO_READ, vp, (caddr_t)&header->mach_header,
1903 sizeof (header->mach_header), fat_arch.offset,
1911 if (header->mach_header.magic != MH_MAGIC &&
1912 header->mach_header.magic != MH_MAGIC_64) {
1930 if ((cpu_type_t)(header->mach_header.cputype & CPU_ARCH_MASK) != archbits) {
1939 *mach_header = header->mach_header;