Lines Matching refs:nr_buffers
419 int nr_buffers, struct validate_op *op) in validate_init() argument
436 for (i = 0; i < nr_buffers; i++) { in validate_init()
585 int nr_buffers, in nouveau_gem_pushbuf_validate() argument
593 if (nr_buffers == 0) in nouveau_gem_pushbuf_validate()
596 ret = validate_init(chan, file_priv, pbbo, nr_buffers, op); in nouveau_gem_pushbuf_validate()
657 if (unlikely(r->bo_index >= req->nr_buffers)) { in nouveau_gem_pushbuf_reloc_apply()
667 if (unlikely(r->reloc_bo_index >= req->nr_buffers)) { in nouveau_gem_pushbuf_reloc_apply()
764 if (unlikely(req->nr_buffers > NOUVEAU_GEM_MAX_BUFFERS)) { in nouveau_gem_ioctl_pushbuf()
766 req->nr_buffers, NOUVEAU_GEM_MAX_BUFFERS); in nouveau_gem_ioctl_pushbuf()
780 bo = u_memcpya(req->buffers, req->nr_buffers, sizeof(*bo)); in nouveau_gem_ioctl_pushbuf()
788 if (push[i].bo_index >= req->nr_buffers) { in nouveau_gem_ioctl_pushbuf()
798 req->nr_buffers, &op, &do_reloc); in nouveau_gem_ioctl_pushbuf()
914 for (i = 0; i < req->nr_buffers; i++) { in nouveau_gem_ioctl_pushbuf()