dm_block_t         33 drivers/md/dm-bio-prison-v1.h 	dm_block_t block_begin, block_end;
dm_block_t         37 drivers/md/dm-bio-prison-v2.h 	dm_block_t block_begin, block_end;
dm_block_t         20 drivers/md/dm-cache-block-types.h typedef dm_block_t __bitwise dm_oblock_t;
dm_block_t         22 drivers/md/dm-cache-block-types.h typedef dm_block_t __bitwise dm_dblock_t;
dm_block_t         24 drivers/md/dm-cache-block-types.h static inline dm_oblock_t to_oblock(dm_block_t b)
dm_block_t         29 drivers/md/dm-cache-block-types.h static inline dm_block_t from_oblock(dm_oblock_t b)
dm_block_t         31 drivers/md/dm-cache-block-types.h 	return (__force dm_block_t) b;
dm_block_t         44 drivers/md/dm-cache-block-types.h static inline dm_dblock_t to_dblock(dm_block_t b)
dm_block_t         49 drivers/md/dm-cache-block-types.h static inline dm_block_t from_dblock(dm_dblock_t b)
dm_block_t         51 drivers/md/dm-cache-block-types.h 	return (__force dm_block_t) b;
dm_block_t        119 drivers/md/dm-cache-metadata.c 	dm_block_t root;
dm_block_t        120 drivers/md/dm-cache-metadata.c 	dm_block_t hint_root;
dm_block_t        121 drivers/md/dm-cache-metadata.c 	dm_block_t discard_root;
dm_block_t        153 drivers/md/dm-cache-metadata.c 	dm_block_t dirty_root;
dm_block_t       1663 drivers/md/dm-cache-metadata.c 					   dm_block_t *result)
dm_block_t       1676 drivers/md/dm-cache-metadata.c 				   dm_block_t *result)
dm_block_t        120 drivers/md/dm-cache-metadata.h 					   dm_block_t *result);
dm_block_t        123 drivers/md/dm-cache-metadata.h 				   dm_block_t *result);
dm_block_t        732 drivers/md/dm-cache-target.c static dm_block_t block_div(dm_block_t b, uint32_t n)
dm_block_t        739 drivers/md/dm-cache-target.c static dm_block_t oblocks_per_dblock(struct cache *cache)
dm_block_t        741 drivers/md/dm-cache-target.c 	dm_block_t oblocks = cache->discard_block_size;
dm_block_t       2436 drivers/md/dm-cache-target.c 	dm_block_t nr_blocks = from_cblock(size);
dm_block_t       2469 drivers/md/dm-cache-target.c 	dm_block_t origin_blocks;
dm_block_t       2515 drivers/md/dm-cache-target.c 		dm_block_t cache_size = ca->cache_sectors;
dm_block_t       2916 drivers/md/dm-cache-target.c 	dm_block_t block_size;
dm_block_t       2917 drivers/md/dm-cache-target.c 	dm_block_t discard_begin, discard_end;
dm_block_t       3157 drivers/md/dm-cache-target.c 	dm_block_t nr_free_blocks_metadata = 0;
dm_block_t       3158 drivers/md/dm-cache-target.c 	dm_block_t nr_blocks_metadata = 0;
dm_block_t        149 drivers/md/dm-clone-metadata.c 	dm_block_t bitset_root;
dm_block_t       1007 drivers/md/dm-clone-metadata.c 					   dm_block_t *result)
dm_block_t       1022 drivers/md/dm-clone-metadata.c 				   dm_block_t *result)
dm_block_t        170 drivers/md/dm-clone-metadata.h int dm_clone_get_free_metadata_block_count(struct dm_clone_metadata *cmd, dm_block_t *result);
dm_block_t        175 drivers/md/dm-clone-metadata.h int dm_clone_get_metadata_dev_size(struct dm_clone_metadata *cmd, dm_block_t *result);
dm_block_t       1440 drivers/md/dm-clone-target.c 	dm_block_t nr_free_metadata_blocks = 0;
dm_block_t       1441 drivers/md/dm-clone-target.c 	dm_block_t nr_metadata_blocks = 0;
dm_block_t         30 drivers/md/dm-era-target.c 	dm_block_t root;
dm_block_t         53 drivers/md/dm-era-target.c 				unsigned nr_bits, dm_block_t *root)
dm_block_t         72 drivers/md/dm-era-target.c static int writeset_alloc(struct writeset *ws, dm_block_t nr_blocks)
dm_block_t        103 drivers/md/dm-era-target.c static bool writeset_marked(struct writeset *ws, dm_block_t block)
dm_block_t        109 drivers/md/dm-era-target.c 				   struct writeset_metadata *m, dm_block_t block,
dm_block_t        112 drivers/md/dm-era-target.c 	dm_block_t old = m->root;
dm_block_t        266 drivers/md/dm-era-target.c 	dm_block_t block_size;
dm_block_t        279 drivers/md/dm-era-target.c 	dm_block_t writeset_tree_root;
dm_block_t        280 drivers/md/dm-era-target.c 	dm_block_t era_array_root;
dm_block_t        286 drivers/md/dm-era-target.c 	dm_block_t metadata_snap;
dm_block_t        369 drivers/md/dm-era-target.c 	dm_block_t b;
dm_block_t        381 drivers/md/dm-era-target.c 	dm_block_t b;
dm_block_t        809 drivers/md/dm-era-target.c static bool valid_nr_blocks(dm_block_t n)
dm_block_t        821 drivers/md/dm-era-target.c 	dm_block_t *new_size = arg;
dm_block_t        936 drivers/md/dm-era-target.c static bool metadata_current_marked(struct era_metadata *md, dm_block_t block)
dm_block_t       1060 drivers/md/dm-era-target.c 	dm_block_t location;
dm_block_t       1104 drivers/md/dm-era-target.c 	dm_block_t used;
dm_block_t       1105 drivers/md/dm-era-target.c 	dm_block_t total;
dm_block_t       1106 drivers/md/dm-era-target.c 	dm_block_t snap;
dm_block_t       1114 drivers/md/dm-era-target.c 	dm_block_t nr_free, nr_total;
dm_block_t       1145 drivers/md/dm-era-target.c 	dm_block_t nr_blocks;
dm_block_t       1182 drivers/md/dm-era-target.c static dm_block_t get_block(struct era *era, struct bio *bio)
dm_block_t       1407 drivers/md/dm-era-target.c static dm_block_t calc_nr_blocks(struct era *era)
dm_block_t       1412 drivers/md/dm-era-target.c static bool valid_block_size(dm_block_t block_size)
dm_block_t       1531 drivers/md/dm-era-target.c 	dm_block_t block = get_block(era, bio);
dm_block_t       1571 drivers/md/dm-era-target.c 	dm_block_t new_size = calc_nr_blocks(era);
dm_block_t        184 drivers/md/dm-thin-metadata.c 	dm_block_t root;
dm_block_t        185 drivers/md/dm-thin-metadata.c 	dm_block_t details_root;
dm_block_t        204 drivers/md/dm-thin-metadata.c 	dm_block_t metadata_reserve;
dm_block_t        303 drivers/md/dm-thin-metadata.c static uint64_t pack_block_time(dm_block_t b, uint32_t t)
dm_block_t        308 drivers/md/dm-thin-metadata.c static void unpack_block_time(uint64_t v, dm_block_t *b, uint32_t *t)
dm_block_t        881 drivers/md/dm-thin-metadata.c 	dm_block_t total;
dm_block_t        882 drivers/md/dm-thin-metadata.c 	dm_block_t max_blocks = 4096; /* 16M */
dm_block_t       1048 drivers/md/dm-thin-metadata.c 	dm_block_t dev_root;
dm_block_t       1125 drivers/md/dm-thin-metadata.c 	dm_block_t origin_root;
dm_block_t       1279 drivers/md/dm-thin-metadata.c 	dm_block_t held_root;
dm_block_t       1361 drivers/md/dm-thin-metadata.c 	dm_block_t held_root;
dm_block_t       1405 drivers/md/dm-thin-metadata.c 			       dm_block_t *result)
dm_block_t       1425 drivers/md/dm-thin-metadata.c 			      dm_block_t *result)
dm_block_t       1479 drivers/md/dm-thin-metadata.c 	dm_block_t exception_block;
dm_block_t       1488 drivers/md/dm-thin-metadata.c static int __find_block(struct dm_thin_device *td, dm_block_t block,
dm_block_t       1494 drivers/md/dm-thin-metadata.c 	dm_block_t keys[2] = { td->id, block };
dm_block_t       1509 drivers/md/dm-thin-metadata.c int dm_thin_find_block(struct dm_thin_device *td, dm_block_t block,
dm_block_t       1527 drivers/md/dm-thin-metadata.c static int __find_next_mapped_block(struct dm_thin_device *td, dm_block_t block,
dm_block_t       1528 drivers/md/dm-thin-metadata.c 					  dm_block_t *vblock,
dm_block_t       1534 drivers/md/dm-thin-metadata.c 	dm_block_t keys[2] = { td->id, block };
dm_block_t       1544 drivers/md/dm-thin-metadata.c 			       dm_block_t begin, dm_block_t end,
dm_block_t       1545 drivers/md/dm-thin-metadata.c 			       dm_block_t *thin_begin, dm_block_t *thin_end,
dm_block_t       1546 drivers/md/dm-thin-metadata.c 			       dm_block_t *pool_begin, bool *maybe_shared)
dm_block_t       1549 drivers/md/dm-thin-metadata.c 	dm_block_t pool_end;
dm_block_t       1590 drivers/md/dm-thin-metadata.c 			      dm_block_t begin, dm_block_t end,
dm_block_t       1591 drivers/md/dm-thin-metadata.c 			      dm_block_t *thin_begin, dm_block_t *thin_end,
dm_block_t       1592 drivers/md/dm-thin-metadata.c 			      dm_block_t *pool_begin, bool *maybe_shared)
dm_block_t       1607 drivers/md/dm-thin-metadata.c static int __insert(struct dm_thin_device *td, dm_block_t block,
dm_block_t       1608 drivers/md/dm-thin-metadata.c 		    dm_block_t data_block)
dm_block_t       1613 drivers/md/dm-thin-metadata.c 	dm_block_t keys[2] = { td->id, block };
dm_block_t       1630 drivers/md/dm-thin-metadata.c int dm_thin_insert_block(struct dm_thin_device *td, dm_block_t block,
dm_block_t       1631 drivers/md/dm-thin-metadata.c 			 dm_block_t data_block)
dm_block_t       1643 drivers/md/dm-thin-metadata.c static int __remove(struct dm_thin_device *td, dm_block_t block)
dm_block_t       1647 drivers/md/dm-thin-metadata.c 	dm_block_t keys[2] = { td->id, block };
dm_block_t       1659 drivers/md/dm-thin-metadata.c static int __remove_range(struct dm_thin_device *td, dm_block_t begin, dm_block_t end)
dm_block_t       1664 drivers/md/dm-thin-metadata.c 	dm_block_t keys[1] = { td->id };
dm_block_t       1666 drivers/md/dm-thin-metadata.c 	dm_block_t mapping_root;
dm_block_t       1718 drivers/md/dm-thin-metadata.c int dm_thin_remove_block(struct dm_thin_device *td, dm_block_t block)
dm_block_t       1731 drivers/md/dm-thin-metadata.c 			 dm_block_t begin, dm_block_t end)
dm_block_t       1743 drivers/md/dm-thin-metadata.c int dm_pool_block_is_shared(struct dm_pool_metadata *pmd, dm_block_t b, bool *result)
dm_block_t       1757 drivers/md/dm-thin-metadata.c int dm_pool_inc_data_range(struct dm_pool_metadata *pmd, dm_block_t b, dm_block_t e)
dm_block_t       1772 drivers/md/dm-thin-metadata.c int dm_pool_dec_data_range(struct dm_pool_metadata *pmd, dm_block_t b, dm_block_t e)
dm_block_t       1826 drivers/md/dm-thin-metadata.c int dm_pool_alloc_data_block(struct dm_pool_metadata *pmd, dm_block_t *result)
dm_block_t       1891 drivers/md/dm-thin-metadata.c int dm_pool_get_free_block_count(struct dm_pool_metadata *pmd, dm_block_t *result)
dm_block_t       1904 drivers/md/dm-thin-metadata.c 					  dm_block_t *result)
dm_block_t       1924 drivers/md/dm-thin-metadata.c 				  dm_block_t *result)
dm_block_t       1936 drivers/md/dm-thin-metadata.c int dm_pool_get_data_dev_size(struct dm_pool_metadata *pmd, dm_block_t *result)
dm_block_t       1948 drivers/md/dm-thin-metadata.c int dm_thin_get_mapped_count(struct dm_thin_device *td, dm_block_t *result)
dm_block_t       1963 drivers/md/dm-thin-metadata.c static int __highest_block(struct dm_thin_device *td, dm_block_t *result)
dm_block_t       1967 drivers/md/dm-thin-metadata.c 	dm_block_t thin_root;
dm_block_t       1980 drivers/md/dm-thin-metadata.c 				     dm_block_t *result)
dm_block_t       1993 drivers/md/dm-thin-metadata.c static int __resize_space_map(struct dm_space_map *sm, dm_block_t new_count)
dm_block_t       1996 drivers/md/dm-thin-metadata.c 	dm_block_t old_count;
dm_block_t       2013 drivers/md/dm-thin-metadata.c int dm_pool_resize_data_dev(struct dm_pool_metadata *pmd, dm_block_t new_count)
dm_block_t       2025 drivers/md/dm-thin-metadata.c int dm_pool_resize_metadata_dev(struct dm_pool_metadata *pmd, dm_block_t new_count)
dm_block_t       2055 drivers/md/dm-thin-metadata.c 					dm_block_t threshold,
dm_block_t        119 drivers/md/dm-thin-metadata.h 			      dm_block_t *result);
dm_block_t        136 drivers/md/dm-thin-metadata.h 	dm_block_t block;
dm_block_t        146 drivers/md/dm-thin-metadata.h int dm_thin_find_block(struct dm_thin_device *td, dm_block_t block,
dm_block_t        154 drivers/md/dm-thin-metadata.h 			      dm_block_t begin, dm_block_t end,
dm_block_t        155 drivers/md/dm-thin-metadata.h 			      dm_block_t *thin_begin, dm_block_t *thin_end,
dm_block_t        156 drivers/md/dm-thin-metadata.h 			      dm_block_t *pool_begin, bool *maybe_shared);
dm_block_t        161 drivers/md/dm-thin-metadata.h int dm_pool_alloc_data_block(struct dm_pool_metadata *pmd, dm_block_t *result);
dm_block_t        166 drivers/md/dm-thin-metadata.h int dm_thin_insert_block(struct dm_thin_device *td, dm_block_t block,
dm_block_t        167 drivers/md/dm-thin-metadata.h 			 dm_block_t data_block);
dm_block_t        169 drivers/md/dm-thin-metadata.h int dm_thin_remove_block(struct dm_thin_device *td, dm_block_t block);
dm_block_t        171 drivers/md/dm-thin-metadata.h 			 dm_block_t begin, dm_block_t end);
dm_block_t        183 drivers/md/dm-thin-metadata.h 				     dm_block_t *highest_mapped);
dm_block_t        185 drivers/md/dm-thin-metadata.h int dm_thin_get_mapped_count(struct dm_thin_device *td, dm_block_t *result);
dm_block_t        188 drivers/md/dm-thin-metadata.h 				 dm_block_t *result);
dm_block_t        191 drivers/md/dm-thin-metadata.h 					  dm_block_t *result);
dm_block_t        194 drivers/md/dm-thin-metadata.h 				  dm_block_t *result);
dm_block_t        196 drivers/md/dm-thin-metadata.h int dm_pool_get_data_dev_size(struct dm_pool_metadata *pmd, dm_block_t *result);
dm_block_t        198 drivers/md/dm-thin-metadata.h int dm_pool_block_is_shared(struct dm_pool_metadata *pmd, dm_block_t b, bool *result);
dm_block_t        200 drivers/md/dm-thin-metadata.h int dm_pool_inc_data_range(struct dm_pool_metadata *pmd, dm_block_t b, dm_block_t e);
dm_block_t        201 drivers/md/dm-thin-metadata.h int dm_pool_dec_data_range(struct dm_pool_metadata *pmd, dm_block_t b, dm_block_t e);
dm_block_t        207 drivers/md/dm-thin-metadata.h int dm_pool_resize_data_dev(struct dm_pool_metadata *pmd, dm_block_t new_size);
dm_block_t        208 drivers/md/dm-thin-metadata.h int dm_pool_resize_metadata_dev(struct dm_pool_metadata *pmd, dm_block_t new_size);
dm_block_t        218 drivers/md/dm-thin-metadata.h 					dm_block_t threshold,
dm_block_t        121 drivers/md/dm-thin.c 		      dm_block_t b, dm_block_t e, struct dm_cell_key *key)
dm_block_t        129 drivers/md/dm-thin.c static void build_data_key(struct dm_thin_device *td, dm_block_t b,
dm_block_t        135 drivers/md/dm-thin.c static void build_virtual_key(struct dm_thin_device *td, dm_block_t b,
dm_block_t        238 drivers/md/dm-thin.c 	dm_block_t low_water_blocks;
dm_block_t        329 drivers/md/dm-thin.c 	dm_block_t low_water_blocks;
dm_block_t        371 drivers/md/dm-thin.c static sector_t block_to_sectors(struct pool *pool, dm_block_t b)
dm_block_t        397 drivers/md/dm-thin.c static int issue_discard(struct discard_op *op, dm_block_t data_b, dm_block_t data_e)
dm_block_t        680 drivers/md/dm-thin.c static dm_block_t get_bio_block(struct thin_c *tc, struct bio *bio)
dm_block_t        697 drivers/md/dm-thin.c 				dm_block_t *begin, dm_block_t *end)
dm_block_t        721 drivers/md/dm-thin.c static void remap(struct thin_c *tc, struct bio *bio, dm_block_t block)
dm_block_t        794 drivers/md/dm-thin.c 			    dm_block_t block)
dm_block_t        820 drivers/md/dm-thin.c 	dm_block_t virt_begin, virt_end;
dm_block_t        821 drivers/md/dm-thin.c 	dm_block_t data_block;
dm_block_t        931 drivers/md/dm-thin.c 				     dm_block_t block)
dm_block_t       1090 drivers/md/dm-thin.c 	dm_block_t b = m->data_block, e, end = m->data_block + m->virt_end - m->virt_begin;
dm_block_t       1155 drivers/md/dm-thin.c 	dm_block_t data_end = m->data_block + (m->virt_end - m->virt_begin);
dm_block_t       1304 drivers/md/dm-thin.c 				      dm_block_t data_begin,
dm_block_t       1320 drivers/md/dm-thin.c static void schedule_copy(struct thin_c *tc, dm_block_t virt_block,
dm_block_t       1321 drivers/md/dm-thin.c 			  struct dm_dev *origin, dm_block_t data_origin,
dm_block_t       1322 drivers/md/dm-thin.c 			  dm_block_t data_dest,
dm_block_t       1381 drivers/md/dm-thin.c static void schedule_internal_copy(struct thin_c *tc, dm_block_t virt_block,
dm_block_t       1382 drivers/md/dm-thin.c 				   dm_block_t data_origin, dm_block_t data_dest,
dm_block_t       1390 drivers/md/dm-thin.c static void schedule_zero(struct thin_c *tc, dm_block_t virt_block,
dm_block_t       1391 drivers/md/dm-thin.c 			  dm_block_t data_block, struct dm_bio_prison_cell *cell,
dm_block_t       1419 drivers/md/dm-thin.c static void schedule_external_copy(struct thin_c *tc, dm_block_t virt_block,
dm_block_t       1420 drivers/md/dm-thin.c 				   dm_block_t data_dest,
dm_block_t       1459 drivers/md/dm-thin.c 	dm_block_t nr_free;
dm_block_t       1476 drivers/md/dm-thin.c 	dm_block_t nr_free;
dm_block_t       1513 drivers/md/dm-thin.c static void check_low_water_mark(struct pool *pool, dm_block_t free_blocks)
dm_block_t       1527 drivers/md/dm-thin.c static int alloc_data_block(struct thin_c *tc, dm_block_t *result)
dm_block_t       1530 drivers/md/dm-thin.c 	dm_block_t free_blocks;
dm_block_t       1679 drivers/md/dm-thin.c static void break_up_discard_bio(struct thin_c *tc, dm_block_t begin, dm_block_t end,
dm_block_t       1689 drivers/md/dm-thin.c 	dm_block_t virt_begin, virt_end, data_begin;
dm_block_t       1765 drivers/md/dm-thin.c 	dm_block_t begin, end;
dm_block_t       1792 drivers/md/dm-thin.c static void break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block,
dm_block_t       1798 drivers/md/dm-thin.c 	dm_block_t data_block;
dm_block_t       1842 drivers/md/dm-thin.c 					dm_block_t block)
dm_block_t       1862 drivers/md/dm-thin.c 			       dm_block_t block,
dm_block_t       1895 drivers/md/dm-thin.c static void provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block,
dm_block_t       1899 drivers/md/dm-thin.c 	dm_block_t data_block;
dm_block_t       1949 drivers/md/dm-thin.c 	dm_block_t block = get_bio_block(tc, bio);
dm_block_t       2002 drivers/md/dm-thin.c 	dm_block_t block = get_bio_block(tc, bio);
dm_block_t       2022 drivers/md/dm-thin.c 	dm_block_t block = get_bio_block(tc, bio);
dm_block_t       2721 drivers/md/dm-thin.c 	dm_block_t block = get_bio_block(tc, bio);
dm_block_t       3261 drivers/md/dm-thin.c static dm_block_t get_metadata_dev_size_in_blocks(struct block_device *bdev)
dm_block_t       3276 drivers/md/dm-thin.c static dm_block_t calc_metadata_threshold(struct pool_c *pt)
dm_block_t       3283 drivers/md/dm-thin.c 	dm_block_t quarter = get_metadata_dev_size_in_blocks(pt->metadata_dev->bdev) / 4;
dm_block_t       3284 drivers/md/dm-thin.c 	return min((dm_block_t)1024ULL /* 4M */, quarter);
dm_block_t       3309 drivers/md/dm-thin.c 	dm_block_t low_water_blocks;
dm_block_t       3476 drivers/md/dm-thin.c 	dm_block_t sb_data_size;
dm_block_t       3523 drivers/md/dm-thin.c 	dm_block_t metadata_dev_size, sb_metadata_dev_size;
dm_block_t       3933 drivers/md/dm-thin.c 	dm_block_t nr_free_blocks_data;
dm_block_t       3934 drivers/md/dm-thin.c 	dm_block_t nr_free_blocks_metadata;
dm_block_t       3935 drivers/md/dm-thin.c 	dm_block_t nr_blocks_data;
dm_block_t       3936 drivers/md/dm-thin.c 	dm_block_t nr_blocks_metadata;
dm_block_t       3937 drivers/md/dm-thin.c 	dm_block_t held_root;
dm_block_t       4418 drivers/md/dm-thin.c 	dm_block_t mapped, highest;
dm_block_t        220 drivers/md/persistent-data/dm-array.c static int get_ablock(struct dm_array_info *info, dm_block_t b,
dm_block_t        253 drivers/md/persistent-data/dm-array.c static int lookup_ablock(struct dm_array_info *info, dm_block_t root,
dm_block_t        272 drivers/md/persistent-data/dm-array.c 			 struct dm_block *block, dm_block_t *root)
dm_block_t        282 drivers/md/persistent-data/dm-array.c static int __shadow_ablock(struct dm_array_info *info, dm_block_t b,
dm_block_t        303 drivers/md/persistent-data/dm-array.c 			     struct dm_block *block, dm_block_t b,
dm_block_t        304 drivers/md/persistent-data/dm-array.c 			     dm_block_t *root)
dm_block_t        327 drivers/md/persistent-data/dm-array.c static int shadow_ablock(struct dm_array_info *info, dm_block_t *root,
dm_block_t        333 drivers/md/persistent-data/dm-array.c 	dm_block_t b;
dm_block_t        354 drivers/md/persistent-data/dm-array.c 			     const void *value, dm_block_t *root)
dm_block_t        374 drivers/md/persistent-data/dm-array.c 			       dm_block_t *root)
dm_block_t        398 drivers/md/persistent-data/dm-array.c 	dm_block_t root;
dm_block_t        649 drivers/md/persistent-data/dm-array.c int dm_array_empty(struct dm_array_info *info, dm_block_t *root)
dm_block_t        655 drivers/md/persistent-data/dm-array.c static int array_resize(struct dm_array_info *info, dm_block_t root,
dm_block_t        657 drivers/md/persistent-data/dm-array.c 			const void *value, dm_block_t *new_root)
dm_block_t        687 drivers/md/persistent-data/dm-array.c int dm_array_resize(struct dm_array_info *info, dm_block_t root,
dm_block_t        689 drivers/md/persistent-data/dm-array.c 		    const void *value, dm_block_t *new_root)
dm_block_t        721 drivers/md/persistent-data/dm-array.c int dm_array_new(struct dm_array_info *info, dm_block_t *root,
dm_block_t        762 drivers/md/persistent-data/dm-array.c int dm_array_del(struct dm_array_info *info, dm_block_t root)
dm_block_t        768 drivers/md/persistent-data/dm-array.c int dm_array_get_value(struct dm_array_info *info, dm_block_t root,
dm_block_t        796 drivers/md/persistent-data/dm-array.c static int array_set_value(struct dm_array_info *info, dm_block_t root,
dm_block_t        797 drivers/md/persistent-data/dm-array.c 			   uint32_t index, const void *value, dm_block_t *new_root)
dm_block_t        837 drivers/md/persistent-data/dm-array.c int dm_array_set_value(struct dm_array_info *info, dm_block_t root,
dm_block_t        838 drivers/md/persistent-data/dm-array.c 		 uint32_t index, const void *value, dm_block_t *new_root)
dm_block_t        885 drivers/md/persistent-data/dm-array.c int dm_array_walk(struct dm_array_info *info, dm_block_t root,
dm_block_t        930 drivers/md/persistent-data/dm-array.c int dm_array_cursor_begin(struct dm_array_info *info, dm_block_t root,
dm_block_t         92 drivers/md/persistent-data/dm-array.h int dm_array_empty(struct dm_array_info *info, dm_block_t *root);
dm_block_t        109 drivers/md/persistent-data/dm-array.h int dm_array_resize(struct dm_array_info *info, dm_block_t root,
dm_block_t        111 drivers/md/persistent-data/dm-array.h 		    const void *value, dm_block_t *new_root)
dm_block_t        130 drivers/md/persistent-data/dm-array.h int dm_array_new(struct dm_array_info *info, dm_block_t *root,
dm_block_t        137 drivers/md/persistent-data/dm-array.h int dm_array_del(struct dm_array_info *info, dm_block_t root);
dm_block_t        149 drivers/md/persistent-data/dm-array.h int dm_array_get_value(struct dm_array_info *info, dm_block_t root,
dm_block_t        167 drivers/md/persistent-data/dm-array.h int dm_array_set_value(struct dm_array_info *info, dm_block_t root,
dm_block_t        168 drivers/md/persistent-data/dm-array.h 		       uint32_t index, const void *value, dm_block_t *new_root)
dm_block_t        179 drivers/md/persistent-data/dm-array.h int dm_array_walk(struct dm_array_info *info, dm_block_t root,
dm_block_t        205 drivers/md/persistent-data/dm-array.h 			  dm_block_t root, struct dm_array_cursor *c);
dm_block_t         36 drivers/md/persistent-data/dm-bitset.c int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *root)
dm_block_t         72 drivers/md/persistent-data/dm-bitset.c int dm_bitset_new(struct dm_disk_bitset *info, dm_block_t *root,
dm_block_t         84 drivers/md/persistent-data/dm-bitset.c int dm_bitset_resize(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t         86 drivers/md/persistent-data/dm-bitset.c 		     bool default_value, dm_block_t *new_root)
dm_block_t         98 drivers/md/persistent-data/dm-bitset.c int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root)
dm_block_t        104 drivers/md/persistent-data/dm-bitset.c int dm_bitset_flush(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        105 drivers/md/persistent-data/dm-bitset.c 		    dm_block_t *new_root)
dm_block_t        128 drivers/md/persistent-data/dm-bitset.c static int read_bits(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        146 drivers/md/persistent-data/dm-bitset.c static int get_array_entry(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        147 drivers/md/persistent-data/dm-bitset.c 			   uint32_t index, dm_block_t *new_root)
dm_block_t        164 drivers/md/persistent-data/dm-bitset.c int dm_bitset_set_bit(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        165 drivers/md/persistent-data/dm-bitset.c 		      uint32_t index, dm_block_t *new_root)
dm_block_t        181 drivers/md/persistent-data/dm-bitset.c int dm_bitset_clear_bit(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        182 drivers/md/persistent-data/dm-bitset.c 			uint32_t index, dm_block_t *new_root)
dm_block_t        198 drivers/md/persistent-data/dm-bitset.c int dm_bitset_test_bit(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        199 drivers/md/persistent-data/dm-bitset.c 		       uint32_t index, dm_block_t *new_root, bool *result)
dm_block_t        230 drivers/md/persistent-data/dm-bitset.c 			   dm_block_t root, uint32_t nr_entries,
dm_block_t         93 drivers/md/persistent-data/dm-bitset.h int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *new_root);
dm_block_t        108 drivers/md/persistent-data/dm-bitset.h int dm_bitset_new(struct dm_disk_bitset *info, dm_block_t *root,
dm_block_t        121 drivers/md/persistent-data/dm-bitset.h int dm_bitset_resize(struct dm_disk_bitset *info, dm_block_t old_root,
dm_block_t        123 drivers/md/persistent-data/dm-bitset.h 		     bool default_value, dm_block_t *new_root);
dm_block_t        128 drivers/md/persistent-data/dm-bitset.h int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root);
dm_block_t        140 drivers/md/persistent-data/dm-bitset.h int dm_bitset_set_bit(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        141 drivers/md/persistent-data/dm-bitset.h 		      uint32_t index, dm_block_t *new_root);
dm_block_t        153 drivers/md/persistent-data/dm-bitset.h int dm_bitset_clear_bit(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        154 drivers/md/persistent-data/dm-bitset.h 			uint32_t index, dm_block_t *new_root);
dm_block_t        167 drivers/md/persistent-data/dm-bitset.h int dm_bitset_test_bit(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        168 drivers/md/persistent-data/dm-bitset.h 		       uint32_t index, dm_block_t *new_root, bool *result);
dm_block_t        177 drivers/md/persistent-data/dm-bitset.h int dm_bitset_flush(struct dm_disk_bitset *info, dm_block_t root,
dm_block_t        178 drivers/md/persistent-data/dm-bitset.h 		    dm_block_t *new_root);
dm_block_t        195 drivers/md/persistent-data/dm-bitset.h 			   dm_block_t root, uint32_t nr_entries,
dm_block_t        300 drivers/md/persistent-data/dm-block-manager.c static void report_recursive_bug(dm_block_t b, int r)
dm_block_t        333 drivers/md/persistent-data/dm-block-manager.c dm_block_t dm_block_location(struct dm_block *b)
dm_block_t        423 drivers/md/persistent-data/dm-block-manager.c dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm)
dm_block_t        455 drivers/md/persistent-data/dm-block-manager.c int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b,
dm_block_t        489 drivers/md/persistent-data/dm-block-manager.c 		     dm_block_t b, struct dm_block_validator *v,
dm_block_t        525 drivers/md/persistent-data/dm-block-manager.c 			dm_block_t b, struct dm_block_validator *v,
dm_block_t        558 drivers/md/persistent-data/dm-block-manager.c 			  dm_block_t b, struct dm_block_validator *v,
dm_block_t        612 drivers/md/persistent-data/dm-block-manager.c void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b)
dm_block_t         21 drivers/md/persistent-data/dm-block-manager.h dm_block_t dm_block_location(struct dm_block *b);
dm_block_t         40 drivers/md/persistent-data/dm-block-manager.h dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm);
dm_block_t         73 drivers/md/persistent-data/dm-block-manager.h int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b,
dm_block_t         77 drivers/md/persistent-data/dm-block-manager.h int dm_bm_write_lock(struct dm_block_manager *bm, dm_block_t b,
dm_block_t         85 drivers/md/persistent-data/dm-block-manager.h int dm_bm_read_try_lock(struct dm_block_manager *bm, dm_block_t b,
dm_block_t         93 drivers/md/persistent-data/dm-block-manager.h int dm_bm_write_lock_zero(struct dm_block_manager *bm, dm_block_t b,
dm_block_t        113 drivers/md/persistent-data/dm-block-manager.h void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b);
dm_block_t         48 drivers/md/persistent-data/dm-btree-internal.h int bn_read_lock(struct dm_btree_info *info, dm_block_t b,
dm_block_t         72 drivers/md/persistent-data/dm-btree-internal.h int ro_step(struct ro_spine *s, dm_block_t new_child);
dm_block_t         82 drivers/md/persistent-data/dm-btree-internal.h 	dm_block_t root;
dm_block_t         88 drivers/md/persistent-data/dm-btree-internal.h int shadow_step(struct shadow_spine *s, dm_block_t b,
dm_block_t        147 drivers/md/persistent-data/dm-btree-remove.c 	dm_block_t root;
dm_block_t        418 drivers/md/persistent-data/dm-btree-remove.c 		dm_block_t b = value64(n, 0);
dm_block_t        470 drivers/md/persistent-data/dm-btree-remove.c 		      struct dm_btree_value_type *vt, dm_block_t root,
dm_block_t        518 drivers/md/persistent-data/dm-btree-remove.c int dm_btree_remove(struct dm_btree_info *info, dm_block_t root,
dm_block_t        519 drivers/md/persistent-data/dm-btree-remove.c 		    uint64_t *keys, dm_block_t *new_root)
dm_block_t        562 drivers/md/persistent-data/dm-btree-remove.c 			  struct dm_btree_value_type *vt, dm_block_t root,
dm_block_t        614 drivers/md/persistent-data/dm-btree-remove.c static int remove_one(struct dm_btree_info *info, dm_block_t root,
dm_block_t        616 drivers/md/persistent-data/dm-btree-remove.c 		      dm_block_t *new_root, unsigned *nr_removed)
dm_block_t        671 drivers/md/persistent-data/dm-btree-remove.c int dm_btree_remove_leaves(struct dm_btree_info *info, dm_block_t root,
dm_block_t        673 drivers/md/persistent-data/dm-btree-remove.c 			   dm_block_t *new_root, unsigned *nr_removed)
dm_block_t         95 drivers/md/persistent-data/dm-btree-spine.c int bn_read_lock(struct dm_btree_info *info, dm_block_t b,
dm_block_t        101 drivers/md/persistent-data/dm-btree-spine.c static int bn_shadow(struct dm_btree_info *info, dm_block_t orig,
dm_block_t        146 drivers/md/persistent-data/dm-btree-spine.c int ro_step(struct ro_spine *s, dm_block_t new_child)
dm_block_t        199 drivers/md/persistent-data/dm-btree-spine.c int shadow_step(struct shadow_spine *s, dm_block_t b,
dm_block_t        126 drivers/md/persistent-data/dm-btree.c int dm_btree_empty(struct dm_btree_info *info, dm_block_t *root)
dm_block_t        208 drivers/md/persistent-data/dm-btree.c static int push_frame(struct del_stack *s, dm_block_t b, unsigned level)
dm_block_t        270 drivers/md/persistent-data/dm-btree.c int dm_btree_del(struct dm_btree_info *info, dm_block_t root)
dm_block_t        294 drivers/md/persistent-data/dm-btree.c 		dm_block_t b;
dm_block_t        344 drivers/md/persistent-data/dm-btree.c static int btree_lookup_raw(struct ro_spine *s, dm_block_t block, uint64_t key,
dm_block_t        374 drivers/md/persistent-data/dm-btree.c int dm_btree_lookup(struct dm_btree_info *info, dm_block_t root,
dm_block_t        419 drivers/md/persistent-data/dm-btree.c static int dm_btree_lookup_next_single(struct dm_btree_info *info, dm_block_t root,
dm_block_t        470 drivers/md/persistent-data/dm-btree.c int dm_btree_lookup_next(struct dm_btree_info *info, dm_block_t root,
dm_block_t        692 drivers/md/persistent-data/dm-btree.c static int btree_insert_raw(struct shadow_spine *s, dm_block_t root,
dm_block_t        762 drivers/md/persistent-data/dm-btree.c static int insert(struct dm_btree_info *info, dm_block_t root,
dm_block_t        763 drivers/md/persistent-data/dm-btree.c 		  uint64_t *keys, void *value, dm_block_t *new_root,
dm_block_t        769 drivers/md/persistent-data/dm-btree.c 	dm_block_t block = root;
dm_block_t        785 drivers/md/persistent-data/dm-btree.c 			dm_block_t new_tree;
dm_block_t        849 drivers/md/persistent-data/dm-btree.c int dm_btree_insert(struct dm_btree_info *info, dm_block_t root,
dm_block_t        850 drivers/md/persistent-data/dm-btree.c 		    uint64_t *keys, void *value, dm_block_t *new_root)
dm_block_t        857 drivers/md/persistent-data/dm-btree.c int dm_btree_insert_notify(struct dm_btree_info *info, dm_block_t root,
dm_block_t        858 drivers/md/persistent-data/dm-btree.c 			   uint64_t *keys, void *value, dm_block_t *new_root,
dm_block_t        868 drivers/md/persistent-data/dm-btree.c static int find_key(struct ro_spine *s, dm_block_t block, bool find_highest,
dm_block_t        869 drivers/md/persistent-data/dm-btree.c 		    uint64_t *result_key, dm_block_t *next_block)
dm_block_t        905 drivers/md/persistent-data/dm-btree.c static int dm_btree_find_key(struct dm_btree_info *info, dm_block_t root,
dm_block_t        929 drivers/md/persistent-data/dm-btree.c int dm_btree_find_highest_key(struct dm_btree_info *info, dm_block_t root,
dm_block_t        936 drivers/md/persistent-data/dm-btree.c int dm_btree_find_lowest_key(struct dm_btree_info *info, dm_block_t root,
dm_block_t        949 drivers/md/persistent-data/dm-btree.c static int walk_node(struct dm_btree_info *info, dm_block_t block,
dm_block_t        984 drivers/md/persistent-data/dm-btree.c int dm_btree_walk(struct dm_btree_info *info, dm_block_t root,
dm_block_t       1020 drivers/md/persistent-data/dm-btree.c static int push_node(struct dm_btree_cursor *c, dm_block_t b)
dm_block_t       1099 drivers/md/persistent-data/dm-btree.c int dm_btree_cursor_begin(struct dm_btree_info *info, dm_block_t root,
dm_block_t         94 drivers/md/persistent-data/dm-btree.h int dm_btree_empty(struct dm_btree_info *info, dm_block_t *root);
dm_block_t        100 drivers/md/persistent-data/dm-btree.h int dm_btree_del(struct dm_btree_info *info, dm_block_t root);
dm_block_t        109 drivers/md/persistent-data/dm-btree.h int dm_btree_lookup(struct dm_btree_info *info, dm_block_t root,
dm_block_t        116 drivers/md/persistent-data/dm-btree.h int dm_btree_lookup_next(struct dm_btree_info *info, dm_block_t root,
dm_block_t        122 drivers/md/persistent-data/dm-btree.h int dm_btree_insert(struct dm_btree_info *info, dm_block_t root,
dm_block_t        123 drivers/md/persistent-data/dm-btree.h 		    uint64_t *keys, void *value, dm_block_t *new_root)
dm_block_t        131 drivers/md/persistent-data/dm-btree.h int dm_btree_insert_notify(struct dm_btree_info *info, dm_block_t root,
dm_block_t        132 drivers/md/persistent-data/dm-btree.h 			   uint64_t *keys, void *value, dm_block_t *new_root,
dm_block_t        141 drivers/md/persistent-data/dm-btree.h int dm_btree_remove(struct dm_btree_info *info, dm_block_t root,
dm_block_t        142 drivers/md/persistent-data/dm-btree.h 		    uint64_t *keys, dm_block_t *new_root);
dm_block_t        150 drivers/md/persistent-data/dm-btree.h int dm_btree_remove_leaves(struct dm_btree_info *info, dm_block_t root,
dm_block_t        152 drivers/md/persistent-data/dm-btree.h 			   dm_block_t *new_root, unsigned *nr_removed);
dm_block_t        159 drivers/md/persistent-data/dm-btree.h int dm_btree_find_lowest_key(struct dm_btree_info *info, dm_block_t root,
dm_block_t        167 drivers/md/persistent-data/dm-btree.h int dm_btree_find_highest_key(struct dm_btree_info *info, dm_block_t root,
dm_block_t        175 drivers/md/persistent-data/dm-btree.h int dm_btree_walk(struct dm_btree_info *info, dm_block_t root,
dm_block_t        196 drivers/md/persistent-data/dm-btree.h 	dm_block_t root;
dm_block_t        208 drivers/md/persistent-data/dm-btree.h int dm_btree_cursor_begin(struct dm_btree_info *info, dm_block_t root,
dm_block_t         12 drivers/md/persistent-data/dm-persistent-data-internal.h static inline unsigned dm_hash_block(dm_block_t b, unsigned hash_mask)
dm_block_t        234 drivers/md/persistent-data/dm-space-map-common.c int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks)
dm_block_t        237 drivers/md/persistent-data/dm-space-map-common.c 	dm_block_t i, nr_blocks, nr_indexes;
dm_block_t        277 drivers/md/persistent-data/dm-space-map-common.c int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result)
dm_block_t        280 drivers/md/persistent-data/dm-space-map-common.c 	dm_block_t index = b;
dm_block_t        301 drivers/md/persistent-data/dm-space-map-common.c static int sm_ll_lookup_big_ref_count(struct ll_disk *ll, dm_block_t b,
dm_block_t        316 drivers/md/persistent-data/dm-space-map-common.c int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result)
dm_block_t        329 drivers/md/persistent-data/dm-space-map-common.c int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin,
dm_block_t        330 drivers/md/persistent-data/dm-space-map-common.c 			  dm_block_t end, dm_block_t *result)
dm_block_t        334 drivers/md/persistent-data/dm-space-map-common.c 	dm_block_t i, index_begin = begin;
dm_block_t        335 drivers/md/persistent-data/dm-space-map-common.c 	dm_block_t index_end = dm_sector_div_up(end, ll->entries_per_block);
dm_block_t        376 drivers/md/persistent-data/dm-space-map-common.c 		*result = i * ll->entries_per_block + (dm_block_t) position;
dm_block_t        384 drivers/md/persistent-data/dm-space-map-common.c 	                         dm_block_t begin, dm_block_t end, dm_block_t *b)
dm_block_t        410 drivers/md/persistent-data/dm-space-map-common.c static int sm_ll_mutate(struct ll_disk *ll, dm_block_t b,
dm_block_t        417 drivers/md/persistent-data/dm-space-map-common.c 	dm_block_t index = b;
dm_block_t        504 drivers/md/persistent-data/dm-space-map-common.c int sm_ll_insert(struct ll_disk *ll, dm_block_t b,
dm_block_t        516 drivers/md/persistent-data/dm-space-map-common.c int sm_ll_inc(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev)
dm_block_t        532 drivers/md/persistent-data/dm-space-map-common.c int sm_ll_dec(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev)
dm_block_t        552 drivers/md/persistent-data/dm-space-map-common.c static int metadata_ll_load_ie(struct ll_disk *ll, dm_block_t index,
dm_block_t        559 drivers/md/persistent-data/dm-space-map-common.c static int metadata_ll_save_ie(struct ll_disk *ll, dm_block_t index,
dm_block_t        599 drivers/md/persistent-data/dm-space-map-common.c static dm_block_t metadata_ll_max_entries(struct ll_disk *ll)
dm_block_t        688 drivers/md/persistent-data/dm-space-map-common.c static int disk_ll_load_ie(struct ll_disk *ll, dm_block_t index,
dm_block_t        694 drivers/md/persistent-data/dm-space-map-common.c static int disk_ll_save_ie(struct ll_disk *ll, dm_block_t index,
dm_block_t        713 drivers/md/persistent-data/dm-space-map-common.c static dm_block_t disk_ll_max_entries(struct ll_disk *ll)
dm_block_t         50 drivers/md/persistent-data/dm-space-map-common.h typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result);
dm_block_t         51 drivers/md/persistent-data/dm-space-map-common.h typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie);
dm_block_t         54 drivers/md/persistent-data/dm-space-map-common.h typedef dm_block_t (*max_index_entries_fn)(struct ll_disk *ll);
dm_block_t         64 drivers/md/persistent-data/dm-space-map-common.h 	dm_block_t nr_blocks;
dm_block_t         65 drivers/md/persistent-data/dm-space-map-common.h 	dm_block_t nr_allocated;
dm_block_t         70 drivers/md/persistent-data/dm-space-map-common.h 	dm_block_t bitmap_root;
dm_block_t         72 drivers/md/persistent-data/dm-space-map-common.h 	dm_block_t ref_count_root;
dm_block_t        107 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks);
dm_block_t        108 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
dm_block_t        109 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result);
dm_block_t        110 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin,
dm_block_t        111 drivers/md/persistent-data/dm-space-map-common.h 			  dm_block_t end, dm_block_t *result);
dm_block_t        113 drivers/md/persistent-data/dm-space-map-common.h 	                         dm_block_t begin, dm_block_t end, dm_block_t *result);
dm_block_t        114 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_insert(struct ll_disk *ll, dm_block_t b, uint32_t ref_count, enum allocation_event *ev);
dm_block_t        115 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_inc(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev);
dm_block_t        116 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_dec(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev);
dm_block_t         30 drivers/md/persistent-data/dm-space-map-disk.c 	dm_block_t begin;
dm_block_t         31 drivers/md/persistent-data/dm-space-map-disk.c 	dm_block_t nr_allocated_this_transaction;
dm_block_t         41 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_extend(struct dm_space_map *sm, dm_block_t extra_blocks)
dm_block_t         48 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
dm_block_t         56 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
dm_block_t         64 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_get_count(struct dm_space_map *sm, dm_block_t b,
dm_block_t         71 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_count_is_more_than_one(struct dm_space_map *sm, dm_block_t b,
dm_block_t         86 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_set_count(struct dm_space_map *sm, dm_block_t b,
dm_block_t        126 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_inc_block(struct dm_space_map *sm, dm_block_t b)
dm_block_t        143 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_dec_block(struct dm_space_map *sm, dm_block_t b)
dm_block_t        164 drivers/md/persistent-data/dm-space-map-disk.c static int sm_disk_new_block(struct dm_space_map *sm, dm_block_t *b)
dm_block_t        190 drivers/md/persistent-data/dm-space-map-disk.c 	dm_block_t nr_free;
dm_block_t        257 drivers/md/persistent-data/dm-space-map-disk.c 				       dm_block_t nr_blocks)
dm_block_t         20 drivers/md/persistent-data/dm-space-map-disk.h 				       dm_block_t nr_blocks);
dm_block_t         26 drivers/md/persistent-data/dm-space-map-metadata.c 	dm_block_t threshold;
dm_block_t         27 drivers/md/persistent-data/dm-space-map-metadata.c 	dm_block_t current_value;
dm_block_t         38 drivers/md/persistent-data/dm-space-map-metadata.c static void set_threshold(struct threshold *t, dm_block_t value,
dm_block_t         47 drivers/md/persistent-data/dm-space-map-metadata.c static bool below_threshold(struct threshold *t, dm_block_t value)
dm_block_t         57 drivers/md/persistent-data/dm-space-map-metadata.c static void check_threshold(struct threshold *t, dm_block_t value)
dm_block_t         92 drivers/md/persistent-data/dm-space-map-metadata.c 	dm_block_t block;
dm_block_t        119 drivers/md/persistent-data/dm-space-map-metadata.c 		    enum block_op_type type, dm_block_t b)
dm_block_t        172 drivers/md/persistent-data/dm-space-map-metadata.c 	dm_block_t begin;
dm_block_t        181 drivers/md/persistent-data/dm-space-map-metadata.c static int add_bop(struct sm_metadata *smm, enum block_op_type type, dm_block_t b)
dm_block_t        281 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
dm_block_t        290 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
dm_block_t        300 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_get_count(struct dm_space_map *sm, dm_block_t b,
dm_block_t        341 drivers/md/persistent-data/dm-space-map-metadata.c 					      dm_block_t b, int *result)
dm_block_t        392 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_set_count(struct dm_space_map *sm, dm_block_t b,
dm_block_t        411 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_inc_block(struct dm_space_map *sm, dm_block_t b)
dm_block_t        428 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_dec_block(struct dm_space_map *sm, dm_block_t b)
dm_block_t        445 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_new_block_(struct dm_space_map *sm, dm_block_t *b)
dm_block_t        474 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_new_block(struct dm_space_map *sm, dm_block_t *b)
dm_block_t        476 drivers/md/persistent-data/dm-space-map-metadata.c 	dm_block_t count;
dm_block_t        513 drivers/md/persistent-data/dm-space-map-metadata.c 						   dm_block_t threshold,
dm_block_t        549 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_extend(struct dm_space_map *sm, dm_block_t extra_blocks);
dm_block_t        578 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_extend(struct dm_space_map *sm, dm_block_t extra_blocks)
dm_block_t        585 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
dm_block_t        594 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
dm_block_t        603 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_get_count(struct dm_space_map *sm, dm_block_t b,
dm_block_t        614 drivers/md/persistent-data/dm-space-map-metadata.c 					       dm_block_t b, int *result)
dm_block_t        621 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_set_count(struct dm_space_map *sm, dm_block_t b,
dm_block_t        629 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_new_block(struct dm_space_map *sm, dm_block_t *b)
dm_block_t        644 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_inc_block(struct dm_space_map *sm, dm_block_t b)
dm_block_t        651 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_dec_block(struct dm_space_map *sm, dm_block_t b)
dm_block_t        697 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_metadata_extend(struct dm_space_map *sm, dm_block_t extra_blocks)
dm_block_t        701 drivers/md/persistent-data/dm-space-map-metadata.c 	dm_block_t old_len = smm->ll.nr_blocks;
dm_block_t        766 drivers/md/persistent-data/dm-space-map-metadata.c 			  dm_block_t nr_blocks,
dm_block_t        767 drivers/md/persistent-data/dm-space-map-metadata.c 			  dm_block_t superblock)
dm_block_t        770 drivers/md/persistent-data/dm-space-map-metadata.c 	dm_block_t i;
dm_block_t         34 drivers/md/persistent-data/dm-space-map-metadata.h 			  dm_block_t nr_blocks,
dm_block_t         35 drivers/md/persistent-data/dm-space-map-metadata.h 			  dm_block_t superblock);
dm_block_t         24 drivers/md/persistent-data/dm-space-map.h 	int (*extend)(struct dm_space_map *sm, dm_block_t extra_blocks);
dm_block_t         30 drivers/md/persistent-data/dm-space-map.h 	int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count);
dm_block_t         40 drivers/md/persistent-data/dm-space-map.h 	int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count);
dm_block_t         42 drivers/md/persistent-data/dm-space-map.h 	int (*get_count)(struct dm_space_map *sm, dm_block_t b, uint32_t *result);
dm_block_t         43 drivers/md/persistent-data/dm-space-map.h 	int (*count_is_more_than_one)(struct dm_space_map *sm, dm_block_t b,
dm_block_t         45 drivers/md/persistent-data/dm-space-map.h 	int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count);
dm_block_t         49 drivers/md/persistent-data/dm-space-map.h 	int (*inc_block)(struct dm_space_map *sm, dm_block_t b);
dm_block_t         50 drivers/md/persistent-data/dm-space-map.h 	int (*dec_block)(struct dm_space_map *sm, dm_block_t b);
dm_block_t         55 drivers/md/persistent-data/dm-space-map.h 	int (*new_block)(struct dm_space_map *sm, dm_block_t *b);
dm_block_t         70 drivers/md/persistent-data/dm-space-map.h 					   dm_block_t threshold,
dm_block_t         82 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_extend(struct dm_space_map *sm, dm_block_t extra_blocks)
dm_block_t         87 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
dm_block_t         92 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
dm_block_t         97 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_get_count(struct dm_space_map *sm, dm_block_t b,
dm_block_t        104 drivers/md/persistent-data/dm-space-map.h 					       dm_block_t b, int *result)
dm_block_t        109 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_set_count(struct dm_space_map *sm, dm_block_t b,
dm_block_t        120 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_inc_block(struct dm_space_map *sm, dm_block_t b)
dm_block_t        125 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_dec_block(struct dm_space_map *sm, dm_block_t b)
dm_block_t        130 drivers/md/persistent-data/dm-space-map.h static inline int dm_sm_new_block(struct dm_space_map *sm, dm_block_t *b)
dm_block_t        146 drivers/md/persistent-data/dm-space-map.h 						    dm_block_t threshold,
dm_block_t         24 drivers/md/persistent-data/dm-transaction-manager.c #define PREFETCH_SENTINEL ((dm_block_t) -1ULL)
dm_block_t         28 drivers/md/persistent-data/dm-transaction-manager.c 	dm_block_t blocks[PREFETCH_SIZE];
dm_block_t         31 drivers/md/persistent-data/dm-transaction-manager.c static unsigned prefetch_hash(dm_block_t b)
dm_block_t         49 drivers/md/persistent-data/dm-transaction-manager.c static void prefetch_add(struct prefetch_set *p, dm_block_t b)
dm_block_t         79 drivers/md/persistent-data/dm-transaction-manager.c 	dm_block_t where;
dm_block_t        103 drivers/md/persistent-data/dm-transaction-manager.c static int is_shadow(struct dm_transaction_manager *tm, dm_block_t b)
dm_block_t        124 drivers/md/persistent-data/dm-transaction-manager.c static void insert_shadow(struct dm_transaction_manager *tm, dm_block_t b)
dm_block_t        239 drivers/md/persistent-data/dm-transaction-manager.c 	dm_block_t new_block;
dm_block_t        263 drivers/md/persistent-data/dm-transaction-manager.c static int __shadow_block(struct dm_transaction_manager *tm, dm_block_t orig,
dm_block_t        268 drivers/md/persistent-data/dm-transaction-manager.c 	dm_block_t new;
dm_block_t        303 drivers/md/persistent-data/dm-transaction-manager.c int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig,
dm_block_t        328 drivers/md/persistent-data/dm-transaction-manager.c int dm_tm_read_lock(struct dm_transaction_manager *tm, dm_block_t b,
dm_block_t        351 drivers/md/persistent-data/dm-transaction-manager.c void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b)
dm_block_t        362 drivers/md/persistent-data/dm-transaction-manager.c void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b)
dm_block_t        373 drivers/md/persistent-data/dm-transaction-manager.c int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b,
dm_block_t        396 drivers/md/persistent-data/dm-transaction-manager.c 				 dm_block_t sb_location,
dm_block_t        438 drivers/md/persistent-data/dm-transaction-manager.c int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location,
dm_block_t        446 drivers/md/persistent-data/dm-transaction-manager.c int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location,
dm_block_t         85 drivers/md/persistent-data/dm-transaction-manager.h int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig,
dm_block_t         93 drivers/md/persistent-data/dm-transaction-manager.h int dm_tm_read_lock(struct dm_transaction_manager *tm, dm_block_t b,
dm_block_t        102 drivers/md/persistent-data/dm-transaction-manager.h void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b);
dm_block_t        104 drivers/md/persistent-data/dm-transaction-manager.h void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b);
dm_block_t        106 drivers/md/persistent-data/dm-transaction-manager.h int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b,
dm_block_t        128 drivers/md/persistent-data/dm-transaction-manager.h int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location,
dm_block_t        132 drivers/md/persistent-data/dm-transaction-manager.h int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location,