Searched refs:nsects (Results 1 - 11 of 11) sorted by relevance

/xnu-2782.1.97/SETUP/setsegname/
H A Dsetsegname.c132 uint32_t nsects = 0; local
204 nsects = 0;
211 nsects = segcmd->nsects;
221 nsects = segcmd->nsects;
229 nsects = OSSwapInt32(nsects);
230 while (nsects--) {
/xnu-2782.1.97/libkern/kxld/
H A Dkxld_seg.c93 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects);
122 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects);
275 u_int nsects = 0; local
327 nsects = sect_end - sect_start;
329 if (!nsects) continue;
348 for (j = 0; j < nsects; ++j) {
372 for (i = 0; i < nsects; ++i) {
654 seghdr->nsects = seg->sects.nitems;
694 seghdr->nsects = seg->sects.nitems;
H A Dkxld_util.c355 if (swap) swap_section(sects, seg_hdr->nsects, host_order);
366 for (j = 0; j < seg_hdr->nsects; ++j) {
524 if (swap) swap_section_64(sects, seg_hdr->nsects, host_order);
535 for (j = 0; j < seg_hdr->nsects; ++j) {
657 swap_section(sects, seg_hdr->nsects, target_order);
713 swap_section_64(sects, seg_hdr->nsects, target_order);
H A Dkxld_object.c527 u_int nsects = 0; local
551 nsects += seg_hdr->nsects;
565 nsects += seg_hdr->nsects;
580 rval = kxld_array_init(&object->sects, sizeof(KXLDSect), nsects);
851 u_int nsects = 0; local
901 nsects = seg_hdr->nsects;
930 nsects
1314 u_int nsects = object->sects.nitems; local
[all...]
/xnu-2782.1.97/libkern/
H A Dkernel_mach_header.c191 for(j = 0; j < sgp->nsects; j++){
319 if (!sgp || sgp->nsects == 0)
336 if (((uintptr_t)(sp - fsp) + 1) >= sgp->nsects)
/xnu-2782.1.97/EXTERNAL_HEADERS/mach-o/
H A Dloader.h337 uint32_t nsects; /* number of sections in segment */ member in struct:segment_command
357 uint32_t nsects; /* number of sections in segment */ member in struct:segment_command_64
/xnu-2782.1.97/bsd/kern/
H A Dkern_core.c418 sc64->nsects = 0;
431 sc->nsects = 0;
H A Dmach_loader.c255 scp->nsects = scp32->nsects;
272 for (i = 0; i < scp->nsects; ++i) {
986 if (total_section_size / single_section_size < scp->nsects)
/xnu-2782.1.97/SETUP/kextsymboltool/
H A Dkextsymboltool.c758 segcmd.nsects = 0;
798 segcmd.nsects = 0;
/xnu-2782.1.97/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c529 sc.nsects = 0;
/xnu-2782.1.97/libkern/c++/
H A DOSKext.cpp7842 "%s: LC_SEGMENT_KERNEL segname '%s' vmaddr 0x%llX 0x%lX vmsize %llu nsects %u",
7845 segp->vmsize, segp->nsects);

Completed in 144 milliseconds