Home
last modified time | relevance | path

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

/linux-6.12.1/fs/adfs/
Ddir.c26 if (index + (remain < len) >= dir->nr_buffers) in adfs_dir_copyfrom()
51 if (index + (remain < len) >= dir->nr_buffers) in adfs_dir_copyto()
69 dir->nr_buffers = 0; in __adfs_dir_cleanup()
81 for (i = 0; i < dir->nr_buffers; i++) in adfs_dir_relse()
91 for (i = 0; i < dir->nr_buffers; i++) in adfs_dir_forget()
114 if (dir->nr_buffers) in adfs_dir_read_buffers()
115 memcpy(bhs, dir->bhs, dir->nr_buffers * sizeof(*bhs)); in adfs_dir_read_buffers()
120 for (i = dir->nr_buffers; i < num; i++) { in adfs_dir_read_buffers()
136 dir->nr_buffers++; in adfs_dir_read_buffers()
151 dir->nr_buffers = 0; in adfs_dir_read()
[all …]
Dadfs.h93 int nr_buffers; member
Ddir_fplus.c136 (dir->bhs[dir->nr_buffers - 1]->b_data + (sb->s_blocksize - 8)); in adfs_fplus_read()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_gem.c461 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()
[all …]
/linux-6.12.1/include/uapi/drm/
Dnouveau_drm.h199 __u32 nr_buffers; member
/linux-6.12.1/drivers/md/
Ddm-bufio.c2127 unsigned long nr_buffers; in dm_bufio_write_dirty_buffers() local
2139 nr_buffers = cache_count(&c->cache, LIST_DIRTY); in dm_bufio_write_dirty_buffers()
2147 if (nr_buffers) { in dm_bufio_write_dirty_buffers()
2148 nr_buffers--; in dm_bufio_write_dirty_buffers()
2828 static unsigned long __evict_a_few(unsigned long nr_buffers) in __evict_a_few() argument
2844 count = __evict_many(c, &params, LIST_CLEAN, nr_buffers); in __evict_a_few()