Searched refs:sects (Results 1 - 5 of 5) sorted by relevance

/darwin-on-arm/xnu/SETUP/setsegname/
H A Dsetsegname.c195 struct section * sects; local
199 sects = (typeof(sects))(segcmd + 1);
200 names = &sects->segname;
201 flags = &sects->flags;
202 len = sizeof(*sects);
205 struct section_64 * sects; local
209 sects = (typeof(sects))(segcmd + 1);
210 names = &sects
[all...]
/darwin-on-arm/xnu/libkern/kxld/
H A Dkxld_seg.c55 static void reorder_section(KXLDArray *sects, u_int *sect_reorder_index,
93 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects);
122 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects);
158 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), sectarray->nitems);
163 sectp = kxld_array_get_item(&seg->sects, i);
203 for (i = 0; i < seg->sects.nitems; ++i) {
204 sect = *(KXLDSect **)kxld_array_get_item(&seg->sects, i);
286 seg->sects.nitems * sizeof(*reorder_buffer));
319 while (sect_index < seg->sects.nitems) {
320 sect = *(KXLDSect **) kxld_array_get_item(&seg->sects, sect_inde
394 reorder_section(KXLDArray *sects, u_int *sect_reorder_index, KXLDSect **reorder_buffer, u_int reorder_buffer_index) argument
[all...]
H A Dkxld_util.c277 struct section *sects = NULL; local
353 sects = (struct section *) &seg_hdr[1];
355 if (swap) swap_section(sects, seg_hdr->nsects, host_order);
371 require_action((sects[j].flags & S_ZEROFILL) ||
372 (size >= sects[j].offset + sects[j].size), finish,
380 sects[j].reloff + sects[j].nreloc * sizeof(*relocs), finish,
385 relocs = (struct relocation_info *) ((void *) (file + sects[j].reloff));
388 swap_relocation_info(relocs, sects[
448 struct section_64 *sects = NULL; local
630 struct section *sects = NULL; local
686 struct section_64 *sects = NULL; local
[all...]
H A Dkxld_object.c81 KXLDArray sects; member in struct:kxld_object
245 object->symtab, &object->sects, object->cputype,
577 rval = kxld_array_init(&object->sects, sizeof(KXLDSect), nsects);
681 for (j = 0; j < seg->sects.nitems; ++j, ++secti) {
682 sect = kxld_array_get_item(&object->sects, secti);
756 object->sects.nitems);
765 for (j = 0; j < seg->sects.nitems; ++j, ++k) {
766 sect = *(KXLDSect **) kxld_array_get_item(&seg->sects, j);
972 rval = kxld_array_init(&object->sects, sizeof(KXLDSect), nsects);
978 sect = kxld_array_get_item(&object->sects,
[all...]
H A Dkxld_seg.h53 KXLDArray sects; member in struct:kxld_seg

Completed in 97 milliseconds