Home
last modified time | relevance | path

Searched refs:max_io_len (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/md/
Ddm-integrity.c1931 if (ti->max_io_len) { in dm_integrity_map()
1933 unsigned int log2_max_io_len = __fls(ti->max_io_len); in dm_integrity_map()
1938 sector_t len = ti->max_io_len - (sec & (ti->max_io_len - 1)); in dm_integrity_map()
4640 unsigned int max_io_len; in dm_integrity_ctr() local
4642max_io_len = ((sector_t)ic->sectors_per_block << ic->log2_blocks_per_bitmap_bit) * (BITMAP_BLOCK_S… in dm_integrity_ctr()
4643 if (!max_io_len) in dm_integrity_ctr()
4644 max_io_len = 1U << 31; in dm_integrity_ctr()
4645 DEBUG_print("max_io_len: old %u, new %u\n", ti->max_io_len, max_io_len); in dm_integrity_ctr()
4646 if (!ti->max_io_len || ti->max_io_len > max_io_len) { in dm_integrity_ctr()
4647 r = dm_set_target_max_io_len(ti, max_io_len); in dm_integrity_ctr()
Ddm.c1181 static inline sector_t max_io_len(struct dm_target *ti, sector_t sector) in max_io_len() function
1183 return __max_io_len(ti, sector, ti->max_io_len, 0); in max_io_len()
1195 ti->max_io_len = (uint32_t) len; in dm_set_target_max_io_len()
1235 len = max_io_len(ti, sector) / PAGE_SECTORS; in dm_dax_direct_access()
1723 len = min_t(sector_t, max_io_len(ti, ci->sector), ci->sector_count); in __split_and_process_bio()
Ddm-raid.c1131 sector_t max_io_len; in parse_raid_params() local
1491 max_io_len = rs->md.chunk_sectors; in parse_raid_params()
1493 max_io_len = region_size; in parse_raid_params()
1495 if (dm_set_target_max_io_len(rs->ti, max_io_len)) in parse_raid_params()
Ddm-snap.c1456 snap_dest->ti->max_io_len = snap_dest->store->chunk_size; in __handover_exceptions()
2308 ti->max_io_len = get_origin_minimum_chunksize(s->origin->bdev); in snapshot_merge_resume()
2604 for (n = 0; n < size; n += merging_snap->ti->max_io_len) in origin_write_extent()
Ddm-zoned-target.c881 ti->max_io_len = dmz_zone_nr_sectors(dmz->metadata); in dmz_ctr()
Ddm-table.c959 } else if (ti->max_io_len) { in dm_table_determine_type()
/linux-6.6.21/include/linux/
Ddevice-mapper.h305 uint32_t max_io_len; member