Searched refs:cmm_lock (Results 1 – 3 of 3) sorted by relevance
107 static DEFINE_SPINLOCK(cmm_lock);145 spin_lock(&cmm_lock); in cmm_alloc_pages()149 spin_unlock(&cmm_lock); in cmm_alloc_pages()158 spin_lock(&cmm_lock); in cmm_alloc_pages()172 spin_unlock(&cmm_lock); in cmm_alloc_pages()180 spin_unlock(&cmm_lock); in cmm_alloc_pages()201 spin_lock(&cmm_lock); in cmm_free_pages()220 spin_unlock(&cmm_lock); in cmm_free_pages()480 spin_lock(&cmm_lock); in cmm_count_pages()490 spin_unlock(&cmm_lock); in cmm_count_pages()[all …]
99 struct mutex cmm_lock; /* Lock to access cmm mgr */ member193 mutex_lock(&cmm_mgr_obj->cmm_lock); in cmm_calloc_buf()230 mutex_unlock(&cmm_mgr_obj->cmm_lock); in cmm_calloc_buf()267 mutex_init(&cmm_obj->cmm_lock); in cmm_create()291 mutex_lock(&cmm_mgr_obj->cmm_lock); in cmm_destroy()319 mutex_unlock(&cmm_mgr_obj->cmm_lock); in cmm_destroy()322 mutex_destroy(&cmm_mgr_obj->cmm_lock); in cmm_destroy()370 mutex_lock(&cmm_mgr_obj->cmm_lock); in cmm_free_buf()379 mutex_unlock(&cmm_mgr_obj->cmm_lock); in cmm_free_buf()428 mutex_lock(&cmm_mgr_obj->cmm_lock); in cmm_get_info()[all …]
54 static DEFINE_SPINLOCK(cmm_lock);73 spin_lock(&cmm_lock); in cmm_alloc_pages()77 spin_unlock(&cmm_lock); in cmm_alloc_pages()84 spin_lock(&cmm_lock); in cmm_alloc_pages()97 spin_unlock(&cmm_lock); in cmm_alloc_pages()108 spin_lock(&cmm_lock); in cmm_free_pages()123 spin_unlock(&cmm_lock); in cmm_free_pages()