Lines Matching refs:prealloc
1492 struct dm_bio_prison_cell_v2 *prealloc; in mg_lock_writes() local
1494 prealloc = alloc_prison_cell(cache); in mg_lock_writes()
1495 if (!prealloc) { in mg_lock_writes()
1509 prealloc, &mg->cell); in mg_lock_writes()
1511 free_prison_cell(cache, prealloc); in mg_lock_writes()
1516 if (mg->cell != prealloc) in mg_lock_writes()
1517 free_prison_cell(cache, prealloc); in mg_lock_writes()
1627 struct dm_bio_prison_cell_v2 *prealloc; in invalidate_lock() local
1629 prealloc = alloc_prison_cell(cache); in invalidate_lock()
1630 if (!prealloc) { in invalidate_lock()
1637 READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell); in invalidate_lock()
1639 free_prison_cell(cache, prealloc); in invalidate_lock()
1644 if (mg->cell != prealloc) in invalidate_lock()
1645 free_prison_cell(cache, prealloc); in invalidate_lock()