Lines Matching refs:prison
306 struct dm_bio_prison *prison; member
398 return dm_bio_prison_alloc_cell(cache->prison, GFP_NOWAIT); in alloc_prison_cell()
403 dm_bio_prison_free_cell(cache->prison, cell); in free_prison_cell()
537 r = dm_bio_detain(cache->prison, &key, bio, cell_prealloc, cell_result); in bio_detain_range()
566 r = dm_get_cell(cache->prison, &key, cell_prealloc, cell_result); in get_cell()
1082 dm_cell_release(cache->prison, cell, &cache->deferred_bios); in __cell_defer()
1092 if (!holder && dm_cell_promote_or_release(cache->prison, cell)) { in cell_defer()
1110 dm_cell_error(cache->prison, cell, err); in cell_error_with_code()
1715 dm_cell_visit_release(cache->prison, inc_fn, &detail, cell); in remap_cell_to_origin_clear_discard()
1749 dm_cell_visit_release(cache->prison, inc_fn, &detail, cell); in remap_cell_to_cache_dirty()
2322 if (cache->prison) in destroy()
2323 dm_bio_prison_destroy(cache->prison); in destroy()
2913 cache->prison = dm_bio_prison_create(); in cache_create()
2914 if (!cache->prison) { in cache_create()