Searched refs:block_mutex (Results 1 – 6 of 6) 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()
175 mutex_lock(&hdr->block_mutex); in snd_trident_alloc_sg_pages()178 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_sg_pages()189 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_sg_pages()194 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_sg_pages()219 mutex_lock(&hdr->block_mutex); in snd_trident_alloc_cont_pages()222 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_cont_pages()232 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_cont_pages()237 mutex_unlock(&hdr->block_mutex); in snd_trident_alloc_cont_pages()270 mutex_lock(&hdr->block_mutex); in snd_trident_free_pages()276 mutex_unlock(&hdr->block_mutex); in snd_trident_free_pages()
318 mutex_lock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()321 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()338 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()350 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()353 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()410 mutex_lock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()413 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()418 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()422 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()438 mutex_lock(&hdr->block_mutex); in snd_emu10k1_synth_free()[all …]
15 struct mutex block_mutex; /* protects blocking */ member86 mutex_lock(&ev->block_mutex); in disk_block_events()95 mutex_unlock(&ev->block_mutex); in disk_block_events()452 mutex_init(&ev->block_mutex); in disk_alloc_events()
32 struct mutex block_mutex; /* lock */ member
79 static DEFINE_MUTEX(block_mutex);368 mutex_lock(&block_mutex); in mmc_blk_open()376 mutex_unlock(&block_mutex); in mmc_blk_open()385 mutex_lock(&block_mutex); in mmc_blk_release()387 mutex_unlock(&block_mutex); in mmc_blk_release()