Searched refs:seg_size (Results 1 – 2 of 2) sorted by relevance
90 unsigned seg_size = 0, nsegs = 0, sectors = 0; in blk_bio_segment_split() local142 if (seg_size + bv.bv_len > queue_max_segment_size(q)) in blk_bio_segment_split()149 seg_size += bv.bv_len; in blk_bio_segment_split()154 if (nsegs == 1 && seg_size > front_seg_size) in blk_bio_segment_split()155 front_seg_size = seg_size; in blk_bio_segment_split()165 seg_size = bv.bv_len; in blk_bio_segment_split()168 if (nsegs == 1 && seg_size > front_seg_size) in blk_bio_segment_split()169 front_seg_size = seg_size; in blk_bio_segment_split()183 if (seg_size > bio->bi_seg_back_size) in blk_bio_segment_split()184 bio->bi_seg_back_size = seg_size; in blk_bio_segment_split()[all …]
45 unsigned int seg_size = 0; in blk_rq_count_integrity_sg() local58 if (seg_size + iv.bv_len > queue_max_segment_size(q)) in blk_rq_count_integrity_sg()61 seg_size += iv.bv_len; in blk_rq_count_integrity_sg()65 seg_size = iv.bv_len; in blk_rq_count_integrity_sg()