Lines Matching refs:theKext

99 static void * GetAppleTEXTHashForKext(OSKext * theKext, OSDictionary *theInfoDict);
425 OSKext * theKext = (OSKext *)user_data;
431 OSKextLog(theKext,
435 theKext->getIdentifierCString());
443 OSKextLog(theKext,
447 theKext->getIdentifierCString());
452 OSKextLog(theKext,
456 theKext->getIdentifierCString(),
459 theKext->setLinkedExecutable(linkBuffer);
485 OSKext *theKext = (OSKext *) user_data;
518 OSKextVLog(theKext, logSpec, format, argList);
2351 OSKext * theKext = NULL; // must release
2397 OSSafeReleaseNULL(theKext);
2444 theKext = new OSKext;
2445 if (!theKext) {
2480 // xxx - should probably remove theKext
2489 if (!theKext->initWithMkext1Info(infoDict, mkextExecutableInfo,
2492 // theKext is released at the top of the loop or in the finish block
2509 OSSafeRelease(theKext);
4147 OSKext * theKext = NULL; // do not release
4160 theKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextIdentifier));
4161 if (!theKext) {
4172 OSKextLog(theKext,
4207 OSKextLog(theKext,
4227 result = theKext->load(startOpt, startMatchingOpt, personalityNames);
4230 OSKextLog(theKext,
4236 OSKext::removeKext(theKext,
4242 OSKextLog(theKext,
4247 theKext->flags.delayAutounload = 1;
7266 OSKext * theKext = NULL; // must release
7268 theKext = OSKext::lookupKextWithIdentifier(kextIdentifier);
7269 if (!theKext) {
7273 theKext->reportOSMetaClassInstances(msgLogSpec);
7275 OSSafeRelease(theKext);
7350 OSKext * theKext = NULL; // do not release
7438 theKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextIdentifier));
7451 } else if (!theKext) {
7459 result = theKext->start();
7468 } else if (!theKext) {
7476 result = theKext->stop();
7485 } else if (!theKext) {
7496 result = OSKext::removeKext(theKext, terminateFlag == kOSBooleanTrue);
8961 OSKext * theKext = NULL; // do not release
8988 theKext = OSDynamicCast(OSKext, sKextsByID->getObject(kextID));
8989 if (!sSafeBoot || !filterSafeBootFlag || theKext->isLoadableInSafeBoot()) {
8990 personalities = theKext->copyPersonalitiesArray();
8997 OSKextLog(theKext,
9002 theKext->getIdentifierCString());
10086 OSKext * theKext = OSDynamicCast(OSKext, rawKext);
10097 if (!theKext) {
10105 if (theKext->isKernelComponent()) {
10109 kmod_info_t * kmod_info = theKext->kmod_info;
10120 if ((libsFlag == 0 && theKext->getCompatibleVersion() > 1) ||
10121 (libsFlag == 1 && theKext->getCompatibleVersion() < 1)) {
10536 GetAppleTEXTHashForKext(OSKext * theKext, OSDictionary *theInfoDict)
10543 if (theKext == NULL || theInfoDict == NULL) {
10572 OSKextLog(theKext,
10576 theKext->getIdentifierCString(),