Lines Matching refs:bctx
396 struct nouveau_bufctx *bctx, *btmp; in pushbuf_flush() local
423 DRMLISTFOREACHENTRYSAFE(bctx, btmp, &nvpb->bctx_list, head) { in pushbuf_flush()
424 DRMLISTJOIN(&bctx->current, &bctx->pending); in pushbuf_flush()
425 DRMINITLISTHEAD(&bctx->current); in pushbuf_flush()
426 DRMLISTDELINIT(&bctx->head); in pushbuf_flush()
486 struct nouveau_bufctx *bctx = push->bufctx; in pushbuf_validate() local
488 int relocs = bctx ? bctx->relocs * 2: 0; in pushbuf_validate()
492 if (ret || bctx == NULL) in pushbuf_validate()
498 DRMLISTDEL(&bctx->head); in pushbuf_validate()
499 DRMLISTADD(&bctx->head, &nvpb->bctx_list); in pushbuf_validate()
501 DRMLISTFOREACHENTRY(bref, &bctx->pending, thead) { in pushbuf_validate()
517 DRMLISTJOIN(&bctx->pending, &bctx->current); in pushbuf_validate()
518 DRMINITLISTHEAD(&bctx->pending); in pushbuf_validate()