Lines Matching defs:found
244 KextNode sought, *found;
257 found = RB_FIND(KextTree, &kextHead, &sought);
258 if (found) {
263 while ((wlc = SLIST_FIRST(&found->workLoopList))) {
264 SLIST_REMOVE_HEAD(&found->workLoopList, link);
269 while ((uce = TAILQ_FIRST(&found->userClientCallList))) {
270 TAILQ_REMOVE(&found->userClientCallList, uce, link);
275 RB_REMOVE(KextTree, &kextHead, found);
276 RB_REMOVE(KextAddressTree, &kextAddressHead, found);
282 if (found == kextHint) {
287 kfree(found, sizeof(KextNode));
368 ClassNode sought, *found;
381 found = RB_FIND(ClassTree, &classHead, &sought);
382 if (found) {
387 while ((esc = SLIST_FIRST(&found->counterList))) {
388 SLIST_REMOVE_HEAD(&found->counterList, link);
393 while ((ucc = SLIST_FIRST(&found->userClientList))) {
394 SLIST_REMOVE_HEAD(&found->userClientList, link);
399 RB_REMOVE(ClassTree, &classHead, found);
402 SLIST_REMOVE(&found->parentKext->classList, found, ClassNode, lLink);
405 kfree(found, sizeof(ClassNode));
420 ClassNode sought, *found = NULL;
447 found = RB_FIND(ClassTree, &classHead, &sought);
450 if (found) {
451 counter->parentClass = found;
452 SLIST_INSERT_HEAD(&found->counterList, counter, link);
456 if (!(createDummyCounter || found)) {
485 KextNode *found;
500 found = getKextNodeFromBacktrace(TRUE);
501 if (!found) {
505 counter->parentKext = found;
508 SLIST_INSERT_HEAD(&found->workLoopList, counter, link);
511 releaseKextNode(found);
533 ClassNode sought, *found;
553 found = RB_FIND(ClassTree, &classHead, &sought);
554 if (found) {
555 counter->parentClass = found;
556 SLIST_INSERT_HEAD(&found->userClientList, counter, link);
607 IOWorkLoopDependency sought, *found;
620 found = RB_FIND(IOWorkLoopCounter::DependencyTree, &wlc->dependencyHead, &sought);
621 if (found) {
622 RB_REMOVE(IOWorkLoopCounter::DependencyTree, &wlc->dependencyHead, found);
623 kfree(found, sizeof(IOWorkLoopDependency));
1054 KextNode *sought, *found = NULL;
1060 found = sought;
1065 if (!found) {
1069 TAILQ_FOREACH(processEntry, &found->userClientCallList, link) {
1215 KextNode *found = NULL, *ke = NULL;
1239 found = ke;
1247 if (!found) {
1251 return found;