Lines Matching refs:segment
86 extern void OSRuntimeUnloadCPPForSegment(struct segment_command * segment);
1371 /* Now seek out the const section of the TEXT segment, bailing if not found.
1423 * Construct a TEXT segment load command. The only content of the TEXT
1424 * segment that we actually copy is the __TEXT,__const, which contains the
1453 * Now copy the __DATA segment load command, but none of its content.
1531 * Drop the LINKEDIT segment from the running kernel to recover wired memory.
1563 /* The semantic is "make sure the linkedit segment is freed", so if we
1570 // The in-kernel linker requires the linkedit segment to function.
1573 printf("can't remove kernel __LINKEDIT segment - in-kernel linker needs it\n");
1597 printf("error removing kernel __LINKEDIT segment\n");