Lines Matching refs:sisfb_heap
3043 sisfb_heap.vinfo = ivideo;
3045 sisfb_heap.poha_chain = NULL;
3046 sisfb_heap.poh_freelist = NULL;
3051 poh->poh_next = &sisfb_heap.oh_free;
3052 poh->poh_prev = &sisfb_heap.oh_free;
3056 sisfb_heap.oh_free.poh_next = poh;
3057 sisfb_heap.oh_free.poh_prev = poh;
3058 sisfb_heap.oh_free.size = 0;
3059 sisfb_heap.max_freesize = poh->size;
3061 sisfb_heap.oh_used.poh_next = &sisfb_heap.oh_used;
3062 sisfb_heap.oh_used.poh_prev = &sisfb_heap.oh_used;
3063 sisfb_heap.oh_used.size = SENTINEL;
3082 if(sisfb_heap.poh_freelist == NULL) {
3086 poha->poha_next = sisfb_heap.poha_chain;
3087 sisfb_heap.poha_chain = poha;
3098 sisfb_heap.poh_freelist = &poha->aoh[0];
3101 poh = sisfb_heap.poh_freelist;
3102 sisfb_heap.poh_freelist = poh->poh_next;
3114 if(size > sisfb_heap.max_freesize) {
3120 pohThis = sisfb_heap.oh_free.poh_next;
3122 while(pohThis != &sisfb_heap.oh_free) {
3153 sisfb_heap.max_freesize -= size;
3155 pohThis = &sisfb_heap.oh_used;
3199 poh_freed = sisfb_heap.oh_used.poh_next;
3201 while(poh_freed != &sisfb_heap.oh_used) {
3212 sisfb_heap.max_freesize += poh_freed->size;
3218 pohThis = sisfb_heap.oh_free.poh_next;
3220 while(pohThis != &sisfb_heap.oh_free) {
3252 sisfb_insert_node(&sisfb_heap.oh_free, poh_freed);
3262 poh->poh_next = sisfb_heap.poh_freelist;
3263 sisfb_heap.poh_freelist = poh;
3269 struct sis_video_info *ivideo = sisfb_heap.vinfo;
3292 struct sis_video_info *ivideo = sisfb_heap.vinfo;