Searched refs:use_lock (Results 1 – 14 of 14) sorted by relevance
51 snd_use_lock_t use_lock; member114 snd_use_lock_use(&mdev->use_lock); in get_mdev()134 snd_use_lock_use(&mdev->use_lock); in find_slot()170 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()187 snd_use_lock_init(&mdev->use_lock); in snd_seq_oss_midi_check_new_port()239 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()240 snd_use_lock_sync(&mdev->use_lock); in snd_seq_oss_midi_check_exit_port()341 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()352 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()358 snd_use_lock_free(&mdev->use_lock); in snd_seq_oss_midi_open()[all …]
62 snd_use_lock_t use_lock; member93 snd_use_lock_init(&midi_synth_dev.use_lock); in snd_seq_oss_synth_init()118 snd_use_lock_init(&rec->use_lock); in snd_seq_oss_synth_register()182 snd_use_lock_sync(&rec->use_lock); in snd_seq_oss_synth_unregister()200 snd_use_lock_use(&rec->use_lock); in get_sdev()225 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()238 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()243 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()253 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()262 snd_use_lock_free(&rec->use_lock); in snd_seq_oss_synth_setup()[all …]
26 mutex_lock(&buf->use_lock); in iio_request_update_kfifo()37 mutex_unlock(&buf->use_lock); in iio_request_update_kfifo()45 mutex_lock(&buf->use_lock); in iio_mark_kfifo_in_use()47 mutex_unlock(&buf->use_lock); in iio_mark_kfifo_in_use()54 mutex_lock(&buf->use_lock); in iio_unmark_kfifo_in_use()56 mutex_unlock(&buf->use_lock); in iio_unmark_kfifo_in_use()68 mutex_init(&kf->use_lock); in __iio_init_kfifo()
35 spin_lock_init(&ring->use_lock); in __iio_init_sw_ring_buffer()46 spin_lock(&ring->use_lock); in iio_mark_sw_rb_in_use()48 spin_unlock(&ring->use_lock); in iio_mark_sw_rb_in_use()55 spin_lock(&ring->use_lock); in iio_unmark_sw_rb_in_use()57 spin_unlock(&ring->use_lock); in iio_unmark_sw_rb_in_use()324 spin_lock(&ring->use_lock); in iio_request_update_sw_rb()335 spin_unlock(&ring->use_lock); in iio_request_update_sw_rb()
11 struct mutex use_lock; member
202 spinlock_t use_lock; member
36 snd_use_lock_t use_lock; member53 #define snd_seq_fifo_lock(fifo) snd_use_lock_use(&(fifo)->use_lock)54 #define snd_seq_fifo_unlock(fifo) snd_use_lock_free(&(fifo)->use_lock)
53 snd_use_lock_init(&f->use_lock); in snd_seq_fifo_new()103 snd_use_lock_sync(&f->use_lock); in snd_seq_fifo_clear()124 snd_use_lock_use(&f->use_lock); in snd_seq_fifo_event_in()129 snd_use_lock_free(&f->use_lock); in snd_seq_fifo_event_in()147 snd_use_lock_free(&f->use_lock); in snd_seq_fifo_event_in()
55 snd_use_lock_t use_lock; member88 #define snd_seq_client_unlock(client) snd_use_lock_free(&(client)->use_lock)
66 snd_use_lock_t use_lock; member103 #define snd_seq_port_unlock(port) snd_use_lock_free(&(port)->use_lock)
59 snd_use_lock_t use_lock; member95 #define queuefree(q) snd_use_lock_free(&(q)->use_lock)
70 snd_use_lock_use(&port->use_lock); in snd_seq_port_use_ptr()104 snd_use_lock_use(&found->use_lock); in snd_seq_port_query_nearest()152 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port()263 snd_use_lock_sync(&port->use_lock); in port_delete()
122 snd_use_lock_init(&q->use_lock); in queue_new()150 snd_use_lock_sync(&q->use_lock); in queue_delete()230 snd_use_lock_use(&q->use_lock); in queueptr()
191 snd_use_lock_use(&client->use_lock); in snd_seq_client_use_ptr()234 snd_use_lock_init(&client->use_lock); in seq_create_client1()277 snd_use_lock_sync(&client->use_lock); in seq_free_client1()