Home
last modified time | relevance | path

Searched refs:nr_buffers (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_gem.c467 int nr_buffers, struct validate_op *op) in validate_init() argument
484 for (i = 0; i < nr_buffers; i++) { in validate_init()
636 int nr_buffers, in nouveau_gem_pushbuf_validate() argument
644 if (nr_buffers == 0) in nouveau_gem_pushbuf_validate()
647 ret = validate_init(chan, file_priv, pbbo, nr_buffers, op); in nouveau_gem_pushbuf_validate()
683 if (unlikely(r->bo_index >= req->nr_buffers)) { in nouveau_gem_pushbuf_reloc_apply()
693 if (unlikely(r->reloc_bo_index >= req->nr_buffers)) { in nouveau_gem_pushbuf_reloc_apply()
803 if (unlikely(req->nr_buffers > NOUVEAU_GEM_MAX_BUFFERS)) { in nouveau_gem_ioctl_pushbuf()
805 req->nr_buffers, NOUVEAU_GEM_MAX_BUFFERS); in nouveau_gem_ioctl_pushbuf()
819 bo = u_memcpya(req->buffers, req->nr_buffers, sizeof(*bo)); in nouveau_gem_ioctl_pushbuf()
[all …]
/linux/drivers/md/
H A Ddm-bufio.c2150 unsigned long nr_buffers; in dm_bufio_write_dirty_buffers() local
2162 nr_buffers = cache_count(&c->cache, LIST_DIRTY); in dm_bufio_write_dirty_buffers()
2171 if (nr_buffers) { in dm_bufio_write_dirty_buffers()
2172 nr_buffers--; in dm_bufio_write_dirty_buffers()
2747 static unsigned long __evict_a_few(unsigned long nr_buffers) in __evict_a_few() argument
2761 for (count = 0; count < nr_buffers; count++) { in __evict_a_few()
/linux/fs/adfs/
H A Ddir_fplus.c136 (dir->bhs[dir->nr_buffers - 1]->b_data + (sb->s_blocksize - 8)); in adfs_fplus_read()