Lines Matching refs:lock
92 isc_mutex_t lock;
95 * while holding this lock - that could lead to deadlock since
96 * the lock is take by water() which is called from the memory
124 isc_mutex_t lock;
130 /* Locked by 'lock'. */
228 result = isc_mutex_init(&cache->lock);
329 DESTROYLOCK(&cache->lock);
359 DESTROYLOCK(&cache->cleaner.lock);
390 DESTROYLOCK(&cache->lock);
405 LOCK(&cache->lock);
407 UNLOCK(&cache->lock);
421 LOCK(&cache->lock);
452 UNLOCK(&cache->lock);
464 LOCK(&cache->lock);
466 UNLOCK(&cache->lock);
536 LOCK(&cache->lock);
565 UNLOCK(&cache->lock);
574 LOCK(&cache->lock);
576 UNLOCK(&cache->lock);
599 result = isc_mutex_init(&cleaner->lock);
689 DESTROYLOCK(&cleaner->lock);
733 * Pause the iterator to free its lock.
813 LOCK(&cleaner->lock);
833 UNLOCK(&cleaner->lock);
857 LOCK(&cleaner->cache->lock);
858 LOCK(&cleaner->lock);
866 UNLOCK(&cleaner->lock);
867 UNLOCK(&cleaner->cache->lock);
1015 LOCK(&cache->cleaner.lock);
1027 UNLOCK(&cache->cleaner.lock);
1043 LOCK(&cache->lock);
1045 UNLOCK(&cache->lock);
1076 LOCK(&cache->lock);
1078 UNLOCK(&cache->lock);
1101 LOCK(&cache->lock);
1120 UNLOCK(&cache->lock);
1135 LOCK(&cache->lock);
1136 LOCK(&cache->cleaner.lock);
1149 UNLOCK(&cache->cleaner.lock);
1150 UNLOCK(&cache->lock);
1256 LOCK(&cache->lock);
1259 UNLOCK(&cache->lock);