Lines Matching refs:notifier

5745 	_IOServiceInterestNotifier * notifier;  local
5746 notifier = OSDynamicCast(_IOServiceInterestNotifier, object);
5753 if (notifier) {
5754 ctx->handler = notifier->handler;
5761 if ((deltaTime > kPMHaltTimeoutMS) && notifier) {
5763 ctx->LogString, OBFUSCATE(notifier->handler), deltaTime);
5764 …halt_log_enter("PowerOff/Restart message to priority client", (const void *) notifier->handler, el…
7021 IOPMServiceInterestNotifier* notifier; local
7036 notifier = new IOPMServiceInterestNotifier;
7037 if (!notifier) {
7041 if (notifier->init()) {
7042 rc = super::registerInterestForNotifier(notifier, typeOfInterest, handler, target, ref);
7045 OSSafeReleaseNULL(notifier);
7049 notifier->ackTimeoutCnt = 0;
7053 notifier->retain();
7055 kPowerEventRegisterSystemCapabilityClient, notifier) == false) {
7056 notifier->release();
7061 notifier->retain();
7063 kPowerEventRegisterKernelCapabilityClient, notifier) == false) {
7064 notifier->release();
7078notifier->uuid0 = ((uint64_t)(uuid[0]) << 56) | ((uint64_t)(uuid[1]) << 48) | ((uint64_t)(uuid[2])…
7081notifier->uuid1 = ((uint64_t)(uuid[8]) << 56) | ((uint64_t)(uuid[9]) << 48) | ((uint64_t)(uuid[10]…
7085 notifier->identifier = copyKextIdentifierWithAddress((vm_address_t) handler);
7087 return OSSharedPtr<IOPMServiceInterestNotifier>(notifier, OSNoRetain);
7105 IOPMServiceInterestNotifier *notifier; local
7107 notifier = OSDynamicCast(IOPMServiceInterestNotifier, (OSObject *)object);
7208 if (!notifier) {
7212 if ((notifier->lastSleepWakeMsgType == context->messageType) &&
7213 (notifier->lastSleepWakeMsgType == kIOMessageSystemWillPowerOn)) {
7220 if (notifier->ackTimeoutCnt >= 3) {
7236 notifier->lastSleepWakeMsgType = context->messageType;
7249 if (notifier) {
7252 notifier->msgType = context->messageType;
9608 IOPMServiceInterestNotifier *notifier = (typeof(notifier))object; local
9611 if (!notifier->clientName) {
9613 …(((IOPMServiceInterestNotifier *) systemCapabilityNotifier.get())->handler == notifier->handler)) {
9619 notifier->clientName = OSSymbol::withString(string.get());
9623 } else if (notifier->identifier) {
9624 notifier->clientName.reset(notifier->identifier.get(), OSRetain);
9628 if (notifier->clientName) {
9629 clientName = notifier->clientName->getCStringNoCopy();
9638 IOPMServiceInterestNotifier *notifier; local
9643 notifier = OSDynamicCast(IOPMServiceInterestNotifier, object);
9644 if (!notifier) {
9649 pmTracer->traceDetail(notifier->uuid0 >> 32);
9651 (uintptr_t) notifier->msgType, (uintptr_t) notifier->uuid0, (uintptr_t) notifier->uuid1);
9654 notifier->msgIndex = msgIndex;
9655 notifier->msgAbsTime = timestamp;
9658 …DLOG("%s[%u] to %s\n", getIOMessageString(notifier->msgType), msgIndex, getNotificationClientName(
9660 DLOG("%s to %s\n", getIOMessageString(notifier->msgType), getNotificationClientName(notifier));
9665 notifierObject.reset(notifier, OSRetain);
9670 SUB_ABSOLUTETIME(&timestamp, &notifier->msgAbsTime);
9673 if (delayMS > notifier->maxMsgDelayMS) {
9674 notifier->maxMsgDelayMS = delayMS;
9677 assert(notifierObject == notifier);
9689 IOPMServiceInterestNotifier *notifier = OSDynamicCast(IOPMServiceInterestNotifier, object); local
9690 if (!notifier) {
9694 kdebugTrace(kPMLogDrvResponseDelay, notifier->uuid0,
9695 (uintptr_t) notifier->uuid1, (uintptr_t) 0, (uintptr_t) delay_ms);
9698 …getIOMessageString(notifier->msgType), notifier->msgIndex, getNotificationClientName(notifier), de…
9699 if (delay_ms > notifier->maxAckDelayMS) {
9700 notifier->maxAckDelayMS = delay_ms;
9710 IOPMServiceInterestNotifier *notifier = OSDynamicCast(IOPMServiceInterestNotifier, object); local
9711 if (!notifier) {
9715 kdebugTrace(kPMLogDrvResponseDelay, notifier->uuid0,
9716 (uintptr_t) notifier->uuid1, (uintptr_t)(ack_time_us / 1000), (uintptr_t) delay_ms);
9721 …getIOMessageString(notifier->msgType), notifier->msgIndex, getNotificationClientName(notifier), de…
9725 …getIOMessageString(notifier->msgType), notifier->msgIndex, getNotificationClientName(notifier), de…
9738 IOPMServiceInterestNotifier *notifier = OSDynamicCast(IOPMServiceInterestNotifier, object); local
9739 if (!notifier) {
9743 …DLOG("%s to %s dropped\n", getIOMessageString(notifier->msgType), getNotificationClientName(notifi…
12262 …IOPMServiceInterestNotifier *notifier = OSDynamicCast(IOPMServiceInterestNotifier, notifierObject.… local
12274 if (notifier && (notifier->identifier)) {
12275 objectName = notifier->identifier->getCStringNoCopy();