/fs/btrfs/ |
D | file-item.c | 165 struct bio_vec *bvec = bio->bi_io_vec; in __btrfs_lookup_bio_sums() local 225 offset = page_offset(bvec->bv_page) + bvec->bv_offset; in __btrfs_lookup_bio_sums() 246 offset + bvec->bv_len - 1, in __btrfs_lookup_bio_sums() 286 disk_bytenr += bvec->bv_len; in __btrfs_lookup_bio_sums() 287 offset += bvec->bv_len; in __btrfs_lookup_bio_sums() 288 bvec++; in __btrfs_lookup_bio_sums() 432 struct bio_vec *bvec = bio->bi_io_vec; in btrfs_csum_one_bio() local 451 offset = page_offset(bvec->bv_page) + bvec->bv_offset; in btrfs_csum_one_bio() 460 offset = page_offset(bvec->bv_page) + bvec->bv_offset; in btrfs_csum_one_bio() 483 data = kmap_atomic(bvec->bv_page); in btrfs_csum_one_bio() [all …]
|
D | compression.h | 37 struct bio_vec *bvec, int vcnt, 48 void btrfs_clear_biovec_end(struct bio_vec *bvec, int vcnt, 69 struct bio_vec *bvec,
|
D | compression.c | 85 u64 disk_start, struct bio_vec *bvec, 204 struct bio_vec *bvec; in end_compressed_bio_read() local 210 bio_for_each_segment_all(bvec, cb->orig_bio, i) in end_compressed_bio_read() 211 SetPageChecked(bvec->bv_page); in end_compressed_bio_read() 919 u64 disk_start, struct bio_vec *bvec, in btrfs_decompress_biovec() argument 931 bvec, vcnt, srclen); in btrfs_decompress_biovec() 973 struct bio_vec *bvec, int vcnt, in btrfs_decompress_buf2page() argument 983 struct page *page_out = bvec[*pg_index].bv_page; in btrfs_decompress_buf2page() 1028 page_out = bvec[*pg_index].bv_page; in btrfs_decompress_buf2page() 1063 void btrfs_clear_biovec_end(struct bio_vec *bvec, int vcnt, in btrfs_clear_biovec_end() argument [all …]
|
D | extent_io.c | 2458 struct bio_vec *bvec; in end_bio_extent_writepage() local 2463 bio_for_each_segment_all(bvec, bio, i) { in end_bio_extent_writepage() 2464 struct page *page = bvec->bv_page; in end_bio_extent_writepage() 2471 if (bvec->bv_offset || bvec->bv_len != PAGE_CACHE_SIZE) { in end_bio_extent_writepage() 2472 if (bvec->bv_offset + bvec->bv_len != PAGE_CACHE_SIZE) in end_bio_extent_writepage() 2475 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 2480 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 2484 end = start + bvec->bv_offset + bvec->bv_len - 1; in end_bio_extent_writepage() 2520 struct bio_vec *bvec; in end_bio_extent_readpage() local 2537 bio_for_each_segment_all(bvec, bio, i) { in end_bio_extent_readpage() [all …]
|
D | lzo.c | 260 struct bio_vec *bvec, in lzo_decompress_biovec() argument 369 bvec, vcnt, in lzo_decompress_biovec() 377 btrfs_clear_biovec_end(bvec, vcnt, page_out_index, pg_offset); in lzo_decompress_biovec()
|
D | zlib.c | 215 struct bio_vec *bvec, in zlib_decompress_biovec() argument 269 bvec, vcnt, in zlib_decompress_biovec() 303 btrfs_clear_biovec_end(bvec, vcnt, page_out_index, pg_offset); in zlib_decompress_biovec()
|
D | inode.c | 7402 struct bio_vec *bvec; in btrfs_retry_endio_nocsum() local 7409 bio_for_each_segment_all(bvec, bio, i) in btrfs_retry_endio_nocsum() 7410 clean_io_failure(done->inode, done->start, bvec->bv_page, 0); in btrfs_retry_endio_nocsum() 7419 struct bio_vec *bvec; in __btrfs_correct_data_nocsum() local 7428 bio_for_each_segment_all(bvec, &io_bio->bio, i) { in __btrfs_correct_data_nocsum() 7434 ret = dio_read_error(inode, &io_bio->bio, bvec->bv_page, start, in __btrfs_correct_data_nocsum() 7435 start + bvec->bv_len - 1, in __btrfs_correct_data_nocsum() 7448 start += bvec->bv_len; in __btrfs_correct_data_nocsum() 7458 struct bio_vec *bvec; in btrfs_retry_endio() local 7467 bio_for_each_segment_all(bvec, bio, i) { in btrfs_retry_endio() [all …]
|
D | volumes.c | 5731 struct bio_vec *bvec = first_bio->bi_io_vec; in breakup_stripe_bio() local 5741 while (bvec <= (first_bio->bi_io_vec + first_bio->bi_vcnt - 1)) { in breakup_stripe_bio() 5742 if (bio_add_page(bio, bvec->bv_page, bvec->bv_len, in breakup_stripe_bio() 5743 bvec->bv_offset) < bvec->bv_len) { in breakup_stripe_bio() 5752 bvec++; in breakup_stripe_bio()
|
D | disk-io.c | 878 struct bio_vec *bvec; in btree_csum_one_bio() local 882 bio_for_each_segment_all(bvec, bio, i) { in btree_csum_one_bio() 883 root = BTRFS_I(bvec->bv_page->mapping->host)->root; in btree_csum_one_bio() 884 ret = csum_dirty_buffer(root, bvec->bv_page); in btree_csum_one_bio()
|
/fs/gfs2/ |
D | lops.c | 172 static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, struct bio_vec *bvec, in gfs2_end_log_write_bh() argument 176 struct page *page = bvec->bv_page; in gfs2_end_log_write_bh() 180 size = bvec->bv_len; in gfs2_end_log_write_bh() 181 while (bh_offset(bh) < bvec->bv_offset) in gfs2_end_log_write_bh() 208 struct bio_vec *bvec; in gfs2_end_log_write() local 217 bio_for_each_segment_all(bvec, bio, i) { in gfs2_end_log_write() 218 page = bvec->bv_page; in gfs2_end_log_write() 220 gfs2_end_log_write_bh(sdp, bvec, error); in gfs2_end_log_write()
|
/fs/logfs/ |
D | dev_bdev.c | 59 struct bio_vec *bvec; in writeseg_end_io() local 67 bio_for_each_segment_all(bvec, bio, i) { in writeseg_end_io() 68 end_page_writeback(bvec->bv_page); in writeseg_end_io() 69 page_cache_release(bvec->bv_page); in writeseg_end_io()
|
/fs/ext4/ |
D | page-io.c | 69 struct bio_vec *bvec; in ext4_finish_bio() local 71 bio_for_each_segment_all(bvec, bio, i) { in ext4_finish_bio() 72 struct page *page = bvec->bv_page; in ext4_finish_bio() 78 unsigned bio_start = bvec->bv_offset; in ext4_finish_bio() 79 unsigned bio_end = bio_start + bvec->bv_len; in ext4_finish_bio()
|
/fs/f2fs/ |
D | data.c | 56 struct bio_vec *bvec; in f2fs_read_end_io() local 75 bio_for_each_segment_all(bvec, bio, i) { in f2fs_read_end_io() 76 struct page *page = bvec->bv_page; in f2fs_read_end_io() 93 struct bio_vec *bvec; in f2fs_write_end_io() local 96 bio_for_each_segment_all(bvec, bio, i) { in f2fs_write_end_io() 97 struct page *page = bvec->bv_page; in f2fs_write_end_io() 253 struct bio_vec *bvec; in __has_merged_page() local 263 bio_for_each_segment_all(bvec, io->bio, i) { in __has_merged_page() 265 if (bvec->bv_page->mapping) in __has_merged_page() 266 target = bvec->bv_page; in __has_merged_page() [all …]
|
/fs/ |
D | direct-io.c | 460 struct bio_vec *bvec; in dio_bio_complete() local 469 bio_for_each_segment_all(bvec, bio, i) { in dio_bio_complete() 470 struct page *page = bvec->bv_page; in dio_bio_complete()
|
D | buffer.c | 2967 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in guard_bio_eod() local 2991 bvec->bv_len -= truncated_bytes; in guard_bio_eod() 2995 zero_user(bvec->bv_page, bvec->bv_offset + bvec->bv_len, in guard_bio_eod()
|
D | splice.c | 1013 from.bvec = array; in iter_file_splice_write()
|