Lines Matching refs:threadArgs
864 IOUserNotificationTestThreadArgs * threadArgs = (IOUserNotificationTestThreadArgs *)arg; in IOUserNotificationTestThread() local
870 for (size_t i = 0; i < threadArgs->iterations; i++) { in IOUserNotificationTestThread()
874 threadArgs->userNotify->setNotification(notify); in IOUserNotificationTestThread()
876 threadArgs->userNotify->setNotification(NULL); in IOUserNotificationTestThread()
880 threadArgs->userNotify->setNotification(NULL); in IOUserNotificationTestThread()
884 IOLockLock(threadArgs->lock); in IOUserNotificationTestThread()
885 *threadArgs->completed = *threadArgs->completed + 1; in IOUserNotificationTestThread()
886 IOLockWakeup(threadArgs->lock, (event_t)threadArgs->completed, true); in IOUserNotificationTestThread()
887 IOLockUnlock(threadArgs->lock); in IOUserNotificationTestThread()
903 struct IOUserNotificationTestThreadArgs threadArgs = { in IOUserNotificationTests() local
914 kr = kernel_thread_start(&IOUserNotificationTestThread, (void *)&threadArgs, &threads[i]); in IOUserNotificationTests()