Lines Matching refs:uPool
632 struct _WsbmUserPool *uPool; in wsbmUserPoolInit() local
635 uPool = calloc(1, sizeof(*uPool)); in wsbmUserPoolInit()
636 if (!uPool) in wsbmUserPoolInit()
639 ret = WSBM_MUTEX_INIT(&uPool->mutex); in wsbmUserPoolInit()
643 ret = wsbmMMinit(&uPool->vramMM, 0, vramSize); in wsbmUserPoolInit()
647 ret = wsbmMMinit(&uPool->agpMM, 0, agpSize); in wsbmUserPoolInit()
651 WSBMINITLISTHEAD(&uPool->delayed); in wsbmUserPoolInit()
652 WSBMINITLISTHEAD(&uPool->vramLRU); in wsbmUserPoolInit()
653 WSBMINITLISTHEAD(&uPool->agpLRU); in wsbmUserPoolInit()
655 uPool->agpOffset = agpStart; in wsbmUserPoolInit()
656 uPool->agpMap = (unsigned long)agpAddr; in wsbmUserPoolInit()
657 uPool->vramOffset = vramStart; in wsbmUserPoolInit()
658 uPool->vramMap = (unsigned long)vramAddr; in wsbmUserPoolInit()
659 uPool->fenceTypes = fenceTypes; in wsbmUserPoolInit()
661 pool = &uPool->pool; in wsbmUserPoolInit()
682 wsbmMMtakedown(&uPool->vramMM); in wsbmUserPoolInit()
684 WSBM_MUTEX_FREE(&uPool->mutex); in wsbmUserPoolInit()
686 free(uPool); in wsbmUserPoolInit()