Lines Matching refs:bvec
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()
485 sums->sums[index] = btrfs_csum_data(data + bvec->bv_offset, in btrfs_csum_one_bio()
487 bvec->bv_len); in btrfs_csum_one_bio()
494 total_bytes += bvec->bv_len; in btrfs_csum_one_bio()
495 this_sum_bytes += bvec->bv_len; in btrfs_csum_one_bio()
496 offset += bvec->bv_len; in btrfs_csum_one_bio()
497 bvec++; in btrfs_csum_one_bio()