Searched refs:max_io_len (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/md/ |
D | dm-integrity.c | 1931 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 4642 …max_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()
|
D | dm.c | 1181 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()
|
D | dm-raid.c | 1131 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()
|
D | dm-snap.c | 1456 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()
|
D | dm-zoned-target.c | 881 ti->max_io_len = dmz_zone_nr_sectors(dmz->metadata); in dmz_ctr()
|
D | dm-table.c | 959 } else if (ti->max_io_len) { in dm_table_determine_type()
|
/linux-6.6.21/include/linux/ |
D | device-mapper.h | 305 uint32_t max_io_len; member
|