Lines Matching refs:i
78 unsigned int i, entry = -1; in bio_find_or_create_slab() local
82 i = 0; in bio_find_or_create_slab()
83 while (i < bio_slab_nr) { in bio_find_or_create_slab()
84 bslab = &bio_slabs[i]; in bio_find_or_create_slab()
87 entry = i; in bio_find_or_create_slab()
93 i++; in bio_find_or_create_slab()
131 unsigned int i; in bio_put_slab() local
135 for (i = 0; i < bio_slab_nr; i++) { in bio_put_slab()
136 if (bs->bio_slab == bio_slabs[i].slab) { in bio_put_slab()
137 bslab = &bio_slabs[i]; in bio_put_slab()
1051 int i; in bio_alloc_pages() local
1054 bio_for_each_segment_all(bv, bio, i) { in bio_alloc_pages()
1153 int i; in bio_copy_from_iter() local
1156 bio_for_each_segment_all(bvec, bio, i) { in bio_copy_from_iter()
1184 int i; in bio_copy_to_iter() local
1187 bio_for_each_segment_all(bvec, bio, i) { in bio_copy_to_iter()
1208 int i; in bio_free_pages() local
1210 bio_for_each_segment_all(bvec, bio, i) in bio_free_pages()
1264 int i, ret; in bio_copy_user_iov() local
1269 for (i = 0; i < iter->nr_segs; i++) { in bio_copy_user_iov()
1274 uaddr = (unsigned long) iter->iov[i].iov_base; in bio_copy_user_iov()
1275 end = (uaddr + iter->iov[i].iov_len + PAGE_SIZE - 1) in bio_copy_user_iov()
1314 i = map_data->offset / PAGE_SIZE; in bio_copy_user_iov()
1325 if (i == map_data->nr_entries * nr_pages) { in bio_copy_user_iov()
1330 page = map_data->pages[i / nr_pages]; in bio_copy_user_iov()
1331 page += (i % nr_pages); in bio_copy_user_iov()
1333 i++; in bio_copy_user_iov()
1395 struct iov_iter i; in bio_map_user_iov() local
1399 iov_for_each(iov, i, *iter) { in bio_map_user_iov()
1431 iov_for_each(iov, i, *iter) { in bio_map_user_iov()
1515 int i; in __bio_unmap_user() local
1520 bio_for_each_segment_all(bvec, bio, i) { in __bio_unmap_user()
1567 int offset, i; in bio_map_kern() local
1575 for (i = 0; i < nr_pages; i++) { in bio_map_kern()
1611 int i; in bio_copy_kern_endio_read() local
1613 bio_for_each_segment_all(bvec, bio, i) { in bio_copy_kern_endio_read()
1721 int i; in bio_set_pages_dirty() local
1723 bio_for_each_segment_all(bvec, bio, i) { in bio_set_pages_dirty()
1734 int i; in bio_release_pages() local
1736 bio_for_each_segment_all(bvec, bio, i) { in bio_release_pages()
1788 int i; in bio_check_pages_dirty() local
1790 bio_for_each_segment_all(bvec, bio, i) { in bio_check_pages_dirty()
2173 int i; in biovec_init_slabs() local
2175 for (i = 0; i < BVEC_POOL_NR; i++) { in biovec_init_slabs()
2177 struct biovec_slab *bvs = bvec_slabs + i; in biovec_init_slabs()