Home
last modified time | relevance | path

Searched refs:lockp (Results 1 – 2 of 2) sorted by relevance

/sound/core/seq/
A Dseq_lock.h10 #define snd_use_lock_init(lockp) atomic_set(lockp, 0) argument
13 #define snd_use_lock_use(lockp) atomic_inc(lockp) argument
16 #define snd_use_lock_free(lockp) atomic_dec(lockp) argument
20 #define snd_use_lock_sync(lockp) snd_use_lock_sync_helper(lockp, __BASE_FILE__, __LINE__) argument
A Dseq_lock.c12 void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line) in snd_use_lock_sync_helper() argument
16 if (atomic_read(lockp) < 0) { in snd_use_lock_sync_helper()
17 pr_warn("ALSA: seq_lock: lock trouble [counter = %d] in %s:%d\n", atomic_read(lockp), file, line); in snd_use_lock_sync_helper()
20 while (atomic_read(lockp) > 0) { in snd_use_lock_sync_helper()
22 pr_warn("ALSA: seq_lock: waiting [%d left] in %s:%d\n", atomic_read(lockp), file, line); in snd_use_lock_sync_helper()

Completed in 5 milliseconds