Lines Matching refs:bctx
397 struct nouveau_bufctx *bctx, *btmp; in pushbuf_flush() local
424 DRMLISTFOREACHENTRYSAFE(bctx, btmp, &nvpb->bctx_list, head) { in pushbuf_flush()
425 DRMLISTJOIN(&bctx->current, &bctx->pending); in pushbuf_flush()
426 DRMINITLISTHEAD(&bctx->current); in pushbuf_flush()
427 DRMLISTDELINIT(&bctx->head); in pushbuf_flush()
487 struct nouveau_bufctx *bctx = push->bufctx; in pushbuf_validate() local
489 int relocs = bctx ? bctx->relocs * 2: 0; in pushbuf_validate()
493 if (ret || bctx == NULL) in pushbuf_validate()
499 DRMLISTDEL(&bctx->head); in pushbuf_validate()
500 DRMLISTADD(&bctx->head, &nvpb->bctx_list); in pushbuf_validate()
502 DRMLISTFOREACHENTRY(bref, &bctx->pending, thead) { in pushbuf_validate()
518 DRMLISTJOIN(&bctx->pending, &bctx->current); in pushbuf_validate()
519 DRMINITLISTHEAD(&bctx->pending); in pushbuf_validate()