Lines Matching defs:seg_hdr
541 struct segment_command *seg_hdr =
545 if (!seg_hdr->vmsize) continue;
548 nsects += seg_hdr->nsects;
555 struct segment_command_64 *seg_hdr =
559 if (!seg_hdr->vmsize) continue;
562 nsects += seg_hdr->nsects;
592 struct segment_command *seg_hdr =
596 if (!seg_hdr->vmsize) continue;
600 rval = kxld_seg_init_from_macho_32(seg, seg_hdr);
603 sect_offset = offset + sizeof(*seg_hdr);
610 struct segment_command_64 *seg_hdr =
614 if (!seg_hdr->vmsize) continue;
618 rval = kxld_seg_init_from_macho_64(seg, seg_hdr);
621 sect_offset = offset + sizeof(*seg_hdr);
876 struct segment_command *seg_hdr =
880 if (!seg_hdr->vmsize) continue;
883 if (streq_safe(seg_hdr->segname, SEG_LINKEDIT,
896 nsects = seg_hdr->nsects;
897 sect_offset = offset + sizeof(*seg_hdr);
905 struct segment_command_64 *seg_hdr =
909 if (!seg_hdr->vmsize) continue;
912 if (streq_safe(seg_hdr->segname, SEG_LINKEDIT,
925 nsects = seg_hdr->nsects;
926 sect_offset = offset + sizeof(*seg_hdr);