Lines Matching refs:bi_iter
20 *bv = mp_bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter); in bio_get_first_bvec()
25 struct bvec_iter iter = bio->bi_iter; in bio_get_last_bvec()
29 if (bv->bv_len == bio->bi_iter.bi_size) in bio_get_last_bvec()
130 tmp = bio->bi_iter.bi_sector + split_sectors - alignment; in blk_bio_discard_split()
180 unsigned sectors = blk_max_size_offset(q, bio->bi_iter.bi_sector, 0); in get_max_io_size()
184 unsigned start_offset = bio->bi_iter.bi_sector & (pbs - 1); in get_max_io_size()
366 trace_block_split(split, (*bio)->bi_iter.bi_sector); in __blk_queue_split()
536 if (likely(bio->bi_iter.bi_size)) { in __blk_bios_map_sg()
652 blk_rq_get_max_sectors(req, bio->bi_iter.bi_sector)) { in ll_front_merge_fn()
940 else if (blk_rq_pos(rq) + blk_rq_sectors(rq) == bio->bi_iter.bi_sector) in blk_try_merge()
942 else if (blk_rq_pos(rq) - bio_sectors(bio) == bio->bi_iter.bi_sector) in blk_try_merge()
979 req->__data_len += bio->bi_iter.bi_size; in bio_attempt_back_merge()
1004 req->__sector = bio->bi_iter.bi_sector; in bio_attempt_front_merge()
1005 req->__data_len += bio->bi_iter.bi_size; in bio_attempt_front_merge()
1028 req->__data_len += bio->bi_iter.bi_size; in bio_attempt_discard_merge()