Home
last modified time | relevance | path

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

/drivers/staging/tidspbridge/pmgr/
Dcmm.c137 static struct cmm_allocator *get_allocator(struct cmm_object *cmm_mgr_obj,
141 static struct cmm_mnode *get_node(struct cmm_object *cmm_mgr_obj, u32 dw_pa,
144 static s32 get_slot(struct cmm_object *cmm_mgr_obj);
161 struct cmm_object *cmm_mgr_obj = (struct cmm_object *)hcmm_mgr; in cmm_calloc_buf() local
176 if (cmm_mgr_obj && (usize != 0)) { in cmm_calloc_buf()
181 get_allocator(cmm_mgr_obj, pattrs->seg_id); in cmm_calloc_buf()
184 ((usize - 1) & ~(cmm_mgr_obj->min_block_size - in cmm_calloc_buf()
186 + cmm_mgr_obj->min_block_size; in cmm_calloc_buf()
187 mutex_lock(&cmm_mgr_obj->cmm_lock); in cmm_calloc_buf()
192 if (delta_size >= cmm_mgr_obj->min_block_size) { in cmm_calloc_buf()
[all …]