Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/sound/pci/emu10k1/
Dmemory.c320 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 …]
/linux-6.1.9/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()
463 mutex_init(&ev->block_mutex); in disk_alloc_events()
/linux-6.1.9/include/sound/
Dutil_mem.h32 struct mutex block_mutex; /* lock */ member
/linux-6.1.9/drivers/mmc/core/
Dblock.c81 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()