Lines Matching defs:mh
245 struct mach_header *mh = NULL; /* protected by is_64 */
342 mh = (struct mach_header *)header;
343 mh->magic = MH_MAGIC;
344 mh->cputype = process_cpu_type(core_proc);
345 mh->cpusubtype = process_cpu_subtype(core_proc);
346 mh->filetype = MH_CORE;
347 mh->ncmds = segment_count + thread_count;
348 mh->sizeofcmds = command_size;
470 mh->ncmds -= segment_count;
471 mh->sizeofcmds -= segment_count * segment_command_sz;