Home
last modified time | relevance | path

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

/linux-6.12.1/sound/synth/
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()
/linux-6.12.1/sound/pci/trident/
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()
/linux-6.12.1/sound/pci/emu10k1/
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 …]
/linux-6.12.1/block/
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()
448 mutex_init(&ev->block_mutex); in disk_alloc_events()
/linux-6.12.1/include/sound/
Dutil_mem.h32 struct mutex block_mutex; /* lock */ member
/linux-6.12.1/drivers/mmc/core/
Dblock.c123 static DEFINE_MUTEX(block_mutex);
414 mutex_lock(&block_mutex); in mmc_blk_open()
422 mutex_unlock(&block_mutex); in mmc_blk_open()
431 mutex_lock(&block_mutex); in mmc_blk_release()
433 mutex_unlock(&block_mutex); in mmc_blk_release()