Lines Matching refs:nr_buffers
26 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()
181 for (i = 0; i < dir->nr_buffers; i++) in adfs_dir_mark_dirty()
190 for (i = dir->nr_buffers - 1; i >= 0; i--) { in adfs_dir_sync()