Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/gpu/drm/nouveau/
Dnouveau_gem.c419 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()
[all …]
/linux-5.19.10/include/uapi/drm/
Dnouveau_drm.h105 __u32 nr_buffers; member