Searched refs:max_io_len (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/md/
H A Ddm.c1352 static sector_t max_io_len(sector_t sector, struct dm_target *ti) max_io_len() function
1360 if (ti->max_io_len) { max_io_len()
1362 if (unlikely(ti->max_io_len & (ti->max_io_len - 1))) max_io_len()
1363 max_len = sector_div(offset, ti->max_io_len); max_io_len()
1365 max_len = offset & (ti->max_io_len - 1); max_io_len()
1366 max_len = ti->max_io_len - max_len; max_io_len()
1384 ti->max_io_len = (uint32_t) len; dm_set_target_max_io_len()
1622 len = min((sector_t)ci->sector_count, max_io_len(ci->sector, ti)); __send_changing_extent_only()
1661 len = min_t(sector_t, max_io_len(ci->sector, ti), ci->sector_count); __split_and_process_non_flush()
1736 max_sectors = min(max_io_len(bvm->bi_sector, ti), dm_merge_bvec()
H A Ddm-snap.c1302 snap_dest->ti->max_io_len = snap_dest->store->chunk_size; __handover_exceptions()
1962 * snapshot-merge acts as an origin, so set ti->max_io_len snapshot_merge_resume()
1964 ti->max_io_len = get_origin_minimum_chunksize(s->origin->bdev); snapshot_merge_resume()
2195 * The origin's __minimum_chunk_size() got stored in max_io_len origin_write_extent()
2200 for (n = 0; n < size; n += merging_snap->ti->max_io_len) origin_write_extent()
2285 * Set the target "max_io_len" field to the minimum of all the snapshots'
H A Ddm-raid.c503 sector_t max_io_len; parse_raid_params() local
693 max_io_len = rs->md.chunk_sectors; parse_raid_params()
695 max_io_len = region_size; parse_raid_params()
697 if (dm_set_target_max_io_len(rs->ti, max_io_len)) parse_raid_params()
/linux-4.1.27/include/linux/
H A Ddevice-mapper.h213 uint32_t max_io_len; member in struct:dm_target
270 * on max_io_len boundary.

Completed in 204 milliseconds