Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/video/fbdev/sis/
Dsis_main.h731 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);
Dsis_main.c3186 sisfb_poh_new_node(struct SIS_HEAP *memheap) in sisfb_poh_new_node() argument
3193 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() argument
3226 if(size > memheap->max_freesize) { in sisfb_poh_allocate()
3232 pohThis = memheap->oh_free.poh_next; in sisfb_poh_allocate()
[all …]