Searched refs:dm_oblock_t (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | dm-cache-block-types.h | 21 typedef dm_block_t __bitwise dm_oblock_t; typedef 25 static inline dm_oblock_t to_oblock(dm_block_t b) in to_oblock() 27 return (__force dm_oblock_t) b; in to_oblock() 30 static inline dm_block_t from_oblock(dm_oblock_t b) in from_oblock()
|
H A D | dm-cache-policy.h | 32 dm_oblock_t oblock; 57 int (*lookup)(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, 70 dm_oblock_t oblock, dm_cblock_t *cblock, 96 int (*load_mapping)(struct dm_cache_policy *p, dm_oblock_t oblock,
|
H A D | dm-cache-policy-internal.h | 16 static inline int policy_lookup(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, in policy_lookup() 23 dm_oblock_t oblock, dm_cblock_t *cblock, in policy_lookup_with_work() 59 dm_oblock_t oblock, dm_cblock_t cblock, in policy_load_mapping()
|
H A D | dm-cache-background-tracker.c | 77 static int cmp_oblock(dm_oblock_t lhs, dm_oblock_t rhs) in cmp_oblock() 118 dm_oblock_t oblock) in __find_pending() 252 dm_oblock_t oblock) in btracker_promotion_already_present()
|
H A D | dm-cache-metadata.h | 88 int dm_cache_insert_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock, dm_oblock_t oblock); 91 typedef int (*load_mapping_fn)(void *context, dm_oblock_t oblock,
|
H A D | dm-cache-background-tracker.h | 77 dm_oblock_t oblock);
|
H A D | dm-cache-target.c | 327 dm_oblock_t origin_blocks; 428 dm_oblock_t invalidate_oblock; 501 static inline dm_oblock_t oblock_succ(dm_oblock_t b) in oblock_succ() 506 static void build_key(dm_oblock_t begin, dm_oblock_t end, struct dm_cell_key_v2 *key) in build_key() 582 dm_oblock_t end = to_oblock(from_oblock(oblock) + 1ULL); in bio_detain_shared() 702 static bool is_discarded_oblock(struct cache *cache, dm_oblock_t b) in is_discarded_oblock() 756 dm_oblock_t oblock) in remap_to_origin_clear_discard() 766 dm_oblock_t oblock, dm_cblock_t cblock) in remap_to_cache_dirty() 829 dm_oblock_t oblock, dm_cblock_t cblock) in remap_to_origin_and_cache() 1560 dm_oblock_t oblock, struct bio *bio) in invalidate_start() [all …]
|
H A D | dm-cache-policy-smq.c | 49 dm_oblock_t oblock; 631 static struct entry *__h_lookup(struct smq_hash_table *ht, unsigned int h, dm_oblock_t oblock, in __h_lookup() 659 static struct entry *h_lookup(struct smq_hash_table *ht, dm_oblock_t oblock) in h_lookup() 1237 static void queue_promotion(struct smq_policy *mq, dm_oblock_t oblock, in queue_promotion() 1303 static dm_oblock_t to_hblock(struct smq_policy *mq, dm_oblock_t b) in to_hblock() 1310 static struct entry *update_hotspot_queue(struct smq_policy *mq, dm_oblock_t b) in update_hotspot_queue() 1313 dm_oblock_t hb = to_hblock(mq, b); in update_hotspot_queue() 1376 static int __lookup(struct smq_policy *mq, dm_oblock_t oblock, dm_cblock_t *cblock, in __lookup() 1411 static int smq_lookup(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, in smq_lookup() 1429 dm_oblock_t oblock, dm_cblock_t *cblock, in smq_lookup_with_work() [all …]
|
H A D | dm-cache-metadata.c | 734 static __le64 pack_value(dm_oblock_t block, unsigned int flags) in pack_value() 743 static void unpack_value(__le64 value_le, dm_oblock_t *block, unsigned int *flags) in unpack_value() 898 dm_oblock_t ob; in block_clean_combined_dirty() 1257 dm_cblock_t cblock, dm_oblock_t oblock) in __insert() 1274 dm_cblock_t cblock, dm_oblock_t oblock) in dm_cache_insert_mapping() 1348 dm_oblock_t oblock; in __load_mapping_v1() 1390 dm_oblock_t oblock; in __load_mapping_v2() 1522 dm_oblock_t oblock; in __dump_mapping() 1558 dm_oblock_t oblock; in __dirty()
|