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()
40 guard(mutex)(&card->memory_mutex); in update_allocated_size()46 guard(mutex)(&card->memory_mutex); in decrease_allocated_size()58 scoped_guard(mutex, &card->memory_mutex) { in do_alloc_pages()
327 mutex_init(&card->memory_mutex); in snd_card_init()
518 struct mutex memory_mutex; /* memory lock */ member1321 mutex_lock(&chip->memory_mutex); in calc_available_memory_size()1326 mutex_unlock(&chip->memory_mutex); in calc_available_memory_size()1338 mutex_lock(&chip->memory_mutex); in snd_es1968_new_memory()1343 mutex_unlock(&chip->memory_mutex); in snd_es1968_new_memory()1350 mutex_unlock(&chip->memory_mutex); in snd_es1968_new_memory()1362 mutex_unlock(&chip->memory_mutex); in snd_es1968_new_memory()1371 mutex_lock(&chip->memory_mutex); in snd_es1968_free_memory()1390 mutex_unlock(&chip->memory_mutex); in snd_es1968_free_memory()2641 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