Home
last modified time | relevance | path

Searched refs:block_mutex (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/sound/synth/
H A Dutil_mem.c33 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()
/openbmc/linux/sound/pci/trident/
H A Dtrident_memory.c175 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()
/openbmc/linux/sound/pci/emu10k1/
H A Dmemory.c318 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 …]
/openbmc/linux/block/
H A Ddisk-events.c15 struct mutex block_mutex; /* protects blocking */ member
86 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()
/openbmc/linux/include/sound/
H A Dutil_mem.h32 struct mutex block_mutex; /* lock */ member
/openbmc/linux/drivers/mmc/core/
H A Dblock.c79 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()