Lines Matching refs:dm_target

107 	struct dm_target *n_targets;  in alloc_targets()
112 n_highs = kvcalloc(num, sizeof(struct dm_target) + sizeof(sector_t), in alloc_targets()
117 n_targets = (struct dm_target *) (n_highs + num); in alloc_targets()
195 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_destroy()
232 static int device_area_is_invalid(struct dm_target *ti, struct dm_dev *dev, in device_area_is_invalid()
367 int dm_get_device(struct dm_target *ti, const char *path, blk_mode_t mode, in dm_get_device()
421 static int dm_set_device_limits(struct dm_target *ti, struct dm_dev *dev, in dm_set_device_limits()
457 void dm_put_device(struct dm_target *ti, struct dm_dev *d) in dm_put_device()
491 static int adjoin(struct dm_table *t, struct dm_target *ti) in adjoin()
493 struct dm_target *prev; in adjoin()
632 struct dm_target *ti; in validate_hardware_logical_block_alignment()
683 struct dm_target *ti; in dm_table_add_target()
854 static int device_not_dax_capable(struct dm_target *ti, struct dm_dev *dev, in device_not_dax_capable()
865 static int device_not_dax_synchronous_capable(struct dm_target *ti, struct dm_dev *dev, in device_not_dax_synchronous_capable()
876 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_supports_dax()
890 static int device_is_rq_stackable(struct dm_target *ti, struct dm_dev *dev, in device_is_rq_stackable()
906 struct dm_target *ti; in dm_table_determine_type()
1014 struct dm_target *dm_table_get_immutable_target(struct dm_table *t) in dm_table_get_immutable_target()
1024 struct dm_target *dm_table_get_wildcard_target(struct dm_table *t) in dm_table_get_wildcard_target()
1027 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_get_wildcard_target()
1074 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_alloc_md_mempools()
1162 static int dm_keyslot_evict_callback(struct dm_target *ti, struct dm_dev *dev, in dm_keyslot_evict_callback()
1188 struct dm_target *ti = dm_table_get_target(t, i); in dm_keyslot_evict()
1201 device_intersect_crypto_capabilities(struct dm_target *ti, struct dm_dev *dev, in device_intersect_crypto_capabilities()
1260 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_construct_crypto_profile()
1410 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector) in dm_table_find_target()
1457 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_any_dev_attr()
1467 static int count_device(struct dm_target *ti, struct dm_dev *dev, in count_device()
1486 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_has_no_data_devices()
1500 static int device_not_zoned(struct dm_target *ti, struct dm_dev *dev, in device_not_zoned()
1508 static int device_is_zoned_model(struct dm_target *ti, struct dm_dev *dev, in device_is_zoned_model()
1524 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_supports_zoned()
1552 static int device_not_matches_zone_sectors(struct dm_target *ti, struct dm_dev *dev, in device_not_matches_zone_sectors()
1606 struct dm_target *ti = dm_table_get_target(t, i); in dm_calculate_queue_limits()
1613 struct dm_target *ti = dm_table_get_target(t, i); in dm_calculate_queue_limits()
1704 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_supports_flush()
1713 static int device_dax_write_cache_enabled(struct dm_target *ti, in device_dax_write_cache_enabled()
1727 static int device_not_write_zeroes_capable(struct dm_target *ti, struct dm_dev *dev, in device_not_write_zeroes_capable()
1738 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_supports_write_zeroes()
1754 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_supports_nowait()
1763 static int device_not_discard_capable(struct dm_target *ti, struct dm_dev *dev, in device_not_discard_capable()
1772 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_supports_discards()
1791 static int device_not_secure_erase_capable(struct dm_target *ti, in device_not_secure_erase_capable()
1801 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_supports_secure_erase()
1903 struct dm_target *ti = dm_table_get_target(t, i); in suspend_targets()
1954 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_resume_targets()
1968 struct dm_target *ti = dm_table_get_target(t, i); in dm_table_resume_targets()