Lines Matching refs:log_mutex
95 * current list is in use, activeDir is protected by log_mutex.
121 pthread_mutex_t log_mutex; /* protects activeDir */
370 (void) pthread_mutex_lock(&(ctrl->log_mutex));
383 (void) pthread_mutex_unlock(&(ctrl->log_mutex));
540 * The caller must hold log_mutex while calling open_log.
676 * log_mutex must be held by the caller
817 (void) pthread_mutex_lock(&(ctrl->log_mutex));
957 (void) pthread_mutex_unlock(&(ctrl->log_mutex));
1022 (void) pthread_mutex_init(&(ctrl->log_mutex), NULL);
1052 (void) pthread_mutex_lock(&(ctrl->log_mutex));
1056 (void) pthread_mutex_unlock(&(ctrl->log_mutex));
1083 (void) pthread_mutex_lock(&(ctrl->log_mutex));
1086 (void) pthread_mutex_unlock(&(ctrl->log_mutex));
1087 (void) pthread_mutex_destroy(&(ctrl->log_mutex));