Lines Matching refs:nr_buffers
461 int nr_buffers, struct validate_op *op) in validate_init() argument
478 for (i = 0; i < nr_buffers; i++) { in validate_init()
628 int nr_buffers, in nouveau_gem_pushbuf_validate() argument
636 if (nr_buffers == 0) in nouveau_gem_pushbuf_validate()
639 ret = validate_init(chan, file_priv, pbbo, nr_buffers, op); in nouveau_gem_pushbuf_validate()
675 if (unlikely(r->bo_index >= req->nr_buffers)) { in nouveau_gem_pushbuf_reloc_apply()
685 if (unlikely(r->reloc_bo_index >= req->nr_buffers)) { in nouveau_gem_pushbuf_reloc_apply()
795 if (unlikely(req->nr_buffers > NOUVEAU_GEM_MAX_BUFFERS)) { in nouveau_gem_ioctl_pushbuf()
797 req->nr_buffers, NOUVEAU_GEM_MAX_BUFFERS); in nouveau_gem_ioctl_pushbuf()
811 bo = u_memcpya(req->buffers, req->nr_buffers, sizeof(*bo)); in nouveau_gem_ioctl_pushbuf()
819 if (push[i].bo_index >= req->nr_buffers) { in nouveau_gem_ioctl_pushbuf()
829 req->nr_buffers, &op, &do_reloc); in nouveau_gem_ioctl_pushbuf()
946 for (i = 0; i < req->nr_buffers; i++) { in nouveau_gem_ioctl_pushbuf()