Home
last modified time | relevance | path

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

/linux-4.1.27/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.c3189 sisfb_poh_new_node(struct SIS_HEAP *memheap) in sisfb_poh_new_node() argument
3196 if(memheap->poh_freelist == NULL) { in sisfb_poh_new_node()
3201 poha->poha_next = memheap->poha_chain; in sisfb_poh_new_node()
3202 memheap->poha_chain = poha; in sisfb_poh_new_node()
3213 memheap->poh_freelist = &poha->aoh[0]; in sisfb_poh_new_node()
3216 poh = memheap->poh_freelist; in sisfb_poh_new_node()
3217 memheap->poh_freelist = poh->poh_next; in sisfb_poh_new_node()
3223 sisfb_poh_allocate(struct SIS_HEAP *memheap, u32 size) in sisfb_poh_allocate() argument
3229 if(size > memheap->max_freesize) { in sisfb_poh_allocate()
3235 pohThis = memheap->oh_free.poh_next; in sisfb_poh_allocate()
[all …]