Lines Matching refs:max_io_len
934 static sector_t max_io_len(sector_t sector, struct dm_target *ti) in max_io_len() function
942 if (ti->max_io_len) { in max_io_len()
944 if (unlikely(ti->max_io_len & (ti->max_io_len - 1))) in max_io_len()
945 max_len = sector_div(offset, ti->max_io_len); in max_io_len()
947 max_len = offset & (ti->max_io_len - 1); in max_io_len()
948 max_len = ti->max_io_len - max_len; in max_io_len()
966 ti->max_io_len = (uint32_t) len; in dm_set_target_max_io_len()
1218 len = min(ci->sector_count, max_io_len(ci->sector, ti)); in __send_changing_extent_only()
1275 max = max_io_len(ci->sector, ti); in __split_bvec_across_targets()
1312 max = max_io_len(ci->sector, ti); in __split_and_process_non_flush()
1415 max_sectors = min(max_io_len(bvm->bi_sector, ti), in dm_merge_bvec()