Home
last modified time | relevance | path

Searched refs:theKext (Results 1 – 7 of 7) sorted by relevance

/xnu-11215/libkern/
H A DOSKextLib.cpp68 if (theKext && theKext->isLoaded()) { in OSKextGetLoadTagForIdentifier()
69 result = theKext->getLoadTag(); in OSKextGetLoadTagForIdentifier()
72 if (theKext) { in OSKextGetLoadTagForIdentifier()
73 theKext->release(); in OSKextGetLoadTagForIdentifier()
97 if (theKext) { in OSKextRetainKextWithLoadTag()
100 OSKextLog(theKext, in OSKextRetainKextWithLoadTag()
104 theKext->getIdentifierCString(), in OSKextRetainKextWithLoadTag()
111 OSKextLog(theKext, in OSKextRetainKextWithLoadTag()
141 if (theKext) { in OSKextReleaseKextWithLoadTag()
146 OSKextLog(theKext, in OSKextReleaseKextWithLoadTag()
[all …]
/xnu-11215/libkern/c++/
H A DOSRuntime.cpp171 OSKext * theKext, in OSRuntimeCallStructorsInSection() argument
265 OSKext * theKext) in OSRuntimeFinalizeCPP() argument
279 if (theKext) { in OSRuntimeFinalizeCPP()
284 kmodInfo = theKext->kmod_info; in OSRuntimeFinalizeCPP()
290 if (theKext->flags.builtin) { in OSRuntimeFinalizeCPP()
336 if (theKext) { in OSRuntimeFinalizeCPP()
337 theKext->setCPPInitialized(false); in OSRuntimeFinalizeCPP()
456 if (theKext) { in OSRuntimeInitializeCPP()
462 kmodInfo = theKext->kmod_info; in OSRuntimeInitializeCPP()
469 if (theKext->flags.builtin) { in OSRuntimeInitializeCPP()
[all …]
H A DOSKext.cpp652 OSKextLog(theKext, in kern_allocate()
664 OSKextLog(theKext, in kern_allocate()
676 OSKextLog(theKext, in kern_allocate()
684 OSKextLog(theKext, in kern_allocate()
6096 if (!theKext) { in loadKextWithIdentifier()
6164 OSKextLog(theKext, in loadKextWithIdentifier()
6178 OSKextLog(theKext, in loadKextWithIdentifier()
6293 theKext->getIdentifierCString(), theKext->getKCTypeString()); in loadKextFromKC()
10139 if (!theKext) {
10440 theKext &&
[all …]
H A DOSMetaClass.cpp1018 OSKext * theKext = NULL; // must release in modHasInstance() local
1020 theKext = OSKext::lookupKextWithIdentifier(kextIdentifier); in modHasInstance()
1021 if (!theKext) { in modHasInstance()
1025 result = theKext->hasOSMetaClassInstances(); in modHasInstance()
1028 OSSafeReleaseNULL(theKext); in modHasInstance()
/xnu-11215/libsa/
H A Dbootstrap.cpp510 OSKext * theKext = NULL;// don't release in loadSecurityExtensions() local
541 theKext = OSDynamicCast(OSKext, extensionsDict->getObject(bundleID)); in loadSecurityExtensions()
542 if (!theKext) { in loadSecurityExtensions()
546 if (kOSBooleanTrue == theKext->getPropertyForHostArch(kAppleSecurityExtensionKey)) { in loadSecurityExtensions()
575 OSSharedPtr<OSKext> theKext; in loadKernelComponentKexts() local
579 theKext = OSKext::lookupKextWithIdentifier(*kextIDPtr); in loadKernelComponentKexts()
581 if (theKext) { in loadKernelComponentKexts()
613 OSKext * theKext = NULL;// don't release in loadKernelExternalComponents() local
645 theKext = OSDynamicCast(OSKext, extensionsDict->getObject(bundleID)); in loadKernelExternalComponents()
646 if (!theKext) { in loadKernelExternalComponents()
[all …]
/xnu-11215/iokit/Kernel/
H A DIOCatalogue.cpp582 OSSharedPtr<OSKext> theKext; in personalityIsBoot() local
588 theKext = OSKext::lookupKextWithIdentifier(moduleName->getCStringNoCopy()); in personalityIsBoot()
589 if (!theKext) { in personalityIsBoot()
592 switch (theKext->kc_type) { in personalityIsBoot()
/xnu-11215/libkern/libkern/c++/
H A DOSKext.h830 static OSReturn loadKextFromKC(OSKext *theKext, OSDictionary *requestDict);