Lines Matching defs:poh

99 static void		sisfb_delete_node(struct SIS_OH *poh);
100 static void sisfb_insert_node(struct SIS_OH *pohList, struct SIS_OH *poh);
102 static void sisfb_free_node(struct SIS_HEAP *memheap, struct SIS_OH *poh);
3157 struct SIS_OH *poh;
3181 poh = sisfb_poh_new_node(&ivideo->sisfb_heap);
3182 if(poh == NULL)
3185 poh->poh_next = &ivideo->sisfb_heap.oh_free;
3186 poh->poh_prev = &ivideo->sisfb_heap.oh_free;
3187 poh->size = ivideo->sisfb_heap_size;
3188 poh->offset = ivideo->heapstart;
3190 ivideo->sisfb_heap.oh_free.poh_next = poh;
3191 ivideo->sisfb_heap.oh_free.poh_prev = poh;
3193 ivideo->sisfb_heap.max_freesize = poh->size;
3213 struct SIS_OH *poh;
3227 poh = &poha->aoh[0];
3229 poh->poh_next = poh + 1;
3230 poh = poh + 1;
3233 poh->poh_next = NULL;
3237 poh = memheap->poh_freelist;
3238 memheap->poh_freelist = poh->poh_next;
3240 return poh;
3296 sisfb_delete_node(struct SIS_OH *poh)
3298 poh->poh_prev->poh_next = poh->poh_next;
3299 poh->poh_next->poh_prev = poh->poh_prev;
3303 sisfb_insert_node(struct SIS_OH *pohList, struct SIS_OH *poh)
3307 pohList->poh_next = poh;
3308 pohTemp->poh_prev = poh;
3310 poh->poh_prev = pohList;
3311 poh->poh_next = pohTemp;
3385 sisfb_free_node(struct SIS_HEAP *memheap, struct SIS_OH *poh)
3387 if(poh == NULL)
3390 poh->poh_next = memheap->poh_freelist;
3391 memheap->poh_freelist = poh;
3397 struct SIS_OH *poh = NULL;
3400 poh = sisfb_poh_allocate(&ivideo->sisfb_heap, (u32)req->size);
3402 if(poh == NULL) {
3406 req->offset = poh->offset;
3407 req->size = poh->size;
3409 (poh->offset + ivideo->video_vbase));
3437 struct SIS_OH *poh;
3442 poh = sisfb_poh_free(&ivideo->sisfb_heap, base);
3444 if(poh == NULL) {