Lines Matching refs:pcache

34 	struct dm_pcache *pcache = CACHE_TO_PCACHE(cache);  in cache_info_init()  local
47 pcache_dev_err(pcache, "invalid option for data_crc: %s, expected: %s", in cache_info_init()
134 static int cache_init(struct dm_pcache *pcache) in cache_init() argument
136 struct pcache_cache *cache = &pcache->cache; in cache_init()
137 struct pcache_backing_dev *backing_dev = &pcache->backing_dev; in cache_init()
138 struct pcache_cache_dev *cache_dev = &pcache->cache_dev; in cache_init()
155 cache->cache_dev = &pcache->cache_dev; in cache_init()
195 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_tail_init() local
210 pcache_dev_err(pcache, "Corrupted key tail or dirty tail.\n"); in cache_tail_init()
222 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in get_seg_id() local
229 pcache_dev_err(pcache, "no available segment\n"); in get_seg_id()
283 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_init_req_keys() local
333 pcache_dev_err(pcache, "failed to replay keys\n"); in cache_init_req_keys()
364 int pcache_cache_start(struct dm_pcache *pcache) in pcache_cache_start() argument
366 struct pcache_backing_dev *backing_dev = &pcache->backing_dev; in pcache_cache_start()
367 struct pcache_cache *cache = &pcache->cache; in pcache_cache_start()
368 struct pcache_cache_options *opts = &pcache->opts; in pcache_cache_start()
371 ret = cache_init(pcache); in pcache_cache_start()
414 void pcache_cache_stop(struct dm_pcache *pcache) in pcache_cache_stop() argument
416 struct pcache_cache *cache = &pcache->cache; in pcache_cache_stop()
432 struct dm_pcache *pcache = CACHE_TO_PCACHE(cache); in cache_get_wq() local
434 return pcache->task_wq; in cache_get_wq()