Lines Matching refs:prison
373 struct dm_bio_prison_v2 *prison; member
466 return dm_bio_prison_alloc_cell_v2(cache->prison, GFP_NOIO); in alloc_prison_cell()
471 dm_bio_prison_free_cell_v2(cache->prison, cell); in free_prison_cell()
584 r = dm_cell_get_v2(cache->prison, &key, lock_level(bio), bio, cell_prealloc, &cell); in bio_detain_shared()
1063 dm_cell_quiesce_v2(mg->cache->prison, mg->cell, &mg->k.ws); in quiesce()
1105 if (pb->cell && dm_cell_put_v2(cache->prison, pb->cell)) in bio_drop_shared_lock()
1206 if (dm_cell_unlock_v2(cache->prison, mg->cell, &bios)) in mg_complete()
1313 r = dm_cell_lock_promote_v2(mg->cache->prison, mg->cell, in mg_upgrade_lock()
1393 r = dm_cell_lock_v2(cache->prison, &key, in mg_lock_writes()
1443 if (dm_cell_unlock_v2(cache->prison, mg->cell, &bios)) in invalidate_complete()
1513 r = dm_cell_lock_v2(cache->prison, &key, in invalidate_lock()
1887 if (cache->prison) in destroy()
1888 dm_bio_prison_destroy_v2(cache->prison); in destroy()
2494 cache->prison = dm_bio_prison_create_v2(cache->wq); in cache_create()
2495 if (!cache->prison) { in cache_create()