Lines Matching defs:wlc
259 IOWorkLoopCounter *wlc;
263 while ((wlc = SLIST_FIRST(&found->workLoopList))) {
265 kfree(wlc, sizeof(IOWorkLoopCounter));
581 void IOStatistics::attachWorkLoopEventSource(IOWorkLoopCounter *wlc, IOEventSourceCounter *esc)
583 if (!wlc) {
594 wlc->attachedEventSources++;
598 if (NULL == RB_INSERT(IOWorkLoopCounter::DependencyTree, &wlc->dependencyHead, nextWorkLoopDependency)) {
605 void IOStatistics::detachWorkLoopEventSource(IOWorkLoopCounter *wlc, IOEventSourceCounter *esc)
609 if (!wlc) {
616 wlc->attachedEventSources--;
620 found = RB_FIND(IOWorkLoopCounter::DependencyTree, &wlc->dependencyHead, &sought);
622 RB_REMOVE(IOWorkLoopCounter::DependencyTree, &wlc->dependencyHead, found);
1027 IOWorkLoopCounter *wlc;
1032 SLIST_FOREACH(wlc, &ke->workLoopList, link) {
1034 stats->attachedEventSources = wlc->attachedEventSources;
1035 stats->timeOnGate = wlc->timeOnGate;
1037 RB_FOREACH(dependentNode, IOWorkLoopCounter::DependencyTree, &wlc->dependencyHead) {