Searched refs:runAction (Results 1 - 25 of 40) sorted by relevance

12

/macosx-10.10/PowerManagement-494.1.2/AppleSmartBatteryManager/
H A DAppleSmartBatteryManager.cpp240 fManagerGate->runAction(
366 ret = fBatteryGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
405 fBatteryGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
410 fBatteryGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
416 fBatteryGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
438 fManagerGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
459 fManagerGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
487 fManagerGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
528 fBatteryGate->runAction(
545 ret = fBatteryGate->runAction(OSMemberFunctionCas
[all...]
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/
H A DIOCommandPool.cpp153 runAction(func, (void *) &command, (void *) blockForCommand);
192 (void) fSerializer->runAction(func, (void *) command);
H A DIOCommandGate.cpp139 return runAction((Action) action, arg0, arg1, arg2, arg3);
148 IOReturn IOCommandGate::runAction(Action inAction, function in class:IOCommandGate
/macosx-10.10/xnu-2782.1.97/iokit/IOKit/
H A DIOCommandGate.h57 CAUTION: The runAction, runCommand, and attemptCommand functions cannot be called from an interrupt context.
136 /*! @function runAction
141 client's thread runAction will sleep until the work-loop's gate opens for
151 virtual IOReturn runAction(Action action,
203 @discussion When a command gate is disabled all future calls to runAction and runCommand will stall until the gate is enable()d later. This can be used to block client threads when a system sleep is requested. The IOWorkLoop thread itself will never stall, even when making runAction/runCommand calls. This call must be made from a gated context, to clear potential race conditions. */
208 @discussion Enable the command gate. The attemptAction/attemptCommand calls will now be enabled and can succeeed. Stalled runCommand/runAction calls will be woken up. */
H A DIOWorkLoop.h280 /*! @function runAction
282 @discussion Client function that causes the given action to be called in a single threaded manner. Beware: the work-loop's gate is recursive and runAction can cause direct or indirect re-entrancy. When executing on a client's thread, runAction will sleep until the work-loop's gate opens for execution of client actions, the action is single threaded against all other work-loop event sources.
290 virtual IOReturn runAction(Action action, OSObject *target,
/macosx-10.10/AppleUSBIrDA-145.2.4/
H A DIrDAComm.cpp259 rc = fGate->runAction(&DoSomething, (void *)cmdStopEvent, nil, nil, nil);
275 rc = fGate->runAction(&DoSomething, (void *)cmdStop, nil, nil, nil);
308 rc = fGate->runAction(&DoSomething, (void *)cmdTxBufferAvailable, &result);
339 rc = fGate->runAction(&DoSomething, (void *)cmdWrite, buf, (void *)length, &result);
366 rc = fGate->runAction(&DoSomething, (void *)cmdReadComplete, buf, (void *)length, nil);
386 rc = fGate->runAction(&DoSomething, (void *)cmdReturnCredit, (void *)byte_count);
402 rc = fGate->runAction(&DoSomething, (void *)cmdXmitComplete, (void *)worked);
416 rc = fGate->runAction(&DoSomething, (void *)cmdSetSpeedComplete, (void *)worked);
907 rc = obj->fGate->runAction(&DoSomething, (void *)cmdStopEvent, nil, nil, nil);
/macosx-10.10/IOFireWireSBP2-425/IOFireWireSBP2/
H A DIOFireWireSBP2LUN.cpp249 status = fGate->runAction( staticExecuteFlushAllMgmtORBs);
415 status = fGate->runAction( staticCreateLogin, &login );
454 status = fGate->runAction( (IOCommandGate::Action)staticRemoveLoginAction, (void*)login );
510 status = fGate->runAction( staticCreateManagementORBAction, refCon, (void*)completion, &orb );
548 status = fGate->runAction( (IOCommandGate::Action)staticRemoveManagementORBAction, (void*)orb );
H A DIOFireWireSBP2Login.cpp1321 status = fGate->runAction( staticExecuteLogin );
2489 status = fGate->runAction( staticExecuteLogout );
2763 status = fGate->runAction( staticExecuteAddORB, (void*)orb );
2786 status = fGate->runAction( staticExecuteRemoveORB, (void*)orb );
2811 status = fGate->runAction( staticExecuteORB, (void*)orb );
3249 status = fGate->runAction( staticExecuteFetchAgentReset );
3322 status = fGate->runAction( staticExecuteDoorbell );
3384 status = fGate->runAction( staticExecuteUnsolicitedStatusEnable );
/macosx-10.10/AppleRAID-4.0.6/
H A DAppleRAIDMirrorSet.cpp504 arSetCommandGate->runAction(getRecoverQMethod, &arFailedRequestQueue, &safeFailedRequestQueue);
531 arSetCommandGate->runAction(arAllocateRequestMethod, &newStorageRequest);
710 arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &AppleRAIDMirrorSet::pauseSet), (void *)false);
724 arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &AppleRAIDMirrorSet::unpauseSet));
795 while (arSetCommandGate->runAction(pauseMethod, (void *)true) == false) {
834 arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &AppleRAIDMirrorSet::unpauseSet));
880 if (arSetIsPaused) arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &AppleRAIDMirrorSet::unpauseSet));
888 arSetCommandGate->runAction(rebuildCompleteMethod, (void *)success);
H A DAppleRAID.cpp336 if (set) set->arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, set, &AppleRAIDSet::recoverStart));
497 if (parentSet) parentSet->arSetCommandGate->runAction(pauseSetMethod, (void *)false);
501 set->arSetCommandGate->runAction(pauseSetMethod, (void *)false);
511 set->arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, set, &AppleRAIDSet::unpauseSet));
512 if (parentSet) parentSet->arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, parentSet, &AppleRAIDSet::unpauseSet));
H A DAppleRAIDSet.cpp877 arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &AppleRAIDSet::unpauseSet));
879 arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &AppleRAIDSet::pauseSet), (void *)false);
1792 arSetCommandGate->runAction(arAllocateRequestMethod, &storageRequest);
1810 arSetCommandGate->runAction(arAllocateRequestMethod, &storageRequest);
1858 return arSetCommandGate->runAction(syncCacheMethod, (void *)client);
1902 arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &AppleRAIDSet::synchronizeCompletedGated));
2099 arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &AppleRAIDSet::recoverWait));
2163 arSetCommandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &AppleRAIDSet::unpauseSet));
/macosx-10.10/IOAudioFamily-200.6/
H A DIOAudioControl.cpp372 cg->runAction(detachUserClientsAction);
454 result = cg->runAction(setValueAction, arg0, arg1, arg2, arg3);
815 result = workLoop->runAction(_addUserClientAction, this, client); // <rdar://7324947>, <rdar://7529580>
860 result = workLoop->runAction ( _addUserClientAction, this, client ); // <rdar://7324947>, <rdar://7529580>
894 workLoop->runAction(_removeUserClientAction, this, client); // <rdar://7529580>
914 result = cg->runAction(addUserClientAction, arg0, arg1, arg2, arg3);
953 result = cg->runAction(removeUserClientAction, arg0, arg1, arg2, arg3);
1128 result = workLoop->runAction(_setValueAction, this, (void *)number); // <rdar://7529580>
H A DIOAudioEngineUserClient.cpp639 ret = workLoop->runAction(_getNearestStartTimeAction, this, (void *)audioStream, (void *)ioTimeStamp, (void *)(uintptr_t)isInput); // <rdar://7529580>
655 result = userClient->commandGate->runAction(getNearestStartTimeAction, arg0, arg1, arg2, arg3);
955 commandGate->runAction(stopClientAction);
996 result = workLoop->runAction(_closeClientAction, this); // <rdar://7529580>
1029 result = userClient->commandGate->runAction(closeClientAction, arg0, arg1, arg2, arg3);
1174 result = workLoop->runAction(_registerNotificationAction, this, (void *)port, (void *)(uintptr_t)refCon); // <rdar://7529580>
1204 result = userClient->commandGate->runAction(registerNotificationAction, arg0, arg1, arg2, arg3);
1342 ret = workLoop->runAction(_registerBufferAction, this, audioStream, &sourceBuffer, (void *)(uintptr_t)bufSizeInBytes, (void *)(uintptr_t)bufferSetID); // <rdar://7529580>
1364 ret = workLoop->runAction(_unregisterBufferAction, this, ( void * ) &sourceBuffer, (void *)(uintptr_t)bufferSetID); // <rdar://7529580>
1380 result = userClient->commandGate->runAction(registerBufferActio
[all...]
H A DIOAudioEngine.cpp605 commandGate->runAction ( detachUserClientsAction );
885 result = workLoop->runAction(_addUserClientAction, this, client); // <rdar://7324947>, <rdar://7529580>
928 result = workLoop->runAction(_addUserClientAction, this, client); // <rdar://7324947>, <rdar://7529580>
952 workLoop->runAction(_removeUserClientAction, this, client); // <rdar://7529580>
971 result = cg->runAction(addUserClientAction, arg0, arg1, arg2, arg3);
1013 result = cg->runAction(removeUserClientAction, arg0, arg1, arg2, arg3);
H A DIOAudioDevice.cpp593 workLoop->runAction(_setPowerStateAction, this, (void *)powerStateOrdinal, (void *)device); // <rdar://8508064>
615 result = cg->runAction(setPowerStateAction, arg0, arg1, arg2, arg3);
761 result = cg->runAction(completePowerStateChangeAction);
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDFamily/
H A DIOHIDEventSystem.cpp163 _commandGate->runAction((IOCommandGate::Action)refCon, service);
273 _commandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &IOHIDEventSystem::handleHIDEventGated), (void *)&args);
H A DIOHIDResourceUserClient.cpp188 result = _commandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &IOHIDResourceDeviceUserClient::registerNotificationPortGated), port);
220 result = _commandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &IOHIDResourceDeviceUserClient::clientMemoryForTypeGated), options, memory);
271 result = _commandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &IOHIDResourceDeviceUserClient::externalMethodGated), &gatedArguments);
555 result = _commandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &IOHIDResourceDeviceUserClient::getReportGated), &arguments);
623 result = _commandGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &IOHIDResourceDeviceUserClient::setReportGated), &arguments);
H A DIOHIDLibUserClient.cpp205 fGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &IOHIDLibUserClient::cleanupGated));
461 status = fGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, target, &IOHIDLibUserClient::externalMethodGated), (void *)&args);
570 fGate->runAction(OSMemberFunctionCast(IOCommandGate::Action, this, &IOHIDLibUserClient::cleanupGated));
618 fGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
653 return fGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
795 return fGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
1407 fGate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDSystem/
H A DIOHIDSecurePromptClient.cpp289 return _reserved->gate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
586 return _reserved->gate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
637 return _reserved->gate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
757 return _reserved->gate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
1018 return _reserved->gate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
1047 return _reserved->gate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
1129 return _reserved->gate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
1167 return _reserved->gate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
1225 _reserved->gate->runAction(OSMemberFunctionCast(IOCommandGate::Action,
H A DIOHIDSystem.cpp1114 cmdGate->runAction(data->handler, data->newService);
1388 return cmdGate->runAction((IOCommandGate::Action)doEvClose);
1522 cmdGate->runAction((IOCommandGate::Action)doSpecialKeyMsg,(void*)msg);
1583 IOReturn ret = workLoop->runAction((IOWorkLoop::Action)&IOHIDSystem::doRegisterScreen,
1605 result = workLoop->runAction((IOWorkLoop::Action)&IOHIDSystem::doRegisterScreen,
1762 IOReturn ret = cmdGate->runAction((IOCommandGate::Action)doUnregisterScreen, (void *)index);
1780 result = cmdGate->runAction((IOCommandGate::Action)doUnregisterScreen, (void *)index);
1856 result = cmdGate->runAction((IOCommandGate::Action)doSetDisplayBounds, (void*) index, (void*) &tempBounds);
1927 return cmdGate->runAction((IOCommandGate::Action)doRegisterEventQueue, (void *)queue);
1952 return cmdGate->runAction((IOCommandGat
[all...]
/macosx-10.10/AppleUSBCDCDriver-4205.2.2/AppleUSBCDCDMM/Classes/
H A DAppleUSBCDCDMM.cpp893 ret = fCommandGate->runAction(stopAction);
1219 ret = fCommandGate->runAction(acquirePortAction, (void *)sleep);
1330 ret = fCommandGate->runAction(releasePortAction);
1432 currState = fCommandGate->runAction(getStateAction);
1527 ret = fCommandGate->runAction(setStateAction, (void *)&state, (void *)&mask);
1658 ret = fCommandGate->runAction(watchStateAction, (void *)state, (void *)&mask);
1856 ret = fCommandGate->runAction(executeEventAction, (void *)&event, (void *)&data);
2268 ret = fCommandGate->runAction(executeEventAction, (void *)&event, (void *)&data);
2343 ret = fCommandGate->runAction(enqueueDataAction, (void *)buffer, (void *)&size, (void *)count, (void *)&sleep);
2481 ret = fCommandGate->runAction(dequeueDataActio
[all...]
/macosx-10.10/AppleUSBCDCDriver-4205.2.2/AppleUSBCDCACM/DataDriver/Classes/
H A DAppleUSBCDCACMData.cpp1386 ret = fCommandGate->runAction(stopAction);
1550 resultCode = fCommandGate->runAction(waitForBSDClienAction);
1886 ret = fCommandGate->runAction(acquirePortAction, (void *)sleep);
2080 ret = fCommandGate->runAction(releasePortAction);
2231 currState = fCommandGate->runAction(getStateAction);
2326 ret = fCommandGate->runAction(setStateAction, (void *)&state, (void *)&mask);
2506 ret = fCommandGate->runAction(watchStateAction, (void *)state, (void *)&mask);
2708 ret = fCommandGate->runAction(executeEventAction, (void *)&event, (void *)&data);
3133 ret = fCommandGate->runAction(executeEventAction, (void *)&event, (void *)&data);
3208 ret = fCommandGate->runAction(enqueueDataActio
[all...]
/macosx-10.10/IOATAPIProtocolTransport-350.0.3/
H A DIOATAPIProtocolTransport.cpp1162 fCommandGate->runAction ( ( IOCommandGate::Action )
1250 fCommandGate->runAction ( ( IOCommandGate::Action )
1308 fCommandGate->runAction ( ( IOCommandGate::Action )
1933 status = fCommandGate->runAction (
2615 status = fCommandGate->runAction (
2622 STATUS_LOG ( ( "runAction returned 0x%0lX\n", status ) );
/macosx-10.10/IOSCSIParallelFamily-300.0.2/
H A DIOSCSIParallelInterfaceController.cpp600 result = fControllerGate->runAction (
755 fControllerGate->runAction (
1311 fControllerGate->runAction (
/macosx-10.10/IOUSBMassStorageClass-370.0.4/
H A DIOUSBMassStorageClass.cpp1283 fCommandGate->runAction ( OSMemberFunctionCast ( IOCommandGate::Action,
1381 fCommandGate->runAction (
2904 fCommandGate->runAction ( ( IOCommandGate::Action ) &IOUSBMassStorageClass::sWaitForReset );
2960 fCommandGate->runAction (

Completed in 423 milliseconds

12