SIS_OH *pohThis; SIS_OH *pohRoot; int     bAllocated = 0; 
struct SIS_OH	*pohThis; struct SIS_OH	*pohRoot; int		bAllocated = 0; 
sisfb_poh_allocate(u32 size){	SIS_OH *pohThis;	SIS_OH *pohRoot;	int     bAllocated = 0;	if(size > sisfb_heap.max_freesize) {		DPRINTK("sisfb: Can't allocate %dk video memory\n",			(unsigned int) size / 1024);		return (NULL);	}	pohThis = sisfb_heap.oh_free.poh_next;	while(pohThis != &sisfb_heap.oh_free) {		if (size <= pohThis->size) {			bAllocated = 1;			break;		}		pohThis = pohThis->poh_next;	}	if(!bAllocated) {		DPRINTK("sisfb: Can't allocate %dk video memory\n",			(unsigned int) size / 1024);		return (NULL);	}	if(size == pohThis->size) {		pohRoot = pohThis;		sisfb_delete_node(pohThis);	} else {		pohRoot = sisfb_poh_new_node();		if(pohRoot == NULL) {			return (NULL);		}		pohRoot->offset = pohThis->offset;		pohRoot->size = size;		pohThis->offset += size;		pohThis->size -= size;	}	sisfb_heap.max_freesize -= size;	pohThis = &sisfb_heap.oh_used;	sisfb_insert_node(pohThis, pohRoot);	return (pohRoot);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/544393fe584d333480659a4bed30f5295355df11/sis_main.c/clean/drivers/video/sis/sis_main.c