Lines Matching refs:dm_table

32 struct dm_table {  struct
98 static inline sector_t *get_node(struct dm_table *t, in get_node()
108 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high()
123 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index()
160 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets()
187 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create()
190 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create()
234 void dm_table_destroy(struct dm_table *t) in dm_table_destroy()
435 struct dm_table *t = ti->table; in dm_get_device()
530 static int adjoin(struct dm_table *table, struct dm_target *ti) in adjoin()
644 static int validate_hardware_logical_block_alignment(struct dm_table *table, in validate_hardware_logical_block_alignment()
711 int dm_table_add_target(struct dm_table *t, const char *type, in dm_table_add_target()
879 void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type) in dm_table_set_type()
891 static bool dm_table_supports_dax(struct dm_table *t) in dm_table_supports_dax()
911 static bool dm_table_does_not_support_partial_completion(struct dm_table *t);
932 static int dm_table_determine_type(struct dm_table *t) in dm_table_determine_type()
1023 struct dm_table *live_table = dm_get_live_table(t->md, &srcu_idx); in dm_table_determine_type()
1064 enum dm_queue_mode dm_table_get_type(struct dm_table *t) in dm_table_get_type()
1069 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t) in dm_table_get_immutable_target_type()
1074 struct dm_target *dm_table_get_immutable_target(struct dm_table *t) in dm_table_get_immutable_target()
1084 struct dm_target *dm_table_get_wildcard_target(struct dm_table *t) in dm_table_get_wildcard_target()
1098 bool dm_table_bio_based(struct dm_table *t) in dm_table_bio_based()
1103 bool dm_table_request_based(struct dm_table *t) in dm_table_request_based()
1108 bool dm_table_all_blk_mq_devices(struct dm_table *t) in dm_table_all_blk_mq_devices()
1113 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools()
1141 void dm_table_free_md_mempools(struct dm_table *t) in dm_table_free_md_mempools()
1147 struct dm_md_mempools *dm_table_get_md_mempools(struct dm_table *t) in dm_table_get_md_mempools()
1152 static int setup_indexes(struct dm_table *t) in setup_indexes()
1181 static int dm_table_build_index(struct dm_table *t) in dm_table_build_index()
1209 static struct gendisk * dm_table_get_integrity_disk(struct dm_table *t) in dm_table_get_integrity_disk()
1253 static int dm_table_register_integrity(struct dm_table *t) in dm_table_register_integrity()
1298 int dm_table_complete(struct dm_table *t) in dm_table_complete()
1328 void dm_table_event_callback(struct dm_table *t, in dm_table_event_callback()
1337 void dm_table_event(struct dm_table *t) in dm_table_event()
1352 sector_t dm_table_get_size(struct dm_table *t) in dm_table_get_size()
1358 struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index) in dm_table_get_target()
1372 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector) in dm_table_find_target()
1405 bool dm_table_has_no_data_devices(struct dm_table *table) in dm_table_has_no_data_devices()
1434 static bool dm_table_supports_zoned_model(struct dm_table *t, in dm_table_supports_zoned_model()
1464 static bool dm_table_matches_zone_sectors(struct dm_table *t, in dm_table_matches_zone_sectors()
1481 static int validate_hardware_zoned_model(struct dm_table *table, in validate_hardware_zoned_model()
1510 int dm_calculate_queue_limits(struct dm_table *table, in dm_calculate_queue_limits()
1612 static void dm_table_verify_integrity(struct dm_table *t) in dm_table_verify_integrity()
1646 static bool dm_table_supports_flush(struct dm_table *t, unsigned long flush) in dm_table_supports_flush()
1688 static int dm_table_supports_dax_write_cache(struct dm_table *t) in dm_table_supports_dax_write_cache()
1729 static bool dm_table_all_devices_attribute(struct dm_table *t, in dm_table_all_devices_attribute()
1755 static bool dm_table_does_not_support_partial_completion(struct dm_table *t) in dm_table_does_not_support_partial_completion()
1768 static bool dm_table_supports_write_same(struct dm_table *t) in dm_table_supports_write_same()
1795 static bool dm_table_supports_write_zeroes(struct dm_table *t) in dm_table_supports_write_zeroes()
1822 static bool dm_table_supports_discards(struct dm_table *t) in dm_table_supports_discards()
1856 static bool dm_table_supports_secure_erase(struct dm_table *t) in dm_table_supports_secure_erase()
1875 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, in dm_table_set_restrictions()
1942 unsigned int dm_table_get_num_targets(struct dm_table *t) in dm_table_get_num_targets()
1947 struct list_head *dm_table_get_devices(struct dm_table *t) in dm_table_get_devices()
1952 fmode_t dm_table_get_mode(struct dm_table *t) in dm_table_get_mode()
1964 static void suspend_targets(struct dm_table *t, enum suspend_mode mode) in suspend_targets()
1990 void dm_table_presuspend_targets(struct dm_table *t) in dm_table_presuspend_targets()
1998 void dm_table_presuspend_undo_targets(struct dm_table *t) in dm_table_presuspend_undo_targets()
2006 void dm_table_postsuspend_targets(struct dm_table *t) in dm_table_postsuspend_targets()
2014 int dm_table_resume_targets(struct dm_table *t) in dm_table_resume_targets()
2044 void dm_table_add_target_callbacks(struct dm_table *t, struct dm_target_callbacks *cb) in dm_table_add_target_callbacks()
2050 int dm_table_any_congested(struct dm_table *t, int bdi_bits) in dm_table_any_congested()
2076 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md()
2082 void dm_table_run_md_queue_async(struct dm_table *t) in dm_table_run_md_queue_async()