Lines Matching refs:pohThis
3273 struct SIS_OH *pohThis; in sisfb_poh_allocate() local
3283 pohThis = memheap->oh_free.poh_next; in sisfb_poh_allocate()
3285 while(pohThis != &memheap->oh_free) { in sisfb_poh_allocate()
3286 if(size <= pohThis->size) { in sisfb_poh_allocate()
3290 pohThis = pohThis->poh_next; in sisfb_poh_allocate()
3299 if(size == pohThis->size) { in sisfb_poh_allocate()
3300 pohRoot = pohThis; in sisfb_poh_allocate()
3301 sisfb_delete_node(pohThis); in sisfb_poh_allocate()
3307 pohRoot->offset = pohThis->offset; in sisfb_poh_allocate()
3310 pohThis->offset += size; in sisfb_poh_allocate()
3311 pohThis->size -= size; in sisfb_poh_allocate()
3316 pohThis = &memheap->oh_used; in sisfb_poh_allocate()
3317 sisfb_insert_node(pohThis, pohRoot); in sisfb_poh_allocate()
3344 struct SIS_OH *pohThis; in sisfb_poh_free() local
3372 pohThis = memheap->oh_free.poh_next; in sisfb_poh_free()
3374 while(pohThis != &memheap->oh_free) { in sisfb_poh_free()
3375 if(pohThis->offset == ulUpper) { in sisfb_poh_free()
3376 poh_next = pohThis; in sisfb_poh_free()
3377 } else if((pohThis->offset + pohThis->size) == ulLower) { in sisfb_poh_free()
3378 poh_prev = pohThis; in sisfb_poh_free()
3380 pohThis = pohThis->poh_next; in sisfb_poh_free()