Lines Matching defs:mh
214 struct mach_header *mh = NULL; /* protected by is_64 */
315 mh = (struct mach_header *)header;
316 mh->magic = MH_MAGIC;
317 mh->cputype = cpu_type();
318 mh->cpusubtype = cpu_subtype();
319 mh->filetype = MH_CORE;
320 mh->ncmds = segment_count + thread_count;
321 mh->sizeofcmds = command_size;
453 mh->ncmds -= segment_count;
454 mh->sizeofcmds -= segment_count * segment_command_sz;