Lines Matching defs:cell
483 struct dm_bio_prison_cell_v2 *cell;
494 struct dm_bio_prison_cell_v2 *cell;
539 static void free_prison_cell(struct cache *cache, struct dm_bio_prison_cell_v2 *cell)
541 dm_bio_prison_free_cell_v2(cache->prison, cell);
614 pb->cell = NULL;
649 struct dm_bio_prison_cell_v2 *cell_prealloc, *cell;
654 r = dm_cell_get_v2(cache->prison, &key, lock_level(bio), bio, cell_prealloc, &cell);
663 if (cell != cell_prealloc)
667 pb->cell = cell;
1141 dm_cell_quiesce_v2(mg->cache->prison, mg->cell, &mg->k.ws);
1183 if (pb->cell && dm_cell_put_v2(cache->prison, pb->cell))
1184 free_prison_cell(cache, pb->cell);
1185 pb->cell = NULL;
1283 if (mg->cell) {
1284 if (dm_cell_unlock_v2(cache->prison, mg->cell, &bios))
1285 free_prison_cell(cache, mg->cell);
1391 r = dm_cell_lock_promote_v2(mg->cache->prison, mg->cell,
1473 prealloc, &mg->cell);
1480 if (mg->cell != prealloc)
1521 if (dm_cell_unlock_v2(cache->prison, mg->cell, &bios))
1522 free_prison_cell(cache, mg->cell);
1592 READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell);
1599 if (mg->cell != prealloc)