dm_table
static inline struct dm_target *dm_table_get_target(struct dm_table *t,
void dm_ima_measure_on_table_load(struct dm_table *table,
static inline void dm_ima_measure_on_table_load(struct dm_table *table,
void dm_ima_measure_on_table_load(struct dm_table *table,
struct dm_table *t;
struct dm_table *new_map, *old_map = NULL;
static void retrieve_status(struct dm_table *table,
struct dm_table *table;
static int populate_table(struct dm_table *table,
struct dm_table *t, *old_map = NULL;
struct dm_table *old_map = NULL;
static void retrieve_deps(struct dm_table *table,
struct dm_table *table;
struct dm_table *table;
struct dm_table *table;
struct dm_table *t, *old_map;
struct dm_table *table,
struct dm_table *table,
static struct dm_table *__hash_remove(struct hash_cell *hc)
struct dm_table *table;
struct dm_table *t;
struct dm_table *table;
struct dm_table *new_map;
static struct dm_table *dm_get_inactive_table(struct mapped_device *md, int *srcu_idx)
struct dm_table *table = NULL;
static struct dm_table *dm_get_live_or_inactive_table(struct mapped_device *md,
struct dm_table *table;
struct dm_table *map;
int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t)
int dm_mq_init_request_queue(struct mapped_device *md, struct dm_table *t);
enum dm_queue_mode dm_table_get_type(struct dm_table *t)
struct target_type *dm_table_get_immutable_target_type(struct dm_table *t)
struct dm_target *dm_table_get_immutable_target(struct dm_table *t)
struct dm_target *dm_table_get_wildcard_target(struct dm_table *t)
bool dm_table_request_based(struct dm_table *t)
static int dm_table_alloc_md_mempools(struct dm_table *t, struct mapped_device *md)
static int alloc_targets(struct dm_table *t, unsigned int num)
static int setup_indexes(struct dm_table *t)
static int dm_table_build_index(struct dm_table *t)
struct dm_table *t;
struct dm_table *t;
int dm_table_create(struct dm_table **result, blk_mode_t mode,
struct dm_table *t;
static void dm_table_destroy_crypto_profile(struct dm_table *t)
static int dm_table_construct_crypto_profile(struct dm_table *t)
struct dm_table *t)
static int dm_table_construct_crypto_profile(struct dm_table *t)
static void dm_table_destroy_crypto_profile(struct dm_table *t)
struct dm_table *t)
int dm_table_complete(struct dm_table *t)
void dm_table_event_callback(struct dm_table *t,
void dm_table_event(struct dm_table *t)
inline sector_t dm_table_get_size(struct dm_table *t)
struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector)
static bool dm_table_any_dev_attr(struct dm_table *t,
bool dm_table_has_no_data_devices(struct dm_table *t)
bool dm_table_is_wildcard(struct dm_table *t)
static bool dm_table_supports_zoned(struct dm_table *t, bool zoned)
static int validate_hardware_zoned(struct dm_table *t, bool zoned,
int dm_calculate_queue_limits(struct dm_table *t,
static void dm_table_destroy_crypto_profile(struct dm_table *t);
void dm_table_destroy(struct dm_table *t)
static bool dm_table_supports_flush(struct dm_table *t)
static bool dm_table_supports_write_zeroes(struct dm_table *t)
static bool dm_table_supports_nowait(struct dm_table *t)
static bool dm_table_supports_discards(struct dm_table *t)
static bool dm_table_supports_secure_erase(struct dm_table *t)
static bool dm_table_supports_atomic_writes(struct dm_table *t)
bool dm_table_supports_size_change(struct dm_table *t, sector_t old_size,
int dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
struct list_head *dm_table_get_devices(struct dm_table *t)
blk_mode_t dm_table_get_mode(struct dm_table *t)
static void suspend_targets(struct dm_table *t, enum suspend_mode mode)
void dm_table_presuspend_targets(struct dm_table *t)
void dm_table_presuspend_undo_targets(struct dm_table *t)
void dm_table_postsuspend_targets(struct dm_table *t)
int dm_table_resume_targets(struct dm_table *t)
struct mapped_device *dm_table_get_md(struct dm_table *t)
const char *dm_table_device_name(struct dm_table *t)
void dm_table_run_md_queue_async(struct dm_table *t)
struct dm_table *t = ti->table;
static int adjoin(struct dm_table *t, struct dm_target *ti)
static inline sector_t *get_node(struct dm_table *t,
static int validate_hardware_logical_block_alignment(struct dm_table *t,
int dm_table_add_target(struct dm_table *t, const char *type,
static sector_t high(struct dm_table *t, unsigned int l, unsigned int n)
void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type)
static int setup_btree_index(unsigned int l, struct dm_table *t)
static bool dm_table_supports_dax(struct dm_table *t,
static int dm_table_determine_type(struct dm_table *t)
struct dm_table *live_table = dm_get_live_table(t->md, &srcu_idx);
struct dm_table *table;
int dm_revalidate_zones(struct dm_table *t, struct request_queue *q)
static int dm_blk_do_report_zones(struct mapped_device *md, struct dm_table *t,
static bool dm_table_supports_zone_append(struct dm_table *t)
int dm_set_zones_restrictions(struct dm_table *t, struct request_queue *q,
void dm_finalize_zone_settings(struct dm_table *t, struct queue_limits *lim)
int dm_zone_get_reset_bitmap(struct mapped_device *md, struct dm_table *t,
struct dm_table *map;
struct dm_table *zone_revalidate_map = READ_ONCE(md->zone_revalidate_map);
struct dm_table *map;
struct dm_table *t = ci->map;
struct dm_table *map, struct bio *bio, bool is_abnormal)
struct dm_table *t = ci->map;
struct dm_table *map, struct bio *bio)
struct dm_table *map;
static struct dm_table *__bind(struct mapped_device *md, struct dm_table *t,
struct dm_table *old_map;
static struct dm_table *__unbind(struct mapped_device *md)
struct dm_table *map = rcu_dereference_protected(md->map, 1);
int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t)
struct dm_table *map;
struct dm_table *dm_swap_table(struct mapped_device *md, struct dm_table *table)
struct dm_table *live_map = NULL, *map = ERR_PTR(-EINVAL);
static int __dm_suspend(struct mapped_device *md, struct dm_table *map,
struct dm_table *map = NULL;
static int __dm_resume(struct mapped_device *md, struct dm_table *map)
struct dm_table *map = NULL;
struct dm_table *map = NULL;
struct dm_table *map;
struct dm_table *table;
struct dm_table *table;
struct dm_table *map;
struct dm_table *dm_get_live_table(struct mapped_device *md,
static struct dm_table *dm_get_live_table_fast(struct mapped_device *md) __acquires(RCU)
struct dm_table *map;
int dm_set_zones_restrictions(struct dm_table *t, struct request_queue *q,
int dm_revalidate_zones(struct dm_table *t, struct request_queue *q);
void dm_finalize_zone_settings(struct dm_table *t, struct queue_limits *lim);
int dm_zone_get_reset_bitmap(struct mapped_device *md, struct dm_table *t,
struct dm_table;
void dm_table_event_callback(struct dm_table *t,
struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector);
bool dm_table_has_no_data_devices(struct dm_table *table);
bool dm_table_is_wildcard(struct dm_table *t);
int dm_calculate_queue_limits(struct dm_table *table,
int dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
struct list_head *dm_table_get_devices(struct dm_table *t);
void dm_table_presuspend_targets(struct dm_table *t);
void dm_table_presuspend_undo_targets(struct dm_table *t);
void dm_table_postsuspend_targets(struct dm_table *t);
int dm_table_resume_targets(struct dm_table *t);
enum dm_queue_mode dm_table_get_type(struct dm_table *t);
struct target_type *dm_table_get_immutable_target_type(struct dm_table *t);
struct dm_target *dm_table_get_immutable_target(struct dm_table *t);
struct dm_target *dm_table_get_wildcard_target(struct dm_table *t);
bool dm_table_request_based(struct dm_table *t);
bool dm_table_supports_size_change(struct dm_table *t, sector_t old_size,
int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t);
struct dm_table;
struct dm_table *table;
int dm_table_create(struct dm_table **result, blk_mode_t mode,
int dm_table_add_target(struct dm_table *t, const char *type,
void dm_table_set_type(struct dm_table *t, enum dm_queue_mode type);
int dm_table_complete(struct dm_table *t);
void dm_table_destroy(struct dm_table *t);
struct dm_table *dm_get_live_table(struct mapped_device *md, int *srcu_idx);
sector_t dm_table_get_size(struct dm_table *t);
blk_mode_t dm_table_get_mode(struct dm_table *t);
struct mapped_device *dm_table_get_md(struct dm_table *t);
const char *dm_table_device_name(struct dm_table *t);
void dm_table_event(struct dm_table *t);
void dm_table_run_md_queue_async(struct dm_table *t);
struct dm_table *dm_swap_table(struct mapped_device *md,
struct dm_table *t);