Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/md/
A Ddm-integrity.c1881 if (ti->max_io_len) { in dm_integrity_map()
1883 unsigned int log2_max_io_len = __fls(ti->max_io_len); in dm_integrity_map()
1888 sector_t len = ti->max_io_len - (sec & (ti->max_io_len - 1)); in dm_integrity_map()
4573 unsigned int max_io_len; in dm_integrity_ctr() local
4575max_io_len = ((sector_t)ic->sectors_per_block << ic->log2_blocks_per_bitmap_bit) * (BITMAP_BLOCK_S… in dm_integrity_ctr()
4576 if (!max_io_len) in dm_integrity_ctr()
4577 max_io_len = 1U << 31; in dm_integrity_ctr()
4578 DEBUG_print("max_io_len: old %u, new %u\n", ti->max_io_len, max_io_len); in dm_integrity_ctr()
4579 if (!ti->max_io_len || ti->max_io_len > max_io_len) { in dm_integrity_ctr()
4580 r = dm_set_target_max_io_len(ti, max_io_len); in dm_integrity_ctr()
A Ddm.c1165 static sector_t max_io_len(struct dm_target *ti, sector_t sector) in max_io_len() function
1176 if (!ti->max_io_len) in max_io_len()
1180 blk_chunk_sectors_left(target_offset, ti->max_io_len))); in max_io_len()
1192 ti->max_io_len = (uint32_t) len; in dm_set_target_max_io_len()
1232 len = max_io_len(ti, sector) / PAGE_SECTORS; in dm_dax_direct_access()
1702 len = min_t(sector_t, max_io_len(ti, ci->sector), ci->sector_count); in __split_and_process_bio()
A 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()
A Ddm-snap.c1460 snap_dest->ti->max_io_len = snap_dest->store->chunk_size; in __handover_exceptions()
2312 ti->max_io_len = get_origin_minimum_chunksize(s->origin->bdev); in snapshot_merge_resume()
2608 for (n = 0; n < size; n += merging_snap->ti->max_io_len) in origin_write_extent()
A Ddm-zoned-target.c882 ti->max_io_len = dmz_zone_nr_sectors(dmz->metadata); in dmz_ctr()
A Ddm-table.c943 } else if (ti->max_io_len) { in dm_table_determine_type()
/linux-6.3-rc2/include/linux/
A Ddevice-mapper.h307 uint32_t max_io_len; member

Completed in 34 milliseconds