/linux/include/linux/ |
H A D | bvec.h | 198 iter_all->done = 0; in bvec_init_iter_all() 199 iter_all->idx = 0; in bvec_init_iter_all() 201 return &iter_all->bv; in bvec_init_iter_all() 205 struct bvec_iter_all *iter_all) in bvec_advance() argument 207 struct bio_vec *bv = &iter_all->bv; in bvec_advance() 209 if (iter_all->done) { in bvec_advance() 217 bvec->bv_len - iter_all->done); in bvec_advance() 218 iter_all->done += bv->bv_len; in bvec_advance() 220 if (iter_all->done == bvec->bv_len) { in bvec_advance() 221 iter_all->idx++; in bvec_advance() [all …]
|
/linux/fs/squashfs/ |
H A D | block.c | 38 struct bvec_iter_all iter_all = {}; in copy_bio_to_actor() local 39 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in copy_bio_to_actor() 46 if (WARN_ON_ONCE(!bio_next_segment(bio, &iter_all))) in copy_bio_to_actor() 70 if (!bio_next_segment(bio, &iter_all)) in copy_bio_to_actor() 86 struct bvec_iter_all iter_all; in squashfs_bio_read_cached() local 92 bio_for_each_segment_all(bv, fullbio, iter_all) { in squashfs_bio_read_cached() 285 struct bvec_iter_all iter_all = {}; in squashfs_read_data() local 286 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in squashfs_read_data() 296 if (WARN_ON_ONCE(!bio_next_segment(bio, &iter_all))) { in squashfs_read_data() 306 if (WARN_ON_ONCE(!bio_next_segment(bio, &iter_all))) { in squashfs_read_data()
|
H A D | lzo_wrapper.c | 69 struct bvec_iter_all iter_all = {}; in lzo_uncompress() local 70 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in lzo_uncompress() 76 while (bio_next_segment(bio, &iter_all)) { in lzo_uncompress()
|
H A D | zlib_wrapper.c | 56 struct bvec_iter_all iter_all = {}; in zlib_uncompress() local 57 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in zlib_uncompress() 77 if (!bio_next_segment(bio, &iter_all)) { in zlib_uncompress()
|
H A D | lz4_wrapper.c | 95 struct bvec_iter_all iter_all = {}; in lz4_uncompress() local 96 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in lz4_uncompress() 101 while (bio_next_segment(bio, &iter_all)) { in lz4_uncompress()
|
H A D | zstd_wrapper.c | 71 struct bvec_iter_all iter_all = {}; in zstd_uncompress() local 72 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in zstd_uncompress() 95 if (!bio_next_segment(bio, &iter_all)) { in zstd_uncompress()
|
H A D | xz_wrapper.c | 123 struct bvec_iter_all iter_all = {}; in squashfs_xz_uncompress() local 124 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in squashfs_xz_uncompress() 146 if (!bio_next_segment(bio, &iter_all)) { in squashfs_xz_uncompress()
|
/linux/block/ |
H A D | blk-map.c | 51 struct bvec_iter_all iter_all; in bio_copy_from_iter() local 53 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_copy_from_iter() 82 struct bvec_iter_all iter_all; in bio_copy_to_iter() local 84 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_copy_to_iter() 453 struct bvec_iter_all iter_all; in bio_copy_kern_endio_read() local 455 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_copy_kern_endio_read()
|
H A D | bounce.c | 107 struct bvec_iter_all iter_all; in bounce_end_io() local 112 bio_for_each_segment_all(bvec, bio, iter_all) { in bounce_end_io()
|
H A D | bio.c | 1532 struct bvec_iter_all iter_all; in bio_free_pages() local 1534 bio_for_each_segment_all(bvec, bio, iter_all) in bio_free_pages()
|
/linux/fs/gfs2/ |
H A D | meta_io.c | 202 struct bvec_iter_all iter_all; in gfs2_meta_read_endio() local 204 bio_for_each_segment_all(bvec, bio, iter_all) { in gfs2_meta_read_endio()
|
H A D | lops.c | 207 struct bvec_iter_all iter_all; in gfs2_end_log_write() local 219 bio_for_each_segment_all(bvec, bio, iter_all) { in gfs2_end_log_write()
|
/linux/fs/f2fs/ |
H A D | data.c | 140 struct bvec_iter_all iter_all; in f2fs_finish_read_bio() local 143 bio_for_each_segment_all(bv, bio, iter_all) { in f2fs_finish_read_bio() 190 struct bvec_iter_all iter_all; in f2fs_verify_bio() local 192 bio_for_each_segment_all(bv, bio, iter_all) { in f2fs_verify_bio() 242 struct bvec_iter_all iter_all; in f2fs_handle_step_decompress() local 246 bio_for_each_segment_all(bv, ctx->bio, iter_all) { in f2fs_handle_step_decompress() 328 struct bvec_iter_all iter_all; in f2fs_write_end_io() local 336 bio_for_each_segment_all(bvec, bio, iter_all) { in f2fs_write_end_io() 549 struct bvec_iter_all iter_all; in __has_merged_page() local 557 bio_for_each_segment_all(bvec, bio, iter_all) { in __has_merged_page()
|
/linux/fs/btrfs/ |
H A D | raid56.c | 1503 struct bvec_iter_all iter_all; in set_bio_pages_uptodate() local 1507 bio_for_each_segment_all(bvec, bio, iter_all) { in set_bio_pages_uptodate() 1568 struct bvec_iter_all iter_all; in verify_bio_data_sectors() local 1578 bio_for_each_segment_all(bvec, bio, iter_all) { in verify_bio_data_sectors()
|
/linux/drivers/md/bcache/ |
H A D | btree.c | 378 struct bvec_iter_all iter_all; in do_btree_node_write() local 380 bio_for_each_segment_all(bv, b->bio, iter_all) { in do_btree_node_write()
|
/linux/drivers/md/ |
H A D | raid1.c | 2283 struct bvec_iter_all iter_all; in process_checks() local 2290 bio_for_each_segment_all(bi, sbio, iter_all) in process_checks()
|