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()
320 mutex_lock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()323 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()340 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()352 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()355 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_alloc_pages()412 mutex_lock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()415 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()420 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()424 mutex_unlock(&hdr->block_mutex); in snd_emu10k1_synth_alloc()440 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()463 mutex_init(&ev->block_mutex); in disk_alloc_events()
32 struct mutex block_mutex; /* lock */ member
81 static DEFINE_MUTEX(block_mutex);367 mutex_lock(&block_mutex); in mmc_blk_open()375 mutex_unlock(&block_mutex); in mmc_blk_open()384 mutex_lock(&block_mutex); in mmc_blk_release()386 mutex_unlock(&block_mutex); in mmc_blk_release()