Lines Matching refs:cblock
16 static inline int policy_lookup(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, in policy_lookup() argument
19 return p->lookup(p, oblock, cblock, data_dir, fast_copy, background_queued); in policy_lookup()
23 dm_oblock_t oblock, dm_cblock_t *cblock, in policy_lookup_with_work() argument
29 return p->lookup(p, oblock, cblock, data_dir, fast_copy, NULL); in policy_lookup_with_work()
32 return p->lookup_with_work(p, oblock, cblock, data_dir, fast_copy, work); in policy_lookup_with_work()
48 static inline void policy_set_dirty(struct dm_cache_policy *p, dm_cblock_t cblock) in policy_set_dirty() argument
50 p->set_dirty(p, cblock); in policy_set_dirty()
53 static inline void policy_clear_dirty(struct dm_cache_policy *p, dm_cblock_t cblock) in policy_clear_dirty() argument
55 p->clear_dirty(p, cblock); in policy_clear_dirty()
59 dm_oblock_t oblock, dm_cblock_t cblock, in policy_load_mapping() argument
62 return p->load_mapping(p, oblock, cblock, dirty, hint, hint_valid); in policy_load_mapping()
66 dm_cblock_t cblock) in policy_invalidate_mapping() argument
68 return p->invalidate_mapping(p, cblock); in policy_invalidate_mapping()
72 dm_cblock_t cblock) in policy_get_hint() argument
74 return p->get_hint ? p->get_hint(p, cblock) : 0; in policy_get_hint()