Lines Matching refs:threadArgs
1639 IOUserNotificationTestThreadArgs * threadArgs = (IOUserNotificationTestThreadArgs *)arg; in IOUserNotificationTestThread() local
1645 for (size_t i = 0; i < threadArgs->iterations; i++) { in IOUserNotificationTestThread()
1649 threadArgs->userNotify->setNotification(notify); in IOUserNotificationTestThread()
1651 threadArgs->userNotify->setNotification(NULL); in IOUserNotificationTestThread()
1655 threadArgs->userNotify->setNotification(NULL); in IOUserNotificationTestThread()
1657 IOLockLock(threadArgs->lock); in IOUserNotificationTestThread()
1658 *threadArgs->completed = *threadArgs->completed + 1; in IOUserNotificationTestThread()
1659 IOLockWakeup(threadArgs->lock, (event_t)threadArgs->completed, true); in IOUserNotificationTestThread()
1660 IOLockUnlock(threadArgs->lock); in IOUserNotificationTestThread()
1676 struct IOUserNotificationTestThreadArgs threadArgs = { in IOUserNotificationTests() local
1687 kr = kernel_thread_start(&IOUserNotificationTestThread, (void *)&threadArgs, &threads[i]); in IOUserNotificationTests()