Home
last modified time | relevance | path

Searched refs:KXLDArray (Results 1 – 15 of 15) sorted by relevance

/xnu-11215/libkern/kxld/
H A Dkxld_array.h96 typedef struct kxld_array KXLDArray; typedef
105 kern_return_t kxld_array_init(KXLDArray *array, size_t itemsize, u_int nitems)
109 kern_return_t kxld_array_copy(KXLDArray *array, const KXLDArray *src)
113 void kxld_array_reset(KXLDArray *array)
117 void kxld_array_clear(KXLDArray *array)
121 void kxld_array_deinit(KXLDArray *array)
129 void *kxld_array_get_item(const KXLDArray *array, u_int idx)
133 void *kxld_array_get_slot(const KXLDArray *array, u_int idx)
137 kern_return_t kxld_array_get_index(const KXLDArray *array, const void *item,
149 kern_return_t kxld_array_resize(KXLDArray *array, u_int nitems)
[all …]
H A Dkxld_array.c45 static u_int reinit_pools(KXLDArray *array, u_int nitems);
138 array_init(KXLDArray *array, size_t itemsize, u_int nitems) in array_init()
212 kxld_array_copy(KXLDArray *dstarray, const KXLDArray *srcarray) in kxld_array_copy()
255 kxld_array_reset(KXLDArray *array) in kxld_array_reset()
270 kxld_array_clear(KXLDArray *array) in kxld_array_clear()
285 kxld_array_deinit(KXLDArray *array) in kxld_array_deinit()
301 kxld_array_get_item(const KXLDArray *array, u_int idx) in kxld_array_get_item()
328 kxld_array_get_slot(const KXLDArray *array, u_int idx) in kxld_array_get_slot()
393 kxld_array_resize(KXLDArray *array, u_int nitems) in kxld_array_resize()
424 reinit_pools(KXLDArray *array, u_int nitems) in reinit_pools()
[all …]
H A Dkxld_seg.h53 KXLDArray sects;
74 kern_return_t kxld_seg_create_seg_from_sections(KXLDArray *segarray,
75 KXLDArray *sectarray)
78 kern_return_t kxld_seg_finalize_object_segment(KXLDArray *segarray,
79 KXLDArray *section_order, u_long hdrsize)
82 kern_return_t kxld_seg_init_linkedit(KXLDArray *segs)
H A Dkxld_seg.c57 static kern_return_t reorder_sections(KXLDSeg *seg, KXLDArray *section_order);
58 static void reorder_section(KXLDArray *sects, u_int *sect_reorder_index,
63 static KXLDSeg * get_segment_by_name(KXLDArray *segarray, const char *name);
140 kxld_seg_create_seg_from_sections(KXLDArray *segarray, KXLDArray *sectarray) in kxld_seg_create_seg_from_sections()
180 kxld_seg_finalize_object_segment(KXLDArray *segarray, KXLDArray *section_order, in kxld_seg_finalize_object_segment()
269 reorder_sections(KXLDSeg *seg, KXLDArray *section_order) in reorder_sections()
400 reorder_section(KXLDArray *sects, u_int *sect_reorder_index, in reorder_section()
417 kxld_seg_init_linkedit(KXLDArray *segs) in kxld_seg_init_linkedit()
965 , const KXLDArray *locrelocs in kxld_seg_populate_linkedit()
966 , const KXLDArray *extrelocs in kxld_seg_populate_linkedit()
H A Dkxld_dict.h61 KXLDArray buckets; // The array of buckets
62 KXLDArray resize_buckets; // A helper array for resizing
H A Dkxld_reloc.c194 kxld_addr_t addr, const KXLDArray *sectarray);
200 static u_long get_macho_data_size_for_array(const KXLDArray *relocs);
203 const KXLDArray *relocs, struct relocation_info **dstp);
520 kxld_reloc_get_reloc_index_by_offset(const KXLDArray *relocs, in kxld_reloc_get_reloc_index_by_offset()
549 kxld_reloc_get_reloc_by_offset(const KXLDArray *relocs, kxld_addr_t offset) in kxld_reloc_get_reloc_by_offset()
579 const KXLDArray *locrelocs, in kxld_reloc_get_macho_data_size()
580 const KXLDArray *extrelocs) in kxld_reloc_get_macho_data_size()
594 const KXLDArray *locrelocs, const KXLDArray *extrelocs, in kxld_reloc_export_macho()
1001 const KXLDArray *sectarray) in get_target_by_address_lookup()
1060 get_macho_data_size_for_array(const KXLDArray *relocs) in get_macho_data_size_for_array()
[all …]
H A Dkxld.c62 KXLDArray *section_order;
63 KXLDArray objects;
64 KXLDArray dependencies;
97 static KXLDArray *s_section_order;
128 KXLDArray * section_order = NULL; in kxld_create_context()
H A Dkxld_vtable.h56 KXLDArray entries;
H A Dkxld_vtable.c71 const KXLDArray *relocs, const KXLDDict *defined_cxx_symbols);
83 const KXLDArray *extrelocs = NULL; in kxld_vtable_init()
338 const KXLDRelocator *relocator, const KXLDArray *relocs, in init_by_entries_and_relocs()
H A Dkxld_sect.h54 KXLDArray relocs; // The section's relocation entries
H A Dkxld_object.c90 KXLDArray segs;
91 KXLDArray sects;
92 KXLDArray extrelocs;
93 KXLDArray locrelocs;
109 KXLDArray *section_order;
216 const char *name, KXLDArray *section_order __unused, in kxld_object_init_from_macho()
1438 const KXLDArray *
1441 const KXLDArray *rval = NULL; in kxld_object_get_extrelocs()
H A Dkxld_symtab.c45 KXLDArray syms;
650 kxld_symtab_relocate(KXLDSymtab *symtab, const KXLDArray *sectarray) in kxld_symtab_relocate()
H A Dkxld_dict.c278 KXLDArray tmparray; in resize_dict()
H A Dkxld_kext.c72 KXLDArray vtables;
/xnu-11215/libkern/kxld/tests/
H A Dkxld_array_test.c45 KXLDArray array; in main()