projects
/
apple
/
xnu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xnu-6153.81.5.tar.gz
[apple/xnu.git]
/
iokit
/
Kernel
/
IOTimerEventSource.cpp
diff --git
a/iokit/Kernel/IOTimerEventSource.cpp
b/iokit/Kernel/IOTimerEventSource.cpp
index ad6b75455c0637a6619a28f770aa32e6b794cf28..59eb6a0a26af9b6b58376389d532573e8a431a4e 100644
(file)
--- a/
iokit/Kernel/IOTimerEventSource.cpp
+++ b/
iokit/Kernel/IOTimerEventSource.cpp
@@
-100,29
+100,29
@@
do { \
//
__inline__ void
//
__inline__ void
-IOTimerEventSource::invokeAction(IOTimerEventSource::Action action, IOTimerEventSource * ts,
- OSObject *
owner, IOWorkLoop *
workLoop)
+IOTimerEventSource::invokeAction(IOTimerEventSource::Action
_
action, IOTimerEventSource * ts,
+ OSObject *
_owner, IOWorkLoop * _
workLoop)
{
bool trace = (gIOKitTrace & kIOTraceTimers) ? true : false;
if (trace) {
IOTimeStampStartConstant(IODBG_TIMES(IOTIMES_ACTION),
{
bool trace = (gIOKitTrace & kIOTraceTimers) ? true : false;
if (trace) {
IOTimeStampStartConstant(IODBG_TIMES(IOTIMES_ACTION),
- VM_KERNEL_ADDRHIDE(
action), VM_KERNEL_ADDRHIDE(
owner));
+ VM_KERNEL_ADDRHIDE(
_action), VM_KERNEL_ADDRHIDE(_
owner));
}
if (kActionBlock & flags) {
((IOTimerEventSource::ActionBlock) actionBlock)(ts);
} else {
}
if (kActionBlock & flags) {
((IOTimerEventSource::ActionBlock) actionBlock)(ts);
} else {
- (*
action)(
owner, ts);
+ (*
_action)(_
owner, ts);
}
#if CONFIG_DTRACE
}
#if CONFIG_DTRACE
- DTRACE_TMR3(iotescallout__expire, Action,
action, OSObject, owner, void,
workLoop);
+ DTRACE_TMR3(iotescallout__expire, Action,
_action, OSObject, _owner, void, _
workLoop);
#endif
if (trace) {
IOTimeStampEndConstant(IODBG_TIMES(IOTIMES_ACTION),
#endif
if (trace) {
IOTimeStampEndConstant(IODBG_TIMES(IOTIMES_ACTION),
- VM_KERNEL_UNSLIDE(
action), VM_KERNEL_ADDRHIDE(
owner));
+ VM_KERNEL_UNSLIDE(
_action), VM_KERNEL_ADDRHIDE(_
owner));
}
}
}
}
@@
-319,19
+319,19
@@
IOTimerEventSource::timerEventSource(uint32_t inOptions, OSObject *inOwner, Acti
if (me && !me->init(inOptions, inOwner, inAction)) {
me->release();
if (me && !me->init(inOptions, inOwner, inAction)) {
me->release();
- return
0
;
+ return
NULL
;
}
return me;
}
IOTimerEventSource *
}
return me;
}
IOTimerEventSource *
-IOTimerEventSource::timerEventSource(uint32_t options, OSObject *inOwner, ActionBlock action)
+IOTimerEventSource::timerEventSource(uint32_t options, OSObject *inOwner, ActionBlock
_
action)
{
IOTimerEventSource * tes;
tes = IOTimerEventSource::timerEventSource(options, inOwner, (Action) NULL);
if (tes) {
{
IOTimerEventSource * tes;
tes = IOTimerEventSource::timerEventSource(options, inOwner, (Action) NULL);
if (tes) {
- tes->setActionBlock((IOEventSource::ActionBlock) action);
+ tes->setActionBlock((IOEventSource::ActionBlock)
_
action);
}
return tes;
}
return tes;