Lines Matching refs:pohThis
3225 struct SIS_OH *pohThis; in sisfb_poh_allocate() local
3235 pohThis = memheap->oh_free.poh_next; in sisfb_poh_allocate()
3237 while(pohThis != &memheap->oh_free) { in sisfb_poh_allocate()
3238 if(size <= pohThis->size) { in sisfb_poh_allocate()
3242 pohThis = pohThis->poh_next; in sisfb_poh_allocate()
3251 if(size == pohThis->size) { in sisfb_poh_allocate()
3252 pohRoot = pohThis; in sisfb_poh_allocate()
3253 sisfb_delete_node(pohThis); in sisfb_poh_allocate()
3259 pohRoot->offset = pohThis->offset; in sisfb_poh_allocate()
3262 pohThis->offset += size; in sisfb_poh_allocate()
3263 pohThis->size -= size; in sisfb_poh_allocate()
3268 pohThis = &memheap->oh_used; in sisfb_poh_allocate()
3269 sisfb_insert_node(pohThis, pohRoot); in sisfb_poh_allocate()
3296 struct SIS_OH *pohThis; in sisfb_poh_free() local
3324 pohThis = memheap->oh_free.poh_next; in sisfb_poh_free()
3326 while(pohThis != &memheap->oh_free) { in sisfb_poh_free()
3327 if(pohThis->offset == ulUpper) { in sisfb_poh_free()
3328 poh_next = pohThis; in sisfb_poh_free()
3329 } else if((pohThis->offset + pohThis->size) == ulLower) { in sisfb_poh_free()
3330 poh_prev = pohThis; in sisfb_poh_free()
3332 pohThis = pohThis->poh_next; in sisfb_poh_free()