Lines Matching refs:reserved
2 * Copyright (c) 1998-2010 Apple Inc. All rights reserved.
69 #define passiveEventChain reserved->passiveEventChain
75 reserved->counter = IOStatistics::registerWorkLoop(this); \
80 if (reserved) \
81 IOStatistics::unregisterWorkLoop(reserved->counter); \
86 IOStatistics::countWorkLoopOpenGate(reserved->counter); \
91 IOStatistics::countWorkLoopCloseGate(reserved->counter); \
96 IOStatistics::attachWorkLoopEventSource(reserved->counter, inEvent->reserved->counter); \
101 IOStatistics::detachWorkLoopEventSource(reserved->counter, inEvent->reserved->counter); \
122 if ( !reserved )
124 reserved = IONew(ExpansionData,1);
125 if ( !reserved )
128 bzero(reserved,sizeof(ExpansionData));
132 OSBacktrace ( reserved->allocationBacktrace, sizeof ( reserved->allocationBacktrace ) / sizeof ( reserved->allocationBacktrace[0] ) );
147 if (!reserved) {
148 reserved = IONew(ExpansionData, 1);
149 reserved->options = 0;
197 me->reserved = IONew(ExpansionData,1);
198 if (!me->reserved) {
202 bzero(me->reserved,sizeof(ExpansionData));
203 me->reserved->options = options;
279 if (reserved) {
280 IODelete(reserved, ExpansionData, 1);
281 reserved = 0;
403 if (!reserved || !(kPreciousStack & reserved->options))