Lines Matching refs:theKext
57 OSKext * theKext = NULL; // must release
63 theKext = OSKext::lookupKextWithIdentifier(kextIdentifier);
64 if (theKext && theKext->isLoaded()) {
65 result = theKext->getLoadTag();
68 if (theKext) theKext->release();
77 OSKext * theKext = NULL; // do not release; as this function is a retain
83 theKext = OSKext::lookupKextWithLoadTag(loadTag);
84 if (theKext) {
87 OSKextLog(theKext,
91 theKext->getIdentifierCString(),
96 theKext->setAutounloadEnabled(true);
98 OSKextLog(theKext,
113 OSKext * theKext = NULL; // must release twice!
119 theKext = OSKext::lookupKextWithLoadTag(loadTag);
120 if (theKext) {
123 theKext->release(); // do the release the caller wants
124 theKext->release(); // now do the release on the lookup
125 OSKextLog(theKext,
129 theKext->getIdentifierCString(),
132 OSKextLog(theKext,