Searched refs:dm_oblock_t (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-cache-block-types.h | 20 typedef dm_block_t __bitwise dm_oblock_t; typedef 24 static inline dm_oblock_t to_oblock(dm_block_t b) in to_oblock() 26 return (__force dm_oblock_t) b; in to_oblock() 29 static inline dm_block_t from_oblock(dm_oblock_t b) in from_oblock()
|
D | dm-cache-policy.h | 31 dm_oblock_t oblock; 56 int (*lookup)(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, 69 dm_oblock_t oblock, dm_cblock_t *cblock, 95 int (*load_mapping)(struct dm_cache_policy *p, dm_oblock_t oblock,
|
D | dm-cache-background-tracker.c | 68 static int cmp_oblock(dm_oblock_t lhs, dm_oblock_t rhs) in cmp_oblock() 109 dm_oblock_t oblock) in __find_pending() 243 dm_oblock_t oblock) in btracker_promotion_already_present()
|
D | dm-cache-policy-internal.h | 15 static inline int policy_lookup(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, in policy_lookup() 22 dm_oblock_t oblock, dm_cblock_t *cblock, in policy_lookup_with_work() 58 dm_oblock_t oblock, dm_cblock_t cblock, in policy_load_mapping()
|
D | dm-cache-metadata.h | 87 int dm_cache_insert_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock, dm_oblock_t oblock); 90 typedef int (*load_mapping_fn)(void *context, dm_oblock_t oblock,
|
D | dm-cache-background-tracker.h | 42 dm_oblock_t oblock);
|
D | dm-cache-target.c | 396 dm_oblock_t origin_blocks; 497 dm_oblock_t invalidate_oblock; 570 static inline dm_oblock_t oblock_succ(dm_oblock_t b) in oblock_succ() 575 static void build_key(dm_oblock_t begin, dm_oblock_t end, struct dm_cell_key_v2 *key) in build_key() 643 static bool bio_detain_shared(struct cache *cache, dm_oblock_t oblock, struct bio *bio) in bio_detain_shared() 648 dm_oblock_t end = to_oblock(from_oblock(oblock) + 1ULL); in bio_detain_shared() 734 static dm_dblock_t oblock_to_dblock(struct cache *cache, dm_oblock_t oblock) in oblock_to_dblock() 767 static bool is_discarded_oblock(struct cache *cache, dm_oblock_t b) in is_discarded_oblock() 818 dm_oblock_t oblock, bool bio_has_pbd) in __remap_to_origin_clear_discard() 828 dm_oblock_t oblock) in remap_to_origin_clear_discard() [all …]
|
D | dm-cache-policy-smq.c | 48 dm_oblock_t oblock; 628 static struct entry *__h_lookup(struct smq_hash_table *ht, unsigned h, dm_oblock_t oblock, in __h_lookup() 656 static struct entry *h_lookup(struct smq_hash_table *ht, dm_oblock_t oblock) in h_lookup() 1226 static void queue_promotion(struct smq_policy *mq, dm_oblock_t oblock, in queue_promotion() 1292 static dm_oblock_t to_hblock(struct smq_policy *mq, dm_oblock_t b) in to_hblock() 1299 static struct entry *update_hotspot_queue(struct smq_policy *mq, dm_oblock_t b) in update_hotspot_queue() 1302 dm_oblock_t hb = to_hblock(mq, b); in update_hotspot_queue() 1365 static int __lookup(struct smq_policy *mq, dm_oblock_t oblock, dm_cblock_t *cblock, in __lookup() 1400 static int smq_lookup(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, in smq_lookup() 1418 dm_oblock_t oblock, dm_cblock_t *cblock, in smq_lookup_with_work() [all …]
|
D | dm-cache-metadata.c | 730 static __le64 pack_value(dm_oblock_t block, unsigned flags) in pack_value() 738 static void unpack_value(__le64 value_le, dm_oblock_t *block, unsigned *flags) in unpack_value() 892 dm_oblock_t ob; in block_clean_combined_dirty() 1251 dm_cblock_t cblock, dm_oblock_t oblock) in __insert() 1267 dm_cblock_t cblock, dm_oblock_t oblock) in dm_cache_insert_mapping() 1341 dm_oblock_t oblock; in __load_mapping_v1() 1383 dm_oblock_t oblock; in __load_mapping_v2() 1516 dm_oblock_t oblock; in __dump_mapping() 1552 dm_oblock_t oblock; in __dirty()
|