Lines Matching refs:p
44 void (*destroy)(struct dm_cache_policy *p);
57 int (*lookup)(struct dm_cache_policy *p, dm_oblock_t oblock, dm_cblock_t *cblock,
69 int (*lookup_with_work)(struct dm_cache_policy *p,
78 int (*get_background_work)(struct dm_cache_policy *p, bool idle,
85 void (*complete_background_work)(struct dm_cache_policy *p,
89 void (*set_dirty)(struct dm_cache_policy *p, dm_cblock_t cblock);
90 void (*clear_dirty)(struct dm_cache_policy *p, dm_cblock_t cblock);
96 int (*load_mapping)(struct dm_cache_policy *p, dm_oblock_t oblock,
104 int (*invalidate_mapping)(struct dm_cache_policy *p, dm_cblock_t cblock);
110 uint32_t (*get_hint)(struct dm_cache_policy *p, dm_cblock_t cblock);
115 dm_cblock_t (*residency)(struct dm_cache_policy *p);
126 void (*tick)(struct dm_cache_policy *p, bool can_block);
131 int (*emit_config_values)(struct dm_cache_policy *p, char *result,
133 int (*set_config_value)(struct dm_cache_policy *p,
136 void (*allow_migrations)(struct dm_cache_policy *p, bool allow);