Searched refs:dm_pcache (Results 1 – 13 of 13) sorted by relevance
| /linux/drivers/md/dm-pcache/ |
| H A D | dm_pcache.c | 12 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 D | dm_pcache.h | 8 #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 D | cache.c | 34 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 D | cache_dev.h | 62 struct dm_pcache; 63 int cache_dev_start(struct dm_pcache *pcache); 64 void cache_dev_stop(struct dm_pcache *pcache);
|
| H A D | cache_dev.c | 66 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 D | backing_dev.h | 63 struct dm_pcache; 64 int backing_dev_start(struct dm_pcache *pcache); 65 void backing_dev_stop(struct dm_pcache *pcache);
|
| H A D | cache_gc.c | 23 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 D | cache_writeback.c | 42 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 D | Makefile | 1 dm-pcache-y := dm_pcache.o cache_dev.o segment.o backing_dev.o cache.o cache_gc.o cache_writeback.o…
|
| H A D | backing_dev.c | 22 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 D | cache.h | 203 struct dm_pcache; 208 int pcache_cache_start(struct dm_pcache *pcache); 209 void pcache_cache_stop(struct dm_pcache *pcache);
|
| H A D | cache_segment.c | 41 struct dm_pcache *pcache = CACHE_DEV_TO_PCACHE(cache_dev); in cache_seg_info_load()
|
| H A D | cache_key.c | 92 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_key_decode() 753 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_replay()
|