Lines Matching defs:lock
255 * thus it needs a lock.
257 int lock_enabled; /* thread-safety lock is enabled on the system;
260 pthread_mutex_t lock;
645 /* lock handled in the callback */
653 /* lock handled in the callback */
661 /* lock handled in the callback */
669 /* lock handled in the callback */
1192 * __snd_pcm_lock() and __snd_pcm_unlock() are used to lock/unlock the plugin
1196 * OTOH, snd_pcm_lock() and snd_pcm_unlock() are used to lock/unlock the plugin
1197 * in normal situations. They do lock/unlock only when the plugin is
1206 pthread_mutex_lock(&pcm->lock);
1211 pthread_mutex_unlock(&pcm->lock);
1216 pthread_mutex_lock(&pcm->lock);
1221 pthread_mutex_unlock(&pcm->lock);