Lines Matching defs:current
1074 // this whole lock (ie. current thread) -> deadlock
1587 // wait for all threads, other than the current one,
3566 OSObject * current = 0;
3592 current = service;
3595 current = OSSet::withObjects((const OSObject **) &service, 1, 1 );
3620 current = ctx.result;
3623 if (current && (ctx.done != ctx.count))
3626 source = OSDynamicCast(OSSet, current);
3627 current = 0;
3635 current = service;
3638 if( current)
3640 ((OSSet *)current)->setObject( service );
3644 current = OSSet::withObjects(
3685 if ( ((current != 0) != (_current != 0))
3686 || (current && _current && !current->isEqualTo(_current)))
3690 current->serialize(s1);
3692 kprintf("**mismatch** %p %p\n%s\n%s\n%s\n", current, _current, s->text(), s1->text(), s2->text());
3703 if( current && (0 == (options & (kIONotifyOnce | kIOServiceExistingSet)))) {
3704 iter = OSCollectionIterator::withCollection( (OSSet *)current );
3705 current->release();
3706 current = iter;
3709 return( current );
3839 // get the current set
4214 // wait for all threads, other than the current one,