Lines Matching refs:bv_len
29 if (bv->bv_len == bio->bi_iter.bi_size) in bio_get_last_bvec()
46 bv->bv_len = iter.bi_bvec_done; in bio_get_last_bvec()
236 unsigned len = min(bv->bv_len, max_len); in bvec_split_segs()
256 return len > 0 || bv->bv_len > max_len; in bvec_split_segs()
298 sectors + (bv.bv_len >> 9) <= max_sectors && in blk_bio_segment_split()
299 bv.bv_offset + bv.bv_len <= PAGE_SIZE) { in blk_bio_segment_split()
301 sectors += bv.bv_len >> 9; in blk_bio_segment_split()
448 unsigned nbytes = bvec->bv_len; in blk_bvec_map_sg()
483 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in __blk_bvec_map_sg()
493 int nbytes = bvec->bv_len; in __blk_segment_map_sg_merge()
529 if (bvec.bv_offset + bvec.bv_len <= PAGE_SIZE) in __blk_bios_map_sg()