D | dm-cache-policy.h | 39 struct dm_cache_policy { struct 43 void (*destroy)(struct dm_cache_policy *p); argument 56 int (*lookup)(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, argument 68 int (*lookup_with_work)(struct dm_cache_policy *p, argument 77 int (*get_background_work)(struct dm_cache_policy *p, bool idle, argument 84 void (*complete_background_work)(struct dm_cache_policy *p, argument 88 void (*set_dirty)(struct dm_cache_policy *p, dm_cblock_t cblock); argument 89 void (*clear_dirty)(struct dm_cache_policy *p, dm_cblock_t cblock); argument 95 int (*load_mapping)(struct dm_cache_policy *p, dm_oblock_t oblock, argument 103 int (*invalidate_mapping)(struct dm_cache_policy *p, dm_cblock_t cblock); argument [all …]
|