Lines Matching refs:OSKext

162 static void OSKextLogKextInfo(OSKext *aKext, uint64_t address, uint64_t size, firehose_tracepoint_c…
362 static OSKext * sKernelKext = NULL;
585 static int OSKextGrabPgoDataLocked(OSKext *kext,
647 OSKext * theKext = (OSKext *)user_data; in kern_allocate()
715 OSKext *theKext = (OSKext *) user_data; in kxld_log_callback()
794 OSDefineMetaClassAndStructors(OSKext, OSObject)
813 OSKext *
814 OSKext::allocAndInitFakeKext(kmod_info_t *kmod_info) in allocAndInitFakeKext()
860 OSKext *fakeKext = new OSKext; in allocAndInitFakeKext()
964 OSKext::initialize(void) in initialize()
1059 OSKext *SPTMKext = allocAndInitFakeKext(&g_sptm_kmod_info); in initialize()
1060 OSKext *TXMKext = allocAndInitFakeKext(&g_txm_kmod_info); in initialize()
1156 OSKext::removeKextBootstrap(void) in removeKextBootstrap()
1363 OSKext::jettisonFileSetLinkeditSegment(mh); in removeKextBootstrap()
1383 OSKext::jettisonFileSetLinkeditSegment(mh); in removeKextBootstrap()
1401 OSKext::flushNonloadedKexts( in flushNonloadedKexts()
1421 OSKext::considerDestroyingLinkContext(); in flushNonloadedKexts()
1437 OSKext * thisKext = OSDynamicCast(OSKext, obj); in flushNonloadedKexts()
1467 OSKext * thisKext = OSDynamicCast(OSKext, obj); in flushNonloadedKexts()
1478 OSKext * thisKext = OSDynamicCast(OSKext, obj); in flushNonloadedKexts()
1493 OSKext::flushNonloadedKexts( in flushNonloadedKexts()
1512 OSKext * thisKext = OSDynamicCast(OSKext, obj); in flushNonloadedKexts()
1530 OSKext::setIOKitDaemonActive(bool active) in setIOKitDaemonActive()
1536 OSKext::pingIOKitDaemon(); in setIOKitDaemonActive()
1553 OSKext::pingIOKitDaemon(void) in pingIOKitDaemon()
1595 OSKext::driverkitEnabled(void) in driverkitEnabled()
1608 OSKext::iokitDaemonAvailable(void) in iokitDaemonAvailable()
1623 OSKext::setDeferredLoadSucceeded(Boolean succeeded) in setDeferredLoadSucceeded()
1637 OSKext::willShutdown(void) in willShutdown()
1646 OSKext::setLoadEnabled(false); in willShutdown()
1647 OSKext::setUnloadEnabled(false); in willShutdown()
1648 OSKext::setAutounloadsEnabled(false); in willShutdown()
1649 OSKext::setKernelRequestsEnabled(false); in willShutdown()
1653 OSKext::freeKCFileSetcontrol(); in willShutdown()
1672 OSKext::pingIOKitDaemon(); in willShutdown()
1682 OSKext::willUserspaceReboot(void) in willUserspaceReboot()
1684 OSKext::willShutdown(); in willUserspaceReboot()
1690 OSKext::resetAfterUserspaceReboot(void) in resetAfterUserspaceReboot()
1698 OSKext::removeDaemonExitRequests(); in resetAfterUserspaceReboot()
1699 OSKext::setLoadEnabled(true); in resetAfterUserspaceReboot()
1700 OSKext::setUnloadEnabled(true); in resetAfterUserspaceReboot()
1701 OSKext::setAutounloadsEnabled(true); in resetAfterUserspaceReboot()
1702 OSKext::setKernelRequestsEnabled(true); in resetAfterUserspaceReboot()
1710 OSKext::resetAfterUserspaceReboot(); in OSKextResetAfterUserspaceReboot()
1723 OSKext::removeDaemonExitRequests(void) in removeDaemonExitRequests()
1747 OSKext::getLoadEnabled(void) in getLoadEnabled()
1761 OSKext::setLoadEnabled(bool flag) in setLoadEnabled()
1785 OSKext::getUnloadEnabled(void) in getUnloadEnabled()
1799 OSKext::setUnloadEnabled(bool flag) in setUnloadEnabled()
1823 OSKext::getAutounloadEnabled(void) in getAutounloadEnabled()
1842 OSKext::setAutounloadsEnabled(bool flag) in setAutounloadsEnabled()
1876 OSKext::setAutounloadEnabled(bool flag) in setAutounloadEnabled()
1896 OSKext::setKernelRequestsEnabled(bool flag) in setKernelRequestsEnabled()
1919 OSKext::getKernelRequestsEnabled(void) in getKernelRequestsEnabled()
1952 OSSharedPtr<OSKext>
1953 OSKext::withPrelinkedInfoDict( in withPrelinkedInfoDict()
1958 OSSharedPtr<OSKext> newKext(OSMakeShared<OSKext>()); in withPrelinkedInfoDict()
1968 OSKext::parseDextUniqueID( in parseDextUniqueID()
1998 OSKext::setDextUniqueIDInPersonalities( in setDextUniqueIDInPersonalities()
2032 OSKext::initWithPrelinkedInfoDict( in initWithPrelinkedInfoDict()
2334 OSSharedPtr<OSKext>
2335 OSKext::withCodelessInfo(OSDictionary * anInfoDict, OSKextInitResult *result) in withCodelessInfo()
2337 OSSharedPtr<OSKext> newKext = OSMakeShared<OSKext>(); in withCodelessInfo()
2356 OSKext::initWithCodelessInfo(OSDictionary * anInfoDict) in initWithCodelessInfo()
2440 OSKext::setAllVMAttributes(void) in setAllVMAttributes()
2453 OSKext * thisKext; // do not release in setAllVMAttributes()
2455 thisKext = OSDynamicCast(OSKext, sKextsByID->getObject(thisID)); in setAllVMAttributes()
2477 OSSharedPtr<OSKext>
2478 OSKext::withBooterData( in withBooterData()
2482 OSSharedPtr<OSKext> newKext(OSMakeShared<OSKext>()); in withBooterData()
2503 OSKext::initWithBooterData( in initWithBooterData()
2662 OSKext::registerIdentifier(void) in registerIdentifier()
2665 OSKext * existingKext = NULL; // do not release in registerIdentifier()
2692 existingKext = OSDynamicCast(OSKext, sKextsByID->getObject(bundleID.get())); in registerIdentifier()
2978 OSKext::setInfoDictionaryAndPath( in setInfoDictionaryAndPath()
3155 OSKext::setExecutable( in setExecutable()
3267 OSKext::uniquePersonalityProperties(OSDictionary * personalityDict) in uniquePersonalityProperties()
3269 OSKext::uniquePersonalityProperties(personalityDict, true); in uniquePersonalityProperties()
3278 OSKext::uniquePersonalityProperties(OSDictionary * personalityDict, bool defaultAddKernelBundleIden… in uniquePersonalityProperties()
3317 OSKext::free(void) in free()
3363 OSKext::readMkextArchive(OSData * mkextData, in readMkextArchive()
3404 result = OSKext::readMkext2Archive(mkextData, NULL, checksumPtr); in readMkextArchive()
3428 OSKext::readMkext2Archive( in readMkext2Archive()
3583 OSSharedPtr<OSKext> newKext = OSKext::withMkext2Info(infoDict, mkextData); in readMkext2Archive()
3620 OSKext::readMkext2Archive( in readMkext2Archive()
3639 OSSharedPtr<OSKext>
3640 OSKext::withMkext2Info( in withMkext2Info()
3644 OSSharedPtr<OSKext> newKext = OSMakeShared<OSKext>(); in withMkext2Info()
3656 OSKext::initWithMkext2Info( in initWithMkext2Info()
3710 OSKext::createMkext2FileEntry( in createMkext2FileEntry()
3799 OSKext::extractMkext2FileData( in extractMkext2FileData()
3968 OSKext::loadFromMkext( in loadFromMkext()
4007 OSKext::setUserSpaceLogFilter(clientLogFilter, logInfoOut ? true : false); in loadFromMkext()
4124 result = OSKext::loadKextWithIdentifier( in loadFromMkext()
4145 logInfoArray = OSKext::clearUserSpaceLogFilter(); in loadFromMkext()
4148 tempResult = OSKext::serializeLogInfo(logInfoArray.get(), in loadFromMkext()
4155 OSKext::flushNonloadedKexts(/* flushPrelinkedKexts */ false); in loadFromMkext()
4180 OSKext::serializeLogInfo( in serializeLogInfo()
4252 OSSharedPtr<OSKext>
4253 OSKext::lookupKextWithIdentifier(const char * kextIdentifier) in lookupKextWithIdentifier()
4255 OSSharedPtr<OSKext> foundKext; in lookupKextWithIdentifier()
4258 foundKext.reset(OSDynamicCast(OSKext, sKextsByID->getObject(kextIdentifier)), OSRetain); in lookupKextWithIdentifier()
4266 OSSharedPtr<OSKext>
4267 OSKext::lookupKextWithIdentifier(OSString * kextIdentifier) in lookupKextWithIdentifier()
4269 return OSKext::lookupKextWithIdentifier(kextIdentifier->getCStringNoCopy()); in lookupKextWithIdentifier()
4274 OSSharedPtr<OSKext>
4275 OSKext::lookupDextWithIdentifier(OSString * dextIdentifier, OSData *dextUniqueIdentifier) in lookupDextWithIdentifier()
4277 OSSharedPtr<OSKext> foundDext; in lookupDextWithIdentifier()
4281 OSKext *dext = OSDynamicCast(OSKext, sKextsByID->getObject(dextIdentifier->getCStringNoCopy())); in lookupDextWithIdentifier()
4294 OSSharedPtr<OSKext>
4295 OSKext::lookupKextWithLoadTag(uint32_t aTag) in lookupKextWithLoadTag()
4297 OSSharedPtr<OSKext> foundKext; // returned in lookupKextWithLoadTag()
4306 OSKext * thisKext = OSDynamicCast(OSKext, list[j]->getObject(i)); in lookupKextWithLoadTag()
4322 OSSharedPtr<OSKext>
4323 OSKext::lookupKextWithAddress(vm_address_t address) in lookupKextWithAddress()
4325 OSSharedPtr<OSKext> foundKext; // returned in lookupKextWithAddress()
4343 OSKext * thisKext = OSDynamicCast(OSKext, sLoadedKexts->getObject(i)); in lookupKextWithAddress()
4391 OSKext * thisKext = OSDynamicCast(OSKext, sLoadedDriverKitKexts->getObject(i)); in lookupKextWithAddress()
4404 OSKext::copyKextUUIDForAddress(OSNumber *address) in copyKextUUIDForAddress()
4407 OSSharedPtr<OSKext> kext; in copyKextUUIDForAddress()
4459 OSSharedPtr<OSKext>
4460 OSKext::lookupKextWithUUID(uuid_t wanted) in lookupKextWithUUID()
4462 OSSharedPtr<OSKext> foundKext; // returned in lookupKextWithUUID()
4472 OSKext * thisKext = NULL; in lookupKextWithUUID()
4474 thisKext = OSDynamicCast(OSKext, list[j]->getObject(i)); in lookupKextWithUUID()
4506 OSKext::isKextWithIdentifierLoaded(const char * kextIdentifier) in isKextWithIdentifierLoaded()
4509 OSKext * foundKext = NULL; // returned in isKextWithIdentifierLoaded()
4513 foundKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextIdentifier)); in isKextWithIdentifierLoaded()
4529 OSKext::removeKext( in removeKext()
4530 OSKext * aKext, in removeKext()
4548 OSKext * checkKext = NULL; // do not release in removeKext()
4564 checkKext = OSDynamicCast(OSKext, in removeKext()
4669 OSKext::removeKextWithIdentifier( in removeKextWithIdentifier()
4677 OSKext * aKext = OSDynamicCast(OSKext, in removeKextWithIdentifier()
4689 result = OSKext::removeKext(aKext, in removeKextWithIdentifier()
4702 OSKext::removeKextWithLoadTag( in removeKextWithLoadTag()
4707 OSKext * foundKext = NULL; in removeKextWithLoadTag()
4717 OSKext * thisKext = OSDynamicCast(OSKext, list[j]->getObject(i)); in removeKextWithLoadTag()
4735 result = OSKext::removeKext(foundKext, in removeKextWithLoadTag()
4747 OSKext::copyKexts(void) in copyKexts()
4772 OSKext::createExcludeListFromBooterData( in createExcludeListFromBooterData()
4866 OSKext::createExcludeListFromPrelinkInfo( OSArray * theInfoArray ) in createExcludeListFromPrelinkInfo()
4897 OSKext::updateExcludeList(OSDictionary *infoDict) in updateExcludeList()
4942 OSKext::getBundleExecutable(void) in getBundleExecutable()
4950 OSKext::getIdentifier(void) in getIdentifier()
4960 OSKext::getIdentifierCString(void) in getIdentifierCString()
4968 OSKext::getVersion(void) in getVersion()
4976 OSKext::getCompatibleVersion(void) in getCompatibleVersion()
4984 OSKext::isLibrary(void) in isLibrary()
4992 OSKext::isCompatibleWithVersion(OSKextVersion aVersion) in isCompatibleWithVersion()
5004 OSKext::declaresExecutable(void) in declaresExecutable()
5015 OSKext::getExecutable(void) in getExecutable()
5078 OSKext::isInterface(void) in isInterface()
5086 OSKext::isKernel(void) in isKernel()
5094 OSKext::isKernelComponent(void) in isKernelComponent()
5102 OSKext::isExecutable(void) in isExecutable()
5110 OSKext::isSpecialKernelBinary(void) in isSpecialKernelBinary()
5134 OSKext::isLoadableInSafeBoot(void) in isLoadableInSafeBoot()
5169 OSKext::isPrelinked(void) in isPrelinked()
5177 OSKext::isLoaded(void) in isLoaded()
5185 OSKext::isStarted(void) in isStarted()
5193 OSKext::isCPPInitialized(void) in isCPPInitialized()
5201 OSKext::setCPPInitialized(bool initialized) in setCPPInitialized()
5209 OSKext::getLoadTag(void) in getLoadTag()
5217 OSKext::getSizeInfo(uint32_t *loadSize, uint32_t *wiredSize) in getSizeInfo()
5239 OSKext::copyUUID(void) in copyUUID()
5283 OSKext::copyTextUUID(void) in copyTextUUID()
5294 OSKext::copyMachoUUID(const kernel_mach_header_t * header) in copyMachoUUID()
5326 OSKext::setDriverKitUUID(OSData *uuid) in setDriverKitUUID()
5334 OSKext::getDextUniqueID(void) in getDextUniqueID()
5388 OSKext::replaceDextInternal(OSKext *olddext, OSKext *newdext) in replaceDextInternal()
5468 OSKext::upgradeDext(OSKext *olddext, OSKext *newdext) in upgradeDext()
5542 OSKext::removeDext(OSKext *dext) in removeDext()
5585 OSKext::incrementDextLaunchCount(OSKext *dext, OSData *dextUniqueIDToMatch) in incrementDextLaunchCount()
5655 OSKext::decrementDextLaunchCount(OSString *bundleID) in decrementDextLaunchCount()
5662 OSKext* dext = NULL; in decrementDextLaunchCount()
5679 dext = OSDynamicCast(OSKext, sKextsByID->getObject(dextIDCS)); in decrementDextLaunchCount()
5721 OSKext *newdext = OSDynamicCast(OSKext, sDriverKitToUpgradeByID->getObject(dextIDCS)); in decrementDextLaunchCount()
5811 OSKext::getPropertyForHostArch(const char * key) in getPropertyForHostArch()
5874 OSKext::isInExcludeList(void) in isInExcludeList()
5983 OSKext::isLoadable(void) in isLoadable()
6013 OSKext::loadKextWithIdentifier( in loadKextWithIdentifier()
6029 result = OSKext::loadKextWithIdentifier(kextIdentifier.get(), in loadKextWithIdentifier()
6039 OSKext::loadKextWithIdentifier( in loadKextWithIdentifier()
6067 OSKext::loadKextWithIdentifier( in loadKextWithIdentifier()
6078 OSKext * theKext = NULL; // do not release in loadKextWithIdentifier()
6093 OSKext::recordIdentifierRequest(kextIdentifier); in loadKextWithIdentifier()
6095 theKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextIdentifier)); in loadKextWithIdentifier()
6148 pingResult = OSKext::pingIOKitDaemon(); in loadKextWithIdentifier()
6171 OSKext::removeKext(theKext, in loadKextWithIdentifier()
6202 OSKext::loadKextFromKC(OSKext *theKext, OSDictionary *requestDict) in loadKextFromKC()
6270 OSKext::recordIdentifierRequest(OSDynamicCast(OSString, theKext->getIdentifier())); in loadKextFromKC()
6285 OSKext::removeKext(theKext, in loadKextFromKC()
6315 OSKext::loadCodelessKext(OSString *kextIdentifier, OSDictionary *requestDict) in loadCodelessKext()
6344 OSSharedPtr<OSKext> newKext = OSKext::withCodelessInfo(anInfoDict, &ret); in loadCodelessKext()
6369 OSKext::removeKext(newKext.get(), false); in loadCodelessKext()
6375 OSKext::recordIdentifierRequest(OSDynamicCast(OSString, newKext->getIdentifier())); in loadCodelessKext()
6392 OSKext::dropMatchingReferences( in dropMatchingReferences()
6397 OSKext * thisKext = OSDynamicCast(OSKext, obj); in dropMatchingReferences()
6411 OSKext::recordIdentifierRequest( in recordIdentifierRequest()
6459 OSKext::load( in load()
6469 OSKext * lastLoadedKext = NULL; // do not release in load()
6671 OSKext * dependency = OSDynamicCast(OSKext, in load()
6697 OSKext::removeKext(dependency, in load()
6744 lastLoadedKext = OSDynamicCast(OSKext, sLoadedKexts->getLastObject()); in load()
6772 OSKext::saveLoadedKextPanicList(); in load()
6775 OSKext::updateLoadedKextSummaries(); in load()
6869 OSKext::lookupSection(const char *segname, const char *secname) in lookupSection()
6904 OSKext::slidePrelinkedExecutable(bool doCoalescedSlides) in slidePrelinkedExecutable()
7154 OSKext::loadExecutable() in loadExecutable()
7274 OSKext * dependencyKext = OSDynamicCast(OSKext, in loadExecutable()
7302 OSKext * dependency = OSDynamicCast(OSKext, linkDependencies->getObject(i)); in loadExecutable()
7305 OSKext *interfaceTargetKext = NULL; //do not release in loadExecutable()
7312 interfaceTargetKext = OSDynamicCast(OSKext, in loadExecutable()
7448 OSKext * refKext = OSDynamicCast(OSKext, dependencies->getObject(refIndex)); in loadExecutable()
7582 OSKext::jettisonFileSetLinkeditSegment(kernel_mach_header_t *mh) in jettisonFileSetLinkeditSegment()
7625 OSKext::jettisonLinkeditSegment(void)
7717 OSKext::jettisonDATASegmentPadding(void)
7776 OSKext::setLinkedExecutable(OSData * anExecutable)
7794 OSKext::registerKextsWithDTrace(void)
7802 OSKext * thisKext = NULL; // do not release
7804 thisKext = OSDynamicCast(OSKext, sLoadedKexts->getObject(i));
7825 OSKext::registerWithDTrace(void)
7863 OSKext::unregisterWithDTrace(void)
7967 OSKext::setVMAttributes(bool protect, bool wire)
8099 OSKext::segmentShouldBeWired(kernel_segment_command_t *seg)
8108 OSKext::validateKextMapping(bool startFlag)
8297 OSKext::verifySegmentMapping(kernel_segment_command_t *seg)
8329 OSKextLogKextInfo(OSKext *aKext, uint64_t address, uint64_t size, firehose_tracepoint_code_t code)
8357 OSKext::OSKextLogDriverKitInfoLoad(OSKext *kext)
8365 OSKext::start(bool startDependenciesFlag)
8406 OSKext * dependency = OSDynamicCast(OSKext, dependencies->getObject(i));
8490 OSKext::canUnloadKextWithIdentifier(
8495 OSKext * aKext = NULL; // do not release
8499 aKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextIdentifier));
8524 OSKext::stop(void)
8621 OSKext::unload(void)
8755 OSKext * nextKext = OSDynamicCast(OSKext,
8760 OSKext * gapKext = OSDynamicCast(OSKext,
8769 OSKext * lastKext = OSDynamicCast(OSKext, sLoadedKexts->getLastObject());
8929 OSKext::saveLoadedKextPanicList();
8930 OSKext::updateLoadedKextSummaries();
8941 OSKext::queueKextNotification(
8983 OSKext::pingIOKitDaemon();
9044 OSKext::considerDestroyingLinkContext(void)
9078 OSKext::considerDestroyingLinkContext(void)
9094 OSKext::autounloadKext(OSKext * aKext)
9136 result = OSKext::removeKext(aKext);
9158 OSKext::flushNonloadedKexts(/* flushPrelinkedKexts */ true);
9185 OSKext::invokeRequestCallback(callbackRecord,
9211 OSKext * thisKext = OSDynamicCast(OSKext,
9213 didUnload |= (kOSReturnSuccess == OSKext::autounloadKext(thisKext));
9222 (void) OSKext::considerRebuildOfPrelinkedKernel();
9234 OSKext::considerUnloads(Boolean rescheduleOnlyFlag)
9252 if (OSKext::getAutounloadEnabled() && !sSystemSleep
9280 OSKext::considerDestroyingLinkContext();
9332 OSKext::considerRebuildOfPrelinkedKernel(void)
9403 OSKext * thisKext; // do not release
9405 thisKext = OSDynamicCast(OSKext, sKextsByID->getObject(thisID));
9438 OSKext::pingIOKitDaemon();
9449 OSKext::considerRebuildOfPrelinkedKernel(void)
9463 OSKext::resolveDependencies(
9472 OSKext * libraryKext = NULL; // do not release
9606 libraryKext = OSDynamicCast(OSKext, sKextsByID->getObject(libraryID));
9682 OSKext * thisLibDependency = OSDynamicCast(OSKext,
9757 OSKext * kernelKext = OSDynamicCast(OSKext,
9785 OSKext * dependencyKext = OSDynamicCast(OSKext,
9863 OSKext::addBleedthroughDependencies(OSArray * anArray)
9873 OSKext * dependency = OSDynamicCast(OSKext,
9898 OSKext::flushDependencies(bool forceFlag)
9927 OSKext::getNumDependencies(void)
9938 OSKext::getDependencies(void)
9944 OSKext::hasDependency(const OSSymbol * depID)
9956 OSKext * kext;
9957 kext = OSDynamicCast(OSKext, obj);
9973 OSKext::addClass(
10046 OSKext::removeClass(
10094 OSKext::getMetaClasses(void)
10102 OSKext::hasOSMetaClassInstances(void)
10132 OSKext::reportOSMetaClassInstances(
10136 OSSharedPtr<OSKext> theKext;
10138 theKext = OSKext::lookupKextWithIdentifier(kextIdentifier);
10151 OSKext::reportOSMetaClassInstances(OSKextLogSpec msgLogSpec)
10254 OSKext::iokitDaemonActive()
10268 OSKext::handleRequest(
10300 OSKext * theKext = NULL; // do not release
10315 OSKext::setUserSpaceLogFilter(clientLogFilter, logInfoOut ? true : false);
10434 theKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextIdentifier));
10485 result = OSKext::setMissingAuxKCBundles(requestDict);
10493 result = OSKext::setAuxKCBundleAvailable(kextIdentifier, requestDict);
10516 result = OSKext::loadKextFromKC(theKext, requestDict);
10525 result = OSKext::loadCodelessKext(kextIdentifier, requestDict);
10542 result = OSKext::removeDext(theKext);
10547 result = OSKext::removeKext(theKext, terminateFlag == kOSBooleanTrue);
10551 result = OSKext::dispatchResource(requestDict);
10558 responseObject = OSKext::copyKextUUIDForAddress(lookupNum);
10581 OSKext::considerUnloads(/* rescheduleOnly? */ true);
10609 responseObject = OSKext::copyLoadedKextInfo(kextIdentifiers, infoKeys);
10611 responseObject = OSKext::copyLoadedKextInfoByUUID(kextIdentifiers, infoKeys);
10613 responseObject = OSKext::copyKextCollectionInfo(requestDict, infoKeys);
10615 responseObject = OSKext::copyDextsInfo(kextIdentifiers, infoKeys);
10649 result = OSKext::loadFileSetKexts(requestDict);
10756 logInfoArray = OSKext::clearUserSpaceLogFilter();
10759 (void)OSKext::serializeLogInfo(logInfoArray.get(),
10864 OSKext::addKextsFromKextCollection(kernel_mach_header_t *mh,
10985 OSKext::addKextsFromKextCollection(kernel_mach_header_t *mh,
11003 OSKext::registerDeferredKextCollection(kernel_mach_header_t *mh,
11053 OSKext::consumeDeferredKextCollection(kc_kind_t type)
11120 OSKextPgoMetadataPutAll(OSKext *kext,
11175 OSKextPgoMetadataSize(OSKext *kext)
11184 OSKextGrabPgoDataLocked(OSKext *kext,
11287 OSSharedPtr<OSKext> kext;
11292 kext = OSKext::lookupKextWithUUID(uuid);
11359 OSKext *kext = OSDynamicCast(OSKext, sLoadedKexts->getObject(i));
11369 OSKext::copyLoadedKextInfoByUUID(
11424 OSKext *thisKext = NULL; // do not release
11431 thisKext = OSDynamicCast(OSKext, list[j]->getObject(i));
11503 OSKext::copyKextCollectionInfo(
11607 OSKext *thisKext = NULL; // do not release
11612 thisKext = OSDynamicCast(OSKext, obj);
11651 OSKext::copyDextsInfo(
11740 OSKext *thisKext = NULL; // do not release
11745 thisKext = OSDynamicCast(OSKext, obj);
11797 OSKext *thisKext = NULL; // do not release
11802 thisKext = OSDynamicCast(OSKext, obj);
11849 OSKext::copyLoadedKextInfo(
11940 OSKext * thisKext = NULL; // do not release
11944 thisKext = OSDynamicCast(OSKext, obj);
11997 OSKext::copyInfo(OSArray * infoKeys)
12595 OSKext * dependency = OSDynamicCast(OSKext,
12688 OSKext::copyUserExecutablePath(const OSSymbol * bundleID, char * pathResult, size_t pathSize)
12691 OSSharedPtr<OSKext> kext;
12694 kext.reset(OSDynamicCast(OSKext, sKextsByID->getObject(bundleID)), OSRetain);
12712 OSKext::requestResource(
12720 OSSharedPtr<OSKext> callbackKext; // looked up
12755 callbackKext = OSKext::lookupKextWithAddress((vm_address_t)callback);
12846 OSKext::pingIOKitDaemon();
12871 OSKext::considerUnloads(/* rescheduleOnly? */ true);
12879 OSKext::requestDaemonLaunch(
12950 result = OSKext::pingIOKitDaemon();
12965 OSKext::notifyDextUpgrade(
13003 OSKext::pingIOKitDaemon();
13020 OSKext::dequeueCallbackForRequestTag(
13037 OSKext::dequeueCallbackForRequestTag(
13050 result = OSKext::dequeueCallbackForRequestTag(requestTagNum.get(),
13062 OSKext::dequeueCallbackForRequestTag(
13079 OSKext::dequeueCallbackForRequestTag(
13131 OSKext::pendingIOKitDaemonRequests(void)
13163 OSKext::loadFileSetKexts(OSDictionary * requestDict __unused)
13233 ret = OSKext::loadKCFileSet(pageable_filepath->getCStringNoCopy(), KCKindPageable);
13294 added = OSKext::addKextsFromKextCollection(akc_mh, infoDict,
13338 ret = OSKext::loadKCFileSet(aux_filepath->getCStringNoCopy(), KCKindAuxiliary);
13378 OSKext::withCodelessInfo(infoDict, NULL);
13389 OSKext::sendAllKextPersonalitiesToCatalog(true);
13397 OSKext::setIOKitDaemonActive();
13398 OSKext::setDeferredLoadSucceeded(TRUE);
13403 OSKext::setIOKitDaemonActive();
13424 OSKext::resetMutableSegments(void)
13474 OSKext::loadKCFileSet(
13544 err = OSKext::mapKCFileSet(fileset_control, (vm_size_t)fsize, &mh, 0, &slide, pageable, NULL);
13584 OSKext::mapKCFileSet(
13657 err = OSKext::mapKCFileSet(control, 0, &k_mh, fse->fileoff, slidep, pageable, map_entry_list);
13758 err = OSKext::validateKCFileSetUUID(infoDict, pageable ? KCKindPageable : KCKindAuxiliary);
13765 OSKext::protectKCFileSet(*mhp, pageable ? KCKindPageable : KCKindAuxiliary);
13767 OSKext::addKextsFromKextCollection(*mhp,
13795 OSKext::mapKCTextSegment(
13900 OSKext::protectKCFileSet(
13961 OSKext::freeKCFileSetcontrol(void)
13975 OSKext::resetKCFileSetSegments(void)
14032 err = OSKext::mapKCFileSet(fileset_control, 0, &k_mh, text_fileoff, &slide, pageable, NULL);
14179 OSKext::validateKCFileSetUUID(
14191 …ret = OSKext::validateKCUUIDfromPrelinkInfo(&kernelcache_uuid, type, infoDict, kPrelinkInfoBootKCI…
14205 …ret = OSKext::validateKCUUIDfromPrelinkInfo(&pageablekc_uuid, type, infoDict, kPrelinkInfoPageable…
14222 OSKext::validateKCUUIDfromPrelinkInfo(
14282 OSKext::dispatchResource(OSDictionary * requestDict)
14295 OSSharedPtr<OSKext> callbackKext;
14345 callbackKext = OSKext::lookupKextWithAddress((vm_address_t)callback);
14374 OSKext::setMissingAuxKCBundles(OSDictionary * requestDict)
14409 OSKext::setAuxKCBundleAvailable(OSString *kextIdentifier, OSDictionary *requestDict)
14447 OSKext::invokeRequestCallback(
14473 OSKext::dispatchResource(callbackRecord);
14485 OSKext::cancelRequest(
14494 result = OSKext::dequeueCallbackForRequestTag(requestTag,
14512 OSKext::invokeOrCancelRequestCallbacks(
14563 OSKext::countRequestCallbacks(void)
14833 OSKext::copyAllKextPersonalities(bool filterSafeBootFlag)
14840 OSKext * theKext = NULL; // do not release
14858 theKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextID));
14893 OSKext::sendAllKextPersonalitiesToCatalog(bool startMatching)
14904 OSSharedPtr<OSArray> personalities = OSKext::copyAllKextPersonalities(
14926 OSKext::copyPersonalitiesArray(void)
14984 OSKext::sendPersonalitiesToCatalog(
15063 OSKext::removePersonalitiesFromCatalog(void)
15089 OSKext::updatePersonalitiesInCatalog(OSArray *upgradedPersonalities)
15117 OSKext::setUserSpaceLogFilter(
15171 OSKext::clearUserSpaceLogFilter(void)
15216 OSKext::getUserSpaceLogFilter(void)
15317 OSKext * aKext,
15330 OSKext * aKext,
15529 OSSharedPtr<OSKext> myKext;
15535 myKext = OSKext::lookupKextWithAddress((vm_address_t) *(myPtrPtr));
15565 OSSharedPtr<OSKext> myKext;
15571 myKext = OSKext::lookupKextWithAddress((vm_address_t) numberValue );
15615 OSKext::printKextsInBacktrace(
15663 OSKext::foreachKextInBacktrace(
15703 OSKext::summaryIsInBacktrace(
15729 OSKext::summaryForAddress(uintptr_t addr)
15767 OSKext::kextForAddress(const void *address)
15770 OSKext * kext = NULL;
15825 OSKext::summaryForAddressExt(
15877 OSKext::printSummary(
16121 OSKext::saveLoadedKextPanicListTyped(
16139 OSKext * theKext = OSDynamicCast(OSKext, rawKext);
16222 OSKext::saveLoadedKextPanicList(void)
16241 if (OSKext::saveLoadedKextPanicListTyped("com.apple.", /* invert? */ 1,
16246 if (OSKext::saveLoadedKextPanicListTyped("com.apple.", /* invert? */ 0,
16251 if (OSKext::saveLoadedKextPanicListTyped("com.apple.", /* invert? */ 0,
16274 OSKext::savePanicString(bool isLoading)
16310 OSKext::printKextPanicLists(int (*printf_func)(const char *fmt, ...))
16344 OSKext::updateLoadedKextSummaries(void)
16349 OSKext *aKext;
16373 aKext = OSDynamicCast(OSKext, sLoadedKexts->getObject(i));
16433 aKext = OSDynamicCast(OSKext, sLoadedKexts->getObject(i));
16446 aKext = OSDynamicCast(OSKext, sLoadedKexts->getObject(i));
16512 OSKext::updateLoadedKextSummary(OSKextLoadedKextSummary *summary)
16561 OSKext::updateActiveAccount(OSKextActiveAccount *accountp)
16603 OSKext::isDriverKit(void)
16617 OSKext::isInFileset(void)
16643 OSKext::copyDextStatistics(void)
16827 OSSharedPtr<OSKext> kext = OSKext::lookupKextWithIdentifier(name);
16970 OSKext::willUserspaceReboot();