D | dm-cache-policy.h | 40 struct dm_cache_policy { struct 44 void (*destroy)(struct dm_cache_policy *p); argument 57 int (*lookup)(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock, argument 69 int (*lookup_with_work)(struct dm_cache_policy *p, argument 78 int (*get_background_work)(struct dm_cache_policy *p, bool idle, argument 85 void (*complete_background_work)(struct dm_cache_policy *p, argument 89 void (*set_dirty)(struct dm_cache_policy *p, dm_cblock_t cblock); argument 90 void (*clear_dirty)(struct dm_cache_policy *p, dm_cblock_t cblock); argument 96 int (*load_mapping)(struct dm_cache_policy *p, dm_oblock_t oblock, argument 104 int (*invalidate_mapping)(struct dm_cache_policy *p, dm_cblock_t cblock); argument [all …]
|