Home
last modified time | relevance | path

Searched refs:dm_pcache (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/md/dm-pcache/
H A Ddm_pcache.c12 void pcache_defer_reqs_kick(struct dm_pcache *pcache) in pcache_defer_reqs_kick()
24 struct dm_pcache *pcache = pcache_req->pcache; in defer_req()
36 struct dm_pcache *pcache = container_of(work, struct dm_pcache, defered_req_work); in defered_req_fn()
69 struct dm_pcache *pcache = pcache_req->pcache; in end_req()
104 static int parse_cache_dev(struct dm_pcache *pcache, struct dm_arg_set *as, in parse_cache_dev()
122 static int parse_backing_dev(struct dm_pcache *pcache, struct dm_arg_set *as, in parse_backing_dev()
147 static int parse_cache_opts(struct dm_pcache *pcache, struct dm_arg_set *as, in parse_cache_opts()
199 static int pcache_start(struct dm_pcache *pcache, char **error) in pcache_start()
230 static void pcache_destroy_args(struct dm_pcache *pcache) in pcache_destroy_args()
238 static int pcache_parse_args(struct dm_pcache *pcache, unsigned int argc, char **argv, in pcache_parse_args()
[all …]
H A Ddm_pcache.h8 #define CACHE_DEV_TO_PCACHE(cache_dev) (container_of(cache_dev, struct dm_pcache, cache_dev))
9 #define BACKING_DEV_TO_PCACHE(backing_dev) (container_of(backing_dev, struct dm_pcache, backing_dev…
10 #define CACHE_TO_PCACHE(cache) (container_of(cache, struct dm_pcache, cache))
19 struct dm_pcache { struct
37 static inline bool pcache_is_stopping(struct dm_pcache *pcache) in pcache_is_stopping() argument
50 struct dm_pcache *pcache;
65 void pcache_defer_reqs_kick(struct dm_pcache *pcache);
H A Dcache.c34 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_info_init()
134 static int cache_init(struct dm_pcache *pcache) in cache_init()
195 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_tail_init()
222 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in get_seg_id()
283 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_init_req_keys()
364 int pcache_cache_start(struct dm_pcache *pcache) in pcache_cache_start()
414 void pcache_cache_stop(struct dm_pcache *pcache) in pcache_cache_stop()
432 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_get_wq()
H A Dcache_dev.h62 struct dm_pcache;
63 int cache_dev_start(struct dm_pcache *pcache);
64 void cache_dev_stop(struct dm_pcache *pcache);
H A Dcache_dev.c66 struct dm_pcache *pcache = CACHE_DEV_TO_PCACHE(cache_dev); in cache_dev_dax_init()
150 struct dm_pcache *pcache = CACHE_DEV_TO_PCACHE(cache_dev); in sb_init()
186 struct dm_pcache *pcache = CACHE_DEV_TO_PCACHE(cache_dev); in sb_validate()
232 void cache_dev_stop(struct dm_pcache *pcache) in cache_dev_stop()
240 int cache_dev_start(struct dm_pcache *pcache) in cache_dev_start()
H A Dbacking_dev.h63 struct dm_pcache;
64 int backing_dev_start(struct dm_pcache *pcache);
65 void backing_dev_stop(struct dm_pcache *pcache);
H A Dcache_gc.c23 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in need_gc()
79 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in last_kset_gc()
102 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in pcache_cache_gc_fn()
H A Dcache_writeback.c42 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in is_cache_clean()
202 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in last_kset_writeback()
219 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_writeback_fn()
H A DMakefile1 dm-pcache-y := dm_pcache.o cache_dev.o segment.o backing_dev.o cache.o cache_gc.o cache_writeback.o…
H A Dbacking_dev.c22 static int backing_dev_init(struct dm_pcache *pcache) in backing_dev_init()
52 int backing_dev_start(struct dm_pcache *pcache) in backing_dev_start()
66 void backing_dev_stop(struct dm_pcache *pcache) in backing_dev_stop()
H A Dcache.h203 struct dm_pcache;
208 int pcache_cache_start(struct dm_pcache *pcache);
209 void pcache_cache_stop(struct dm_pcache *pcache);
H A Dcache_segment.c41 struct dm_pcache *pcache = CACHE_DEV_TO_PCACHE(cache_dev); in cache_seg_info_load()
H A Dcache_key.c92 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_key_decode()
753 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_replay()