Home
last modified time | relevance | path

Searched refs:dm_dblock_t (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-cache-block-types.h23 typedef dm_block_t __bitwise dm_dblock_t; typedef
45 static inline dm_dblock_t to_dblock(dm_block_t b) in to_dblock()
47 return (__force dm_dblock_t) b; in to_dblock()
50 static inline dm_block_t from_dblock(dm_dblock_t b) in from_dblock()
H A Ddm-cache-metadata.h78 dm_dblock_t new_nr_entries);
81 dm_dblock_t dblock, bool discarded);
85 int dm_cache_set_discard(struct dm_cache_metadata *cmd, dm_dblock_t dblock, bool discard);
H A Ddm-cache-metadata.c125 dm_dblock_t discard_nr_blocks;
1103 dm_dblock_t new_nr_entries) in dm_cache_discard_bitset_resize()
1124 static int __set_discard(struct dm_cache_metadata *cmd, dm_dblock_t b) in __set_discard()
1130 static int __clear_discard(struct dm_cache_metadata *cmd, dm_dblock_t b) in __clear_discard()
1137 dm_dblock_t dblock, bool discard) in __discard()
1150 dm_dblock_t dblock, bool discard) in dm_cache_set_discard()
H A Ddm-cache-target.c358 dm_dblock_t discard_nr_blocks;
668 static dm_dblock_t oblock_to_dblock(struct cache *cache, dm_oblock_t oblock) in oblock_to_dblock()
674 static void set_discard(struct cache *cache, dm_dblock_t b) in set_discard()
684 static void clear_discard(struct cache *cache, dm_dblock_t b) in clear_discard()
691 static bool is_discarded(struct cache *cache, dm_dblock_t b) in is_discarded()
1010 dm_dblock_t *b, dm_dblock_t *e) in calc_discard_block_range()
1786 dm_dblock_t b, e; in process_discard_bio()
2869 dm_dblock_t dblock, bool discard) in load_discard()