Lines Matching defs:mutex
44 mutex_t mutex; /* protect this structure */
93 (void) mutex_lock(&access->mutex);
108 * holding the access->mutex lock, It is safe
109 * to free the memory containing the mutex
114 (void) mutex_unlock(&access->mutex);
146 (void) mutex_lock(&access->mutex);
148 (void) mutex_unlock(&access->mutex);
194 (void) mutex_lock(&access->mutex);
199 (void) mutex_unlock(&access->mutex);
485 * 'option' indicate whether a mutex or a
500 mutex_t *mutex = NULL;
507 if ((mutex = (mutex_t *)calloc(1, sizeof (mutex_t))) ==
512 (void) mutex_init(mutex, USYNC_THREAD, NULL);
518 free(mutex);
527 free(mutex);
539 access->data_mutex = mutex;