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()46 mutex_unlock(&alloc->memory_mutex); in snd_gf1_mem_xalloc()67 mutex_unlock(&alloc->memory_mutex); in snd_gf1_mem_xfree()228 mutex_init(&alloc->memory_mutex); in snd_gf1_mem_init()280 mutex_lock(&alloc->memory_mutex); in snd_gf1_mem_info_read()324 mutex_unlock(&alloc->memory_mutex); in snd_gf1_mem_info_read()
41 mutex_lock(&card->memory_mutex); in update_allocated_size()43 mutex_unlock(&card->memory_mutex); in update_allocated_size()48 mutex_lock(&card->memory_mutex); in decrease_allocated_size()51 mutex_unlock(&card->memory_mutex); in decrease_allocated_size()60 mutex_lock(&card->memory_mutex); in do_alloc_pages()63 mutex_unlock(&card->memory_mutex); in do_alloc_pages()67 mutex_unlock(&card->memory_mutex); in do_alloc_pages()
218 mutex_init(&card->memory_mutex); in snd_card_new()
524 struct mutex memory_mutex; /* memory lock */ member1333 mutex_lock(&chip->memory_mutex); in calc_available_memory_size()1338 mutex_unlock(&chip->memory_mutex); in calc_available_memory_size()1350 mutex_lock(&chip->memory_mutex); in snd_es1968_new_memory()1355 mutex_unlock(&chip->memory_mutex); in snd_es1968_new_memory()1362 mutex_unlock(&chip->memory_mutex); in snd_es1968_new_memory()1374 mutex_unlock(&chip->memory_mutex); in snd_es1968_new_memory()1383 mutex_lock(&chip->memory_mutex); in snd_es1968_free_memory()1402 mutex_unlock(&chip->memory_mutex); in snd_es1968_free_memory()2691 mutex_init(&chip->memory_mutex); in snd_es1968_create()
124 struct mutex memory_mutex; /* protection for the above */ member
192 struct mutex memory_mutex; member