Lines Matching refs:lock
61 #include <sys/lock.h>
580 * the timestamp is updated atomically w/o holding the workqueue lock
597 * serialized against us looking at it (i.e. we don't hold the workq lock)
641 * because workqueue_callback now runs w/o taking the workqueue lock
649 * it is always protected by the workq lock... WQ_ATIMER_RUNNING is evaluated
651 * w/o holding the workq lock...
671 * the workq lock will protect us from seeing WQ_EXITING change state, but we
741 * dropping the workqueue lock in all cases
823 * 'workqueue_addnewthread' drops the workqueue lock
865 * dropping the workqueue lock in all cases
934 * the thread lock for the thread being UNBLOCKED
978 /* during exit the lock is not held */
1010 * called with workq lock held
1012 * return with workq lock held
1354 * dropping the workqueue lock in all cases
1387 * we now arm the timer in the callback function w/o holding the workq lock...
1395 * since we always hold the workq lock when dropping WQ_ATIMER_RUNNING
1511 * dropping the workqueue lock in all cases
1522 * called with the workqueue lock held...
1555 * from here until we drop the workq lock
1557 * the lock in spin mode... this is important
2065 * workqueue_removethread consumes the lock
2137 * workqueue_removethread consumes the lock
2217 * need to do this outside of the workqueue spin lock
2438 * allocate the lock attribute for pthread synchronizers