Searched refs:memory_mutex (Results 1 – 6 of 6) sorted by relevance
21 mutex_lock(&alloc->memory_mutex); in snd_gf1_mem_lock()23 mutex_unlock(&alloc->memory_mutex); in snd_gf1_mem_lock()53 mutex_unlock(&alloc->memory_mutex); in snd_gf1_mem_xalloc()74 mutex_unlock(&alloc->memory_mutex); in snd_gf1_mem_xfree()235 mutex_init(&alloc->memory_mutex); in snd_gf1_mem_init()285 mutex_lock(&alloc->memory_mutex); in snd_gf1_mem_info_read()329 mutex_unlock(&alloc->memory_mutex); in snd_gf1_mem_info_read()
50 mutex_lock(&card->memory_mutex); in do_alloc_pages()52 mutex_unlock(&card->memory_mutex); in do_alloc_pages()61 mutex_lock(&card->memory_mutex); in do_free_pages()64 mutex_unlock(&card->memory_mutex); in do_free_pages()
323 mutex_init(&card->memory_mutex); in snd_card_init()
520 struct mutex memory_mutex; /* memory lock */ member1329 mutex_lock(&chip->memory_mutex); in calc_available_memory_size()1334 mutex_unlock(&chip->memory_mutex); in calc_available_memory_size()1346 mutex_lock(&chip->memory_mutex); in snd_es1968_new_memory()1351 mutex_unlock(&chip->memory_mutex); in snd_es1968_new_memory()1358 mutex_unlock(&chip->memory_mutex); in snd_es1968_new_memory()1370 mutex_unlock(&chip->memory_mutex); in snd_es1968_new_memory()1379 mutex_lock(&chip->memory_mutex); in snd_es1968_free_memory()1398 mutex_unlock(&chip->memory_mutex); in snd_es1968_free_memory()2661 mutex_init(&chip->memory_mutex); in snd_es1968_create()
132 struct mutex memory_mutex; /* protection for the above */ member
192 struct mutex memory_mutex; member