Lines Matching refs:dm_table

60 static inline sector_t *get_node(struct dm_table *t,  in get_node()
70 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high()
85 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index()
104 static int alloc_targets(struct dm_table *t, unsigned int num) in alloc_targets()
129 int dm_table_create(struct dm_table **result, fmode_t mode, in dm_table_create()
132 struct dm_table *t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create()
175 static void dm_table_destroy_crypto_profile(struct dm_table *t);
177 void dm_table_destroy(struct dm_table *t) in dm_table_destroy()
351 struct dm_table *t = ti->table; in dm_get_device()
453 static int adjoin(struct dm_table *t, struct dm_target *ti) in adjoin()
567 static int validate_hardware_logical_block_alignment(struct dm_table *t, in validate_hardware_logical_block_alignment()
634 int dm_table_add_target(struct dm_table *t, const char *type, in dm_table_add_target()
802 void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type) in dm_table_set_type()
826 static bool dm_table_supports_dax(struct dm_table *t, in dm_table_supports_dax()
857 static int dm_table_determine_type(struct dm_table *t) in dm_table_determine_type()
930 struct dm_table *live_table = dm_get_live_table(t->md, &srcu_idx); in dm_table_determine_type()
958 enum dm_queue_mode dm_table_get_type(struct dm_table *t) in dm_table_get_type()
963 struct target_type *dm_table_get_immutable_target_type(struct dm_table *t) in dm_table_get_immutable_target_type()
968 struct dm_target *dm_table_get_immutable_target(struct dm_table *t) in dm_table_get_immutable_target()
978 struct dm_target *dm_table_get_wildcard_target(struct dm_table *t) in dm_table_get_wildcard_target()
990 bool dm_table_bio_based(struct dm_table *t) in dm_table_bio_based()
995 bool dm_table_request_based(struct dm_table *t) in dm_table_request_based()
1000 static bool dm_table_supports_poll(struct dm_table *t);
1002 static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md) in dm_table_alloc_md_mempools()
1057 static int setup_indexes(struct dm_table *t) in setup_indexes()
1086 static int dm_table_build_index(struct dm_table *t) in dm_table_build_index()
1114 static struct gendisk *dm_table_get_integrity_disk(struct dm_table *t) in dm_table_get_integrity_disk()
1158 static int dm_table_register_integrity(struct dm_table *t) in dm_table_register_integrity()
1233 struct dm_table *t; in dm_keyslot_evict()
1277 static void dm_table_destroy_crypto_profile(struct dm_table *t) in dm_table_destroy_crypto_profile()
1292 static int dm_table_construct_crypto_profile(struct dm_table *t) in dm_table_construct_crypto_profile()
1360 struct dm_table *t) in dm_update_crypto_profile()
1378 static int dm_table_construct_crypto_profile(struct dm_table *t) in dm_table_construct_crypto_profile()
1387 static void dm_table_destroy_crypto_profile(struct dm_table *t) in dm_table_destroy_crypto_profile()
1392 struct dm_table *t) in dm_update_crypto_profile()
1402 int dm_table_complete(struct dm_table *t) in dm_table_complete()
1438 void dm_table_event_callback(struct dm_table *t, in dm_table_event_callback()
1447 void dm_table_event(struct dm_table *t) in dm_table_event()
1456 inline sector_t dm_table_get_size(struct dm_table *t) in dm_table_get_size()
1468 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector) in dm_table_find_target()
1519 static bool dm_table_any_dev_attr(struct dm_table *t, in dm_table_any_dev_attr()
1543 static bool dm_table_supports_poll(struct dm_table *t) in dm_table_supports_poll()
1562 bool dm_table_has_no_data_devices(struct dm_table *t) in dm_table_has_no_data_devices()
1595 static bool dm_table_supports_zoned_model(struct dm_table *t, in dm_table_supports_zoned_model()
1630 static int validate_hardware_zoned_model(struct dm_table *t, in validate_hardware_zoned_model()
1659 int dm_calculate_queue_limits(struct dm_table *t, in dm_calculate_queue_limits()
1742 static void dm_table_verify_integrity(struct dm_table *t) in dm_table_verify_integrity()
1776 static bool dm_table_supports_flush(struct dm_table *t, unsigned long flush) in dm_table_supports_flush()
1837 static bool dm_table_supports_write_zeroes(struct dm_table *t) in dm_table_supports_write_zeroes()
1859 static bool dm_table_supports_nowait(struct dm_table *t) in dm_table_supports_nowait()
1881 static bool dm_table_supports_discards(struct dm_table *t) in dm_table_supports_discards()
1910 static bool dm_table_supports_secure_erase(struct dm_table *t) in dm_table_supports_secure_erase()
1933 int dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, in dm_table_set_restrictions()
2042 struct list_head *dm_table_get_devices(struct dm_table *t) in dm_table_get_devices()
2047 fmode_t dm_table_get_mode(struct dm_table *t) in dm_table_get_mode()
2059 static void suspend_targets(struct dm_table *t, enum suspend_mode mode) in suspend_targets()
2083 void dm_table_presuspend_targets(struct dm_table *t) in dm_table_presuspend_targets()
2091 void dm_table_presuspend_undo_targets(struct dm_table *t) in dm_table_presuspend_undo_targets()
2099 void dm_table_postsuspend_targets(struct dm_table *t) in dm_table_postsuspend_targets()
2107 int dm_table_resume_targets(struct dm_table *t) in dm_table_resume_targets()
2138 struct mapped_device *dm_table_get_md(struct dm_table *t) in dm_table_get_md()
2144 const char *dm_table_device_name(struct dm_table *t) in dm_table_device_name()
2150 void dm_table_run_md_queue_async(struct dm_table *t) in dm_table_run_md_queue_async()