Lines Matching refs:pohThis
3222 struct SIS_OH *pohThis; in sisfb_poh_allocate() local
3232 pohThis = memheap->oh_free.poh_next; in sisfb_poh_allocate()
3234 while(pohThis != &memheap->oh_free) { in sisfb_poh_allocate()
3235 if(size <= pohThis->size) { in sisfb_poh_allocate()
3239 pohThis = pohThis->poh_next; in sisfb_poh_allocate()
3248 if(size == pohThis->size) { in sisfb_poh_allocate()
3249 pohRoot = pohThis; in sisfb_poh_allocate()
3250 sisfb_delete_node(pohThis); in sisfb_poh_allocate()
3256 pohRoot->offset = pohThis->offset; in sisfb_poh_allocate()
3259 pohThis->offset += size; in sisfb_poh_allocate()
3260 pohThis->size -= size; in sisfb_poh_allocate()
3265 pohThis = &memheap->oh_used; in sisfb_poh_allocate()
3266 sisfb_insert_node(pohThis, pohRoot); in sisfb_poh_allocate()
3293 struct SIS_OH *pohThis; in sisfb_poh_free() local
3321 pohThis = memheap->oh_free.poh_next; in sisfb_poh_free()
3323 while(pohThis != &memheap->oh_free) { in sisfb_poh_free()
3324 if(pohThis->offset == ulUpper) { in sisfb_poh_free()
3325 poh_next = pohThis; in sisfb_poh_free()
3326 } else if((pohThis->offset + pohThis->size) == ulLower) { in sisfb_poh_free()
3327 poh_prev = pohThis; in sisfb_poh_free()
3329 pohThis = pohThis->poh_next; in sisfb_poh_free()