Lines Matching refs:theKext
99 OSKextRef theKext = NULL; // must release
126 theKext = OSKextCreateWithIdentifier(kCFAllocatorDefault, kextID);
127 if (!theKext) {
134 kextURL = OSKextGetURL(theKext);
162 SAFE_RELEASE(theKext);
1069 OSKextRef theKext = NULL; // must release
1212 theKext = OSKextGetKextWithIdentifier(kextID);
1213 if (theKext) {
1214 CFRetain(theKext); // we're going to release it
1221 theKext = OSKextCreate(kCFAllocatorDefault, kextAbsURL);
1222 if (theKext) {
1224 kextIDString = createUTF8CStringForCFString(OSKextGetIdentifier(theKext));
1232 if (!theKext) {
1242 result = checkNonrootLoadAllowed(theKext, remote_euid, remote_pid);
1249 if (OSKextIsInExcludeList(theKext, false)) {
1251 addKextToAlertDict(&myAlertInfoDict, theKext);
1260 messageTraceExcludedKext(theKext);
1306 OSStatus sigResult = checkKextSignature(theKext, true);
1308 if ( isInLibraryExtensionsFolder(theKext) ||
1315 myBundleID = OSKextGetIdentifier(theKext);
1329 addKextToAlertDict(&myAlertInfoDict, theKext);
1362 myKextPath = copyKextPath(theKext);
1374 recordKextLoadForMT(theKext);
1379 result = OSKextLoadWithOptions(theKext,
1386 loadList = OSKextCopyLoadList(theKext, /* needAll? */ false);
1394 SAFE_RELEASE(theKext);