Lines Matching defs:mh
323 struct mach_header *mh;
372 mh = (struct mach_header *) header;
373 mh->magic = MH_MAGIC;
374 mh->cputype = cpu_type();
375 mh->cpusubtype = cpu_subtype(); /* XXX incorrect; should match kernel */
376 mh->filetype = MH_CORE;
377 mh->ncmds = segment_count + thread_count + mach_section_count;
378 mh->sizeofcmds = command_size;
379 mh->flags = 0;
403 if ((panic_error = kdp_send_crashdump_data(KDP_DATA, NULL, sizeof(struct mach_header), (caddr_t) mh) < 0)) {