Home
last modified time | relevance | path

Searched defs:cblock (Results 1 – 5 of 5) sorted by relevance

/drivers/md/
Ddm-cache-policy-internal.h15 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()
47 static inline void policy_set_dirty(struct dm_cache_policy *p, dm_cblock_t cblock) in policy_set_dirty()
52 static inline void policy_clear_dirty(struct dm_cache_policy *p, dm_cblock_t cblock) in policy_clear_dirty()
58 dm_oblock_t oblock, dm_cblock_t cblock, in policy_load_mapping()
65 dm_cblock_t cblock) in policy_invalidate_mapping()
71 dm_cblock_t cblock) in policy_get_hint()
Ddm-cache-policy-smq.c1371 static int __lookup(struct smq_policy *mq, dm_oblock_t oblock, dm_cblock_t *cblock, in __lookup()
1406 static int smq_lookup(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, in smq_lookup()
1424 dm_oblock_t oblock, dm_cblock_t *cblock, in smq_lookup_with_work()
1523 static void __smq_set_clear_dirty(struct smq_policy *mq, dm_cblock_t cblock, bool set) in __smq_set_clear_dirty()
1536 static void smq_set_dirty(struct dm_cache_policy *p, dm_cblock_t cblock) in smq_set_dirty()
1546 static void smq_clear_dirty(struct dm_cache_policy *p, dm_cblock_t cblock) in smq_clear_dirty()
1556 static unsigned random_level(dm_cblock_t cblock) in random_level()
1562 dm_oblock_t oblock, dm_cblock_t cblock, in smq_load_mapping()
1583 static int smq_invalidate_mapping(struct dm_cache_policy *p, dm_cblock_t cblock) in smq_invalidate_mapping()
1598 static uint32_t smq_get_hint(struct dm_cache_policy *p, dm_cblock_t cblock) in smq_get_hint()
Ddm-cache-target.c609 static void set_dirty(struct cache *cache, dm_cblock_t cblock) in set_dirty()
621 static void force_set_dirty(struct cache *cache, dm_cblock_t cblock) in force_set_dirty()
628 static void force_clear_dirty(struct cache *cache, dm_cblock_t cblock) in force_clear_dirty()
717 dm_cblock_t cblock) in remap_to_cache()
765 dm_oblock_t oblock, dm_cblock_t cblock) in remap_to_cache_dirty()
827 dm_oblock_t oblock, dm_cblock_t cblock) in remap_to_origin_and_cache()
1169 dm_cblock_t cblock = op->cblock; in mg_complete() local
1469 static int invalidate_cblock(struct cache *cache, dm_cblock_t cblock) in invalidate_cblock()
1547 static int invalidate_start(struct cache *cache, dm_cblock_t cblock, in invalidate_start()
1604 dm_cblock_t cblock; in map_bio() local
[all …]
Ddm-cache-metadata.c1224 static int __remove(struct dm_cache_metadata *cmd, dm_cblock_t cblock) in __remove()
1239 int dm_cache_remove_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock) in dm_cache_remove_mapping()
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()
1512 static int __dump_mapping(void *context, uint64_t cblock, void *leaf) in __dump_mapping()
1548 static int __dirty(struct dm_cache_metadata *cmd, dm_cblock_t cblock, bool dirty) in __dirty()
Ddm-cache-policy.h32 dm_cblock_t cblock; member