Searched refs:memheap (Results 1 – 2 of 2) sorted by relevance
731 static struct SIS_OH * sisfb_poh_new_node(struct SIS_HEAP *memheap);732 static struct SIS_OH * sisfb_poh_allocate(struct SIS_HEAP *memheap, u32 size);735 static struct SIS_OH * sisfb_poh_free(struct SIS_HEAP *memheap, u32 base);736 static void sisfb_free_node(struct SIS_HEAP *memheap, struct SIS_OH *poh);
3186 sisfb_poh_new_node(struct SIS_HEAP *memheap) in sisfb_poh_new_node() argument3193 if(memheap->poh_freelist == NULL) { in sisfb_poh_new_node()3198 poha->poha_next = memheap->poha_chain; in sisfb_poh_new_node()3199 memheap->poha_chain = poha; in sisfb_poh_new_node()3210 memheap->poh_freelist = &poha->aoh[0]; in sisfb_poh_new_node()3213 poh = memheap->poh_freelist; in sisfb_poh_new_node()3214 memheap->poh_freelist = poh->poh_next; in sisfb_poh_new_node()3220 sisfb_poh_allocate(struct SIS_HEAP *memheap, u32 size) in sisfb_poh_allocate() argument3226 if(size > memheap->max_freesize) { in sisfb_poh_allocate()3232 pohThis = memheap->oh_free.poh_next; in sisfb_poh_allocate()[all …]