Lines Matching refs:runout
957 struct runout *b = d; in nouveau_scratch_unref_bos()
969 if (!nv->scratch.runout) in nouveau_scratch_runout_release()
973 nv->scratch.runout)) in nouveau_scratch_runout_release()
977 nv->scratch.runout = NULL; in nouveau_scratch_runout_release()
989 if (nv->scratch.runout) in nouveau_scratch_runout()
990 n = nv->scratch.runout->nr; in nouveau_scratch_runout()
993 nv->scratch.runout = REALLOC(nv->scratch.runout, n == 0 ? 0 : in nouveau_scratch_runout()
994 (sizeof(*nv->scratch.runout) + (n + 0) * sizeof(void *)), in nouveau_scratch_runout()
995 sizeof(*nv->scratch.runout) + (n + 1) * sizeof(void *)); in nouveau_scratch_runout()
996 nv->scratch.runout->nr = n + 1; in nouveau_scratch_runout()
997 nv->scratch.runout->bo[n] = NULL; in nouveau_scratch_runout()
999 ret = nouveau_scratch_bo_alloc(nv, &nv->scratch.runout->bo[n], size); in nouveau_scratch_runout()
1001 ret = nouveau_bo_map(nv->scratch.runout->bo[n], 0, NULL); in nouveau_scratch_runout()
1003 nouveau_bo_ref(NULL, &nv->scratch.runout->bo[--nv->scratch.runout->nr]); in nouveau_scratch_runout()
1006 nv->scratch.current = nv->scratch.runout->bo[n]; in nouveau_scratch_runout()