Lines Matching defs:lock
81 isc_mutex_t lock;
82 /*! Locked by timer lock. */
85 /*! Locked by manager lock. */
104 isc_mutex_t lock;
105 /* Locked by manager lock. */
374 LOCK(&manager->lock);
384 UNLOCK(&manager->lock);
387 DESTROYLOCK(&timer->lock);
474 result = isc_mutex_init(&timer->lock);
485 LOCK(&manager->lock);
488 * Note we don't have to lock the timer like we normally would because
499 UNLOCK(&manager->lock);
504 DESTROYLOCK(&timer->lock);
558 LOCK(&manager->lock);
559 LOCK(&timer->lock);
585 UNLOCK(&timer->lock);
586 UNLOCK(&manager->lock);
598 LOCK(&timer->lock);
600 UNLOCK(&timer->lock);
617 LOCK(&timer->lock);
624 * but we cannot without locking the manager lock too, which we
631 UNLOCK(&timer->lock);
647 LOCK(&timer->lock);
649 UNLOCK(&timer->lock);
667 LOCK(&timer->lock);
672 UNLOCK(&timer->lock);
690 * The caller must be holding the manager lock.
722 LOCK(&timer->lock);
728 UNLOCK(&timer->lock);
809 LOCK(&manager->lock);
825 result = WAITUNTIL(&manager->wakeup, &manager->lock, &manager->due);
831 WAIT(&manager->wakeup, &manager->lock);
836 UNLOCK(&manager->lock);
908 result = isc_mutex_init(&manager->lock);
918 DESTROYLOCK(&manager->lock);
931 DESTROYLOCK(&manager->lock);
977 LOCK(&manager->lock);
982 UNLOCK(&manager->lock);
1002 UNLOCK(&manager->lock);
1021 DESTROYLOCK(&manager->lock);