Home
last modified time | relevance | path

Searched refs:cmm_lock (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/arch/powerpc/platforms/pseries/
Dcmm.c107 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 …]
/linux-2.6.39/drivers/staging/tidspbridge/pmgr/
Dcmm.c99 struct mutex cmm_lock; /* Lock to access cmm mgr */ member
193 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 …]
/linux-2.6.39/arch/s390/mm/
Dcmm.c54 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()