Lines Matching full:iv
29 struct bio_vec iv, ivprv = { NULL }; in blk_rq_count_integrity_sg() local
35 bio_for_each_integrity_vec(iv, bio, iter) { in blk_rq_count_integrity_sg()
38 if (!biovec_phys_mergeable(q, &ivprv, &iv)) in blk_rq_count_integrity_sg()
40 if (seg_size + iv.bv_len > queue_max_segment_size(q)) in blk_rq_count_integrity_sg()
43 seg_size += iv.bv_len; in blk_rq_count_integrity_sg()
47 seg_size = iv.bv_len; in blk_rq_count_integrity_sg()
51 ivprv = iv; in blk_rq_count_integrity_sg()
69 struct bio_vec iv, ivprv = { NULL }; in blk_rq_map_integrity_sg() local
77 bio_for_each_integrity_vec(iv, bio, iter) { in blk_rq_map_integrity_sg()
79 if (!biovec_phys_mergeable(q, &ivprv, &iv)) in blk_rq_map_integrity_sg()
81 if (sg->length + iv.bv_len > queue_max_segment_size(q)) in blk_rq_map_integrity_sg()
84 sg->length += iv.bv_len; in blk_rq_map_integrity_sg()
94 sg_set_page(sg, iv.bv_page, iv.bv_len, iv.bv_offset); in blk_rq_map_integrity_sg()
99 ivprv = iv; in blk_rq_map_integrity_sg()