Home
last modified time | relevance | path

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

/drivers/md/
Ddm-cache-block-types.h22 typedef dm_block_t __bitwise dm_dblock_t; typedef
44 static inline dm_dblock_t to_dblock(dm_block_t b) in to_dblock()
46 return (__force dm_dblock_t) b; in to_dblock()
49 static inline dm_block_t from_dblock(dm_dblock_t b) in from_dblock()
Ddm-cache-metadata.h77 dm_dblock_t new_nr_entries);
80 dm_dblock_t dblock, bool discarded);
84 int dm_cache_set_discard(struct dm_cache_metadata *cmd, dm_dblock_t dblock, bool discard);
Ddm-cache-metadata.c124 dm_dblock_t discard_nr_blocks;
1097 dm_dblock_t new_nr_entries) in dm_cache_discard_bitset_resize()
1118 static int __set_discard(struct dm_cache_metadata *cmd, dm_dblock_t b) in __set_discard()
1124 static int __clear_discard(struct dm_cache_metadata *cmd, dm_dblock_t b) in __clear_discard()
1131 dm_dblock_t dblock, bool discard) in __discard()
1144 dm_dblock_t dblock, bool discard) in dm_cache_set_discard()
Ddm-cache-target.c357 dm_dblock_t discard_nr_blocks;
664 static dm_dblock_t oblock_to_dblock(struct cache *cache, dm_oblock_t oblock) in oblock_to_dblock()
670 static void set_discard(struct cache *cache, dm_dblock_t b) in set_discard()
680 static void clear_discard(struct cache *cache, dm_dblock_t b) in clear_discard()
687 static bool is_discarded(struct cache *cache, dm_dblock_t b) in is_discarded()
998 dm_dblock_t *b, dm_dblock_t *e) in calc_discard_block_range()
1764 dm_dblock_t b, e; in process_discard_bio()
2836 dm_dblock_t dblock, bool discard) in load_discard()