Searched refs:dm_oblock_t (Results 1 – 9 of 9) sorted by relevance
| /Linux-v6.1/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-target.c | 326 dm_oblock_t origin_blocks; 427 dm_oblock_t invalidate_oblock; 500 static inline dm_oblock_t oblock_succ(dm_oblock_t b) in oblock_succ() 505 static void build_key(dm_oblock_t begin, dm_oblock_t end, struct dm_cell_key_v2 *key) in build_key() 573 static bool bio_detain_shared(struct cache *cache, dm_oblock_t oblock, struct bio *bio) in bio_detain_shared() 578 dm_oblock_t end = to_oblock(from_oblock(oblock) + 1ULL); in bio_detain_shared() 664 static dm_dblock_t oblock_to_dblock(struct cache *cache, dm_oblock_t oblock) in oblock_to_dblock() 697 static bool is_discarded_oblock(struct cache *cache, dm_oblock_t b) in is_discarded_oblock() 748 dm_oblock_t oblock) in remap_to_origin_clear_discard() 758 dm_oblock_t oblock, dm_cblock_t cblock) in remap_to_cache_dirty() [all …]
|
| D | dm-cache-background-tracker.h | 42 dm_oblock_t oblock);
|
| 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() 1228 static void queue_promotion(struct smq_policy *mq, dm_oblock_t oblock, in queue_promotion() 1294 static dm_oblock_t to_hblock(struct smq_policy *mq, dm_oblock_t b) in to_hblock() 1301 static struct entry *update_hotspot_queue(struct smq_policy *mq, dm_oblock_t b) in update_hotspot_queue() 1304 dm_oblock_t hb = to_hblock(mq, b); in update_hotspot_queue() 1367 static int __lookup(struct smq_policy *mq, dm_oblock_t oblock, dm_cblock_t *cblock, in __lookup() 1402 static int smq_lookup(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, in smq_lookup() 1420 dm_oblock_t oblock, dm_cblock_t *cblock, in smq_lookup_with_work() [all …]
|
| D | dm-cache-metadata.c | 728 static __le64 pack_value(dm_oblock_t block, unsigned flags) in pack_value() 736 static void unpack_value(__le64 value_le, dm_oblock_t *block, unsigned *flags) in unpack_value() 890 dm_oblock_t ob; in block_clean_combined_dirty() 1249 dm_cblock_t cblock, dm_oblock_t oblock) in __insert() 1265 dm_cblock_t cblock, dm_oblock_t oblock) in dm_cache_insert_mapping() 1339 dm_oblock_t oblock; in __load_mapping_v1() 1381 dm_oblock_t oblock; in __load_mapping_v2() 1513 dm_oblock_t oblock; in __dump_mapping() 1549 dm_oblock_t oblock; in __dirty()
|