/xnu-2422.115.4/osfmk/i386/ |
H A D | ktss.c | 76 __attribute__ ((section ("__DESC, master_sstk")))
|
H A D | gdt.c | 66 __attribute__((section("__HIB,__desc")))
|
H A D | mp_desc.c | 162 __attribute__ ((section("__HIB,__desc")))
|
/xnu-2422.115.4/libkern/c++/ |
H A D | OSRuntime.cpp | 230 sectionIsDestructor(kernel_section_t * section) argument 234 result = !strncmp(section->sectname, SECT_MODTERMFUNC, 237 result = result || !strncmp(section->sectname, SECT_DESTRUCTOR, 247 sectionIsConstructor(kernel_section_t * section) argument 251 result = !strncmp(section->sectname, SECT_MODINITFUNC, 254 result = result || !strncmp(section->sectname, SECT_CONSTRUCTOR, 266 * obtain a destructor section for C++ objects, and call each of the 276 kernel_section_t * section = NULL; // do not free local 283 for (section = firstsect(segment); 284 section ! 448 kernel_section_t * section; local [all...] |
/xnu-2422.115.4/osfmk/x86_64/ |
H A D | boot_pt.c | 36 * the base of the special __HIB section. 48 __attribute__((section("__HIB, __bootPT"))) = { 55 __attribute__((section("__HIB, __bootPT"))) = { 87 __attribute__((section("__HIB, __bootPT"))) = {
|
H A D | start.s | 79 /* in the __HIB section since the hibernate restore code uses this stack. */ 80 .section __HIB, __data 95 /* back to the regular __DATA section. */ 97 .section __DATA, __data 138 .section __HIB, __text 157 * | __HIB section | 282 .section __HIB, __text 284 * This code is linked into the kernel but part of the "__HIB" section, 289 * memory also in the "__HIB" section. 342 .section __TEX [all...] |
H A D | locore.s | 82 #define RECOVERY_SECTION .section __VECTORS, __recover
|
/xnu-2422.115.4/libkern/kxld/ |
H A D | kxld_vtable.h | 48 struct section;
|
H A D | kxld_sect.c | 61 struct section *src = (struct section *) ((void *) (macho + *sect_offset)); 259 return sizeof(struct section); 313 * Each section must be aligned at a certain power of two. To figure out that 410 /* Verify that the section is properly aligned */ 420 /* Copy section data */ 444 "Invalid section type: %u.", sect->flags & SECTION_TYPE); 462 struct section *secthdr = NULL; 470 secthdr = (struct section *) ((void *) (buf + *header_offset));
|
H A D | kxld_sect.h | 46 struct section; 51 char sectname[16]; // The name of the section 52 char segname[16]; // The segment to which the section belongs 53 u_char *data; // The start of the section in memory 54 KXLDArray relocs; // The section's relocation entries 55 kxld_addr_t base_addr; // The base address of the section 56 kxld_addr_t link_addr; // The relocated address of the section 57 kxld_size_t size; // The size of the section 58 u_int sectnum; // The number of the section (for relocation) 59 u_int flags; // Flags describing the section [all...] |
H A D | kxld_util.c | 277 struct section *sects = NULL; 352 /* Get and swap the section headers */ 353 sects = (struct section *) &seg_hdr[1]; 368 /* Verify that, if the section is not to be zero filled on 369 * demand, that file is big enough for the section's data. 376 /* Verify that the file is big enough for the section's 521 /* Get and swap the section headers */ 537 /* Verify that, if the section is not to be zero filled on 538 * demand, that file is big enough for the section's data. 545 /* Verify that the file is big enough for the section' [all...] |
/xnu-2422.115.4/libkern/libkern/ |
H A D | kernel_mach_header.h | 69 typedef struct section kernel_section_t;
|
/xnu-2422.115.4/bsd/sys/ |
H A D | linker_set.h | 65 * __DATA section for each set. The contents of this segment are an array 89 * void const * __set_SET_sym_SYM __attribute__((section("__DATA,SET"))) = & SYM 101 __attribute__ ((section(__LS_VA_STRCONCAT(__DATA,_set)),used)) = (void *)&_sym
|
H A D | kern_memorystatus.h | 221 extern void memorystatus_init(void) __attribute__((section("__TEXT, initcode"))); 298 extern void memorystatus_freeze_init(void) __attribute__((section("__TEXT, initcode")));
|
/xnu-2422.115.4/SETUP/setsegname/ |
H A D | setsegname.c | 208 struct section * sects;
|
/xnu-2422.115.4/EXTERNAL_HEADERS/mach-o/ |
H A D | loader.h | 119 /* linking only, no section contents */ 200 #define MH_HAS_TLV_DESCRIPTORS 0x800000 /* Contains a section of type 217 * is a part of the load command (i.e. section structures, strings, etc.). To 324 * section structures directly follow the segment command and their size is 329 uint32_t cmdsize; /* includes sizeof section structs */ 382 * and load commands of the object file before its first section. The zero 385 * sections might be. The gigabyte zero fill sections, those with the section 393 * Sections with the same section name, sectname, going into the same segment, 394 * segname, are combined by the link editor. The resulting section is aligned 395 * to the maximum alignment of the combined sections and is the new section' 404 struct section { /* for 32-bit architectures */ struct [all...] |
/xnu-2422.115.4/bsd/kern/ |
H A D | mach_loader.c | 265 struct section s32; 459 * commands section, and then parse it in order to parse the mach-o file 617 * run off the end of the reserved section by incrementing 636 * straddle or exist past the reserved section at the 937 single_section_size = sizeof(struct section);
|
/xnu-2422.115.4/bsd/dev/dtrace/ |
H A D | dtrace.c | 7230 * The functions in this section (and indeed, the functions in remaining 7974 * described in <sys/dtrace.h>. The parts of the API not in this section are 8369 * The functions in this section perform the DTrace probe management, 12391 * Fill in the option section header... 12598 * Return the dof_sec_t pointer corresponding to a given section index. If the 12610 dtrace_dof_error(dof, "referenced section index is invalid"); 12615 dtrace_dof_error(dof, "referenced section is not loadable"); 12620 dtrace_dof_error(dof, "referenced section is the wrong type"); 12637 dtrace_dof_error(dof, "invalid probe section"); 12726 int section; [all...] |