Lines Matching defs:cell
414 struct dm_bio_prison_cell_v2 *cell;
425 struct dm_bio_prison_cell_v2 *cell;
470 static void free_prison_cell(struct cache *cache, struct dm_bio_prison_cell_v2 *cell)
472 dm_bio_prison_free_cell_v2(cache->prison, cell);
548 pb->cell = NULL;
583 struct dm_bio_prison_cell_v2 *cell_prealloc, *cell;
588 r = dm_cell_get_v2(cache->prison, &key, lock_level(bio), bio, cell_prealloc, &cell);
597 if (cell != cell_prealloc)
601 pb->cell = cell;
1075 dm_cell_quiesce_v2(mg->cache->prison, mg->cell, &mg->k.ws);
1118 if (pb->cell && dm_cell_put_v2(cache->prison, pb->cell))
1119 free_prison_cell(cache, pb->cell);
1120 pb->cell = NULL;
1218 if (mg->cell) {
1219 if (dm_cell_unlock_v2(cache->prison, mg->cell, &bios))
1220 free_prison_cell(cache, mg->cell);
1327 r = dm_cell_lock_promote_v2(mg->cache->prison, mg->cell,
1410 prealloc, &mg->cell);
1417 if (mg->cell != prealloc)
1460 if (dm_cell_unlock_v2(cache->prison, mg->cell, &bios))
1461 free_prison_cell(cache, mg->cell);
1534 READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell);
1541 if (mg->cell != prealloc)