Lines Matching refs:theKext

647 	OSKext      * theKext      = (OSKext *)user_data;  in kern_allocate()  local
652 OSKextLog(theKext, in kern_allocate()
656 theKext->getIdentifierCString()); in kern_allocate()
664 OSKextLog(theKext, in kern_allocate()
668 theKext->getIdentifierCString()); in kern_allocate()
676 OSKextLog(theKext, in kern_allocate()
680 theKext->getIdentifierCString()); in kern_allocate()
684 OSKextLog(theKext, in kern_allocate()
688 theKext->getIdentifierCString(), in kern_allocate()
691 theKext->setLinkedExecutable(linkBuffer.get()); in kern_allocate()
715 OSKext *theKext = (OSKext *) user_data; in kxld_log_callback() local
748 OSKextVLog(theKext, logSpec, format, argList); in kxld_log_callback()
6078 OSKext * theKext = NULL; // do not release in loadKextWithIdentifier() local
6095 theKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextIdentifier)); in loadKextWithIdentifier()
6096 if (!theKext) { in loadKextWithIdentifier()
6107 OSKextLog(theKext, in loadKextWithIdentifier()
6141 OSKextLog(theKext, in loadKextWithIdentifier()
6161 result = theKext->load(startOpt, startMatchingOpt, personalityNames); in loadKextWithIdentifier()
6164 OSKextLog(theKext, in loadKextWithIdentifier()
6170 if (theKext->kc_type == KCKindUnknown) { in loadKextWithIdentifier()
6171 OSKext::removeKext(theKext, in loadKextWithIdentifier()
6178 OSKextLog(theKext, in loadKextWithIdentifier()
6183 theKext->flags.delayAutounload = 1; in loadKextWithIdentifier()
6188 *kextRef = theKext; in loadKextWithIdentifier()
6189 theKext->matchingRefCount++; in loadKextWithIdentifier()
6190 theKext->retain(); in loadKextWithIdentifier()
6202 OSKext::loadKextFromKC(OSKext *theKext, OSDictionary *requestDict) in loadKextFromKC() argument
6267 theKext->getIdentifierCString()); in loadKextFromKC()
6270 OSKext::recordIdentifierRequest(OSDynamicCast(OSString, theKext->getIdentifier())); in loadKextFromKC()
6275 result = theKext->load(startKextExcludeLevel, in loadKextFromKC()
6279 OSKextLog(theKext, in loadKextFromKC()
6283 theKext->getIdentifierCString(), (int)result); in loadKextFromKC()
6285 OSKext::removeKext(theKext, in loadKextFromKC()
6289 OSKextLog(theKext, in loadKextFromKC()
6293 theKext->getIdentifierCString(), theKext->getKCTypeString()); in loadKextFromKC()
6297 OSKextLog(theKext, in loadKextFromKC()
6301 theKext->getIdentifierCString()); in loadKextFromKC()
6302 theKext->flags.delayAutounload = 1; in loadKextFromKC()
10136 OSSharedPtr<OSKext> theKext; local
10138 theKext = OSKext::lookupKextWithIdentifier(kextIdentifier);
10139 if (!theKext) {
10143 theKext->reportOSMetaClassInstances(msgLogSpec);
10300 OSKext * theKext = NULL; // do not release local
10434 theKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextIdentifier));
10440 theKext &&
10441 theKext->isInFileset() &&
10442 theKext->kc_type != KCKindPrimary) {
10458 } else if (!theKext) {
10466 result = theKext->start();
10474 } else if (!theKext) {
10482 result = theKext->stop();
10501 } else if (!theKext) {
10508 } else if (!theKext->isInFileset()) {
10516 result = OSKext::loadKextFromKC(theKext, requestDict);
10533 } else if (!theKext) {
10541 if (theKext->isDriverKit()) {
10542 result = OSKext::removeDext(theKext);
10547 result = OSKext::removeKext(theKext, terminateFlag == kOSBooleanTrue);
14840 OSKext * theKext = NULL; // do not release local
14858 theKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextID));
14859 if (theKext->flags.requireExplicitLoad) {
14860 OSKextLog(theKext,
14865 theKext->getIdentifierCString());
14866 } else if (!sSafeBoot || !filterSafeBootFlag || theKext->isLoadableInSafeBoot()) {
14867 personalities = theKext->copyPersonalitiesArray();
14874 OSKextLog(theKext,
14879 theKext->getIdentifierCString());
16139 OSKext * theKext = OSDynamicCast(OSKext, rawKext); local
16151 if (!theKext) {
16159 if (theKext->isKernelComponent()) {
16163 kmod_info_t * kmod_info = theKext->kmod_info;
16174 if ((libsFlag == 0 && theKext->getCompatibleVersion() > 1) ||
16175 (libsFlag == 1 && theKext->getCompatibleVersion() < 1)) {