Lines Matching refs:pohThis
3259 struct SIS_OH *pohThis; in sisfb_poh_allocate() local
3269 pohThis = memheap->oh_free.poh_next; in sisfb_poh_allocate()
3271 while(pohThis != &memheap->oh_free) { in sisfb_poh_allocate()
3272 if(size <= pohThis->size) { in sisfb_poh_allocate()
3276 pohThis = pohThis->poh_next; in sisfb_poh_allocate()
3285 if(size == pohThis->size) { in sisfb_poh_allocate()
3286 pohRoot = pohThis; in sisfb_poh_allocate()
3287 sisfb_delete_node(pohThis); in sisfb_poh_allocate()
3293 pohRoot->offset = pohThis->offset; in sisfb_poh_allocate()
3296 pohThis->offset += size; in sisfb_poh_allocate()
3297 pohThis->size -= size; in sisfb_poh_allocate()
3302 pohThis = &memheap->oh_used; in sisfb_poh_allocate()
3303 sisfb_insert_node(pohThis, pohRoot); in sisfb_poh_allocate()
3330 struct SIS_OH *pohThis; in sisfb_poh_free() local
3358 pohThis = memheap->oh_free.poh_next; in sisfb_poh_free()
3360 while(pohThis != &memheap->oh_free) { in sisfb_poh_free()
3361 if(pohThis->offset == ulUpper) { in sisfb_poh_free()
3362 poh_next = pohThis; in sisfb_poh_free()
3363 } else if((pohThis->offset + pohThis->size) == ulLower) { in sisfb_poh_free()
3364 poh_prev = pohThis; in sisfb_poh_free()
3366 pohThis = pohThis->poh_next; in sisfb_poh_free()