Home
last modified time | relevance | path

Searched refs:OSSafeReleaseNULL (Results 1 – 25 of 28) sorted by relevance

12

/xnu-11215/iokit/Exclaves/
H A DExclaves.cpp146 OSSafeReleaseNULL(prop); in exclaveStart()
162 OSSafeReleaseNULL(prop); in exclaveStart()
168 OSSafeReleaseNULL(prop); in exclaveStart()
184 OSSafeReleaseNULL(prop); in exclaveStart()
703 OSSafeReleaseNULL(ies); in exclaveRegisterInterrupt()
746 OSSafeReleaseNULL(ies); in exclaveRemoveInterrupt()
781 OSSafeReleaseNULL(ies); in exclaveEnableInterrupt()
891 OSSafeReleaseNULL(tes); in exclaveRegisterTimer()
933 OSSafeReleaseNULL(tes); in exclaveRemoveTimer()
968 OSSafeReleaseNULL(tes); in exclaveEnableTimer()
[all …]
/xnu-11215/iokit/Kernel/
H A DIOUserServer.cpp1127 OSSafeReleaseNULL(md); in CompleteDMA_Impl()
1341 OSSafeReleaseNULL(obj); in OSActionCreateWithTypeNameInternal()
1342 OSSafeReleaseNULL(sym); in OSActionCreateWithTypeNameInternal()
1343 OSSafeReleaseNULL(inst); in OSActionCreateWithTypeNameInternal()
1532 OSSafeReleaseNULL(inst); in Create_Impl()
1788 OSSafeReleaseNULL(inst); in Create_Impl()
1795 OSSafeReleaseNULL(inst); in Create_Impl()
1800 OSSafeReleaseNULL(inst); in Create_Impl()
2301 OSSafeReleaseNULL(sym); in Create_Impl()
2683 OSSafeReleaseNULL(prop); in checkEntitlements()
[all …]
H A DIOExtensiblePaniclog.cpp69 OSSafeReleaseNULL(inst); in createWithUUID()
77 OSSafeReleaseNULL(inst); in createWithUUID()
172 OSSafeReleaseNULL(inst); in Create_Impl()
180 OSSafeReleaseNULL(inst); in Create_Impl()
188 OSSafeReleaseNULL(inst); in Create_Impl()
H A DIOService.cpp758 OSSafeReleaseNULL(prop); in getDebugFlags()
2176 OSSafeReleaseNULL(prop); in applyToInterestNotifiers()
2384 OSSafeReleaseNULL(prop); in unregisterAllInterest()
2388 OSSafeReleaseNULL(prop); in unregisterAllInterest()
2392 OSSafeReleaseNULL(prop); in unregisterAllInterest()
2396 OSSafeReleaseNULL(prop); in unregisterAllInterest()
2400 OSSafeReleaseNULL(prop); in unregisterAllInterest()
3707 OSSafeReleaseNULL(prop); in IOServiceObjectOrder()
4248 OSSafeReleaseNULL(num); in probeCandidates()
4804 OSSafeReleaseNULL(obj); in startCandidate()
[all …]
H A DIODeviceTreeSupport.cpp837 OSSafeReleaseNULL(map); in IODTMapInterruptsSharing()
838 OSSafeReleaseNULL(controller); in IODTMapInterruptsSharing()
883 OSSafeReleaseNULL(map); in IODTMapInterruptsSharing()
884 OSSafeReleaseNULL(controller); in IODTMapInterruptsSharing()
1132 OSSafeReleaseNULL(num); in IODTSetResolving()
1359 OSSafeReleaseNULL(regEntry); in IODTResolveAddressCell()
1367 OSSafeReleaseNULL(regEntry); in IODTResolveAddressCell()
1422 OSSafeReleaseNULL(range); in IODTResolveAddressing()
1432 OSSafeReleaseNULL(parentEntry); in IODTResolveAddressing()
1495 OSSafeReleaseNULL(parent); in IODTFindSlotName()
H A DIONVRAM.cpp1309 OSSafeReleaseNULL(_diags); in start()
1315 OSSafeReleaseNULL(_diags); in start()
1322 OSSafeReleaseNULL(_diags); in start()
1329 OSSafeReleaseNULL(_notifier); in start()
1335 OSSafeReleaseNULL(_notifier); in start()
1342 OSSafeReleaseNULL(_notifier); in start()
1358 OSSafeReleaseNULL(_systemService); in start()
1366 OSSafeReleaseNULL(_systemService); in start()
1383 OSSafeReleaseNULL(_commonService); in start()
1391 OSSafeReleaseNULL(_commonService); in start()
[all …]
H A DIOUserClient.cpp231 OSSafeReleaseNULL(machPort); in withObjectAndType()
400 OSSafeReleaseNULL(obj); in destroyUserReferences()
562 OSSafeReleaseNULL(s); in iokit_port_object_description()
563 OSSafeReleaseNULL(matching); in iokit_port_object_description()
975 OSSafeReleaseNULL(newSet); in free()
1370 OSSafeReleaseNULL(ioProperty); in CopyConsoleUser()
1391 OSSafeReleaseNULL(ioProperty); in CopyUserOnConsole()
2471 OSSafeReleaseNULL(name); in is_io_object_get_superclass()
2522 OSSafeReleaseNULL(name); in is_io_object_get_bundle_identifier()
6372 OSSafeReleaseNULL(object); in iokit_user_client_trap()
[all …]
H A DIOPlatformExpert.cpp173 OSSafeReleaseNULL(physicalRanges); in start()
211 OSSafeReleaseNULL(nub); in configure()
221 OSSafeReleaseNULL(nub); in configure()
1025 OSSafeReleaseNULL(node); in PEHaltRestartInternal()
1573 OSSafeReleaseNULL(prop); in callPlatformFunction()
1653 OSSafeReleaseNULL(nub); in createNubs()
1701 OSSafeReleaseNULL(nub); in createNubs()
H A DRootDomainUserClient.cpp138 OSSafeReleaseNULL(unserializedObject); in secureSleepSystemOptions()
139 OSSafeReleaseNULL(unserializeErrorString); in secureSleepSystemOptions()
H A DIOHibernateIO.cpp629 OSSafeReleaseNULL(nvramData); in IOHibernateSystemSleep()
638 OSSafeReleaseNULL(nvramData); in IOHibernateSystemSleep()
659 OSSafeReleaseNULL(nvramData); in IOHibernateSystemSleep()
711 OSSafeReleaseNULL(nvramData); in IOHibernateSystemSleep()
1130 OSSafeReleaseNULL(vars->previewBuffer); in IOHibernateSystemHasSlept()
1227 OSSafeReleaseNULL(childRegEntry); in MergeDeviceTree()
1369 OSSafeReleaseNULL(entry); in IOHibernateDone()
1374 OSSafeReleaseNULL(entriesToUpdate); in IOHibernateDone()
H A DIORegistryEntry.cpp630 OSSafeReleaseNULL(found); in propertyHasValue()
643 OSSafeReleaseNULL(found); in propertyHasValue()
656 OSSafeReleaseNULL(found); in propertyHasValue()
696 OSSafeReleaseNULL(found); in propertyHasValue()
711 OSSafeReleaseNULL(found); in propertyHasValue()
726 OSSafeReleaseNULL(found); in propertyHasValue()
H A DIOPolledInterface.cpp109 OSSafeReleaseNULL(obj); in OSDefineMetaClassAndStructors()
748 OSSafeReleaseNULL(keyUUID); in IOPolledFileOpen()
755 OSSafeReleaseNULL(keyUUID); in IOPolledFileOpen()
H A DIOInterruptController.cpp695 OSSafeReleaseNULL(interruptSources[source].vectorData); in unregisterInterrupt()
/xnu-11215/iokit/Tests/TestServices/
H A DTestIODeviceMemoryRosetta.cpp22 OSSafeReleaseNULL(str); in start()
107 OSSafeReleaseNULL(map); in externalMethodDispatched()
108 OSSafeReleaseNULL(deviceMemory); in externalMethodDispatched()
H A DTestIOServiceUserNotification.cpp22 OSSafeReleaseNULL(str); in start()
H A DTestIOConnectMapMemoryPortLeak45265408.cpp16 OSSafeReleaseNULL(className); in start()
H A DTestIOUserClient2022Entitlements.cpp22 OSSafeReleaseNULL(str); in start()
/xnu-11215/iokit/Tests/
H A DTestIOMemoryDescriptor.cpp299 OSSafeReleaseNULL(device); in IODMACommandLocalMappedNonContig()
328 OSSafeReleaseNULL(mapper); in IODMACommandLocalMappedNonContig()
473 OSSafeReleaseNULL(map); in IOBMDSetLengthMapTest()
478 OSSafeReleaseNULL(map); in IOBMDSetLengthMapTest()
683 OSSafeReleaseNULL(mmd); in IOGuardPageMDTest()
708 OSSafeReleaseNULL(map); in IOGuardPageMDTest()
712 OSSafeReleaseNULL(dataMD); in IOGuardPageMDTest()
738 OSSafeReleaseNULL(map); in IOGuardPageMDTest()
739 OSSafeReleaseNULL(iobmd); in IOGuardPageMDTest()
764 OSSafeReleaseNULL(current); in IOMDContextTest()
[all …]
H A DTests.cpp1296 OSSafeReleaseNULL(dqds); in IODataQueueDispatchSourceTests()
2143 OSSafeReleaseNULL(fService); in free()
2234 OSSafeReleaseNULL(obj); in sysctl_iokit_test_service_setup()
2235 OSSafeReleaseNULL(handle); in sysctl_iokit_test_service_setup()
/xnu-11215/iokit/bsddev/
H A DIOKitBSDInit.cpp450 OSSafeReleaseNULL(entry); in IOGetBootUUID()
479 OSSafeReleaseNULL(entry); in IOGetApfsPrebootUUID()
509 OSSafeReleaseNULL(entry); in IOGetAssociatedApfsVolgroupUUID()
539 OSSafeReleaseNULL(entry); in IOGetBootObjectsPath()
569 OSSafeReleaseNULL(entry); in IOGetBootManifestHash()
707 OSSafeReleaseNULL(service); in IOFindBSDRoot()
762 OSSafeReleaseNULL(regEntry); in IOFindBSDRoot()
811 OSSafeReleaseNULL(matching); in IOFindBSDRoot()
938 OSSafeReleaseNULL(matching); in IOFindBSDRoot()
1054 OSSafeReleaseNULL(pe); in IOSecureBSDRoot()
[all …]
H A DDINetBootHook.cpp354 OSSafeReleaseNULL(mem); in di_root_ramfile_buf()
/xnu-11215/libkern/c++/
H A DOSMetaClass.cpp965 OSSafeReleaseNULL(myKextName); in postModLoad()
966 OSSafeReleaseNULL(myKext); in postModLoad()
1028 OSSafeReleaseNULL(theKext); in modHasInstance()
1224 OSSafeReleaseNULL(classIterator); in removeClasses()
1535 OSSafeReleaseNULL(classDict); in serializeClassDictionary()
/xnu-11215/iokit/System/
H A DIODataQueueDispatchSourceShared.h265 OSSafeReleaseNULL(ivars->memory); in free()
266 OSSafeReleaseNULL(ivars->dataAvailableAction); in free()
267 OSSafeReleaseNULL(ivars->dataServicedAction); in free()
/xnu-11215/libkern/libkern/c++/
H A DOSMetaClass.h464 #define OSSafeReleaseNULL(inst) do { if (inst != NULL) (inst)->release(); (inst) = NULL; } while … macro
/xnu-11215/iokit/bsddev/skywalk/
H A DIOSkywalkSupport.cpp1390 OSSafeReleaseNULL(fKernelReadOnlyMapping); in free()

12