Searched refs:block_mutex (Results 1 – 7 of 7) sorted by relevance
33 mutex_init(&hdr->block_mutex); in snd_util_memhdr_new()128 mutex_lock(&hdr->block_mutex); in snd_util_mem_alloc()130 mutex_unlock(&hdr->block_mutex); in snd_util_mem_alloc()156 mutex_lock(&hdr->block_mutex); in snd_util_mem_free()158 mutex_unlock(&hdr->block_mutex); in snd_util_mem_free()168 mutex_lock(&hdr->block_mutex); in snd_util_mem_avail()170 mutex_unlock(&hdr->block_mutex); in snd_util_mem_avail()
192 mutex_lock(&hdr->block_mutex); in snd_trident_alloc_sg_pages()195 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_sg_pages()208 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_sg_pages()213 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_sg_pages()239 mutex_lock(&hdr->block_mutex); in snd_trident_alloc_cont_pages()242 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_cont_pages()253 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_cont_pages()258 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_cont_pages()291 mutex_lock(&hdr->block_mutex); in snd_trident_free_pages()297 mutex_unlock(&hdr->block_mutex); in snd_trident_free_pages()
315 mutex_lock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()318 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()335 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()347 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()350 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()407 mutex_lock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()410 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()415 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()419 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()435 mutex_lock(&hdr->block_mutex); in snd_emu10k1_synth_free()[all …]
32 struct mutex block_mutex; /* lock */ member
1900 struct mutex block_mutex; /* protects blocking */ member1971 mutex_lock(&ev->block_mutex); in disk_block_events()1980 mutex_unlock(&ev->block_mutex); in disk_block_events()2328 mutex_init(&ev->block_mutex); in disk_alloc_events()
78 static DEFINE_MUTEX(block_mutex);313 mutex_lock(&block_mutex); in mmc_blk_open()321 mutex_unlock(&block_mutex); in mmc_blk_open()330 mutex_lock(&block_mutex); in mmc_blk_release()332 mutex_unlock(&block_mutex); in mmc_blk_release()
1696 mutex_lock(&block_mutex);