Lines Matching +full:cell +full:- +full:count
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2011-2017 Red Hat, Inc.
11 #include "persistent-data/dm-block-manager.h" /* FIXME: for dm_block_t */
12 #include "dm-thin-metadata.h" /* FIXME: for dm_thin_id */
18 /*----------------------------------------------------------------*/
25 * where they can't cause any mischief. Bios are put in a cell identified
26 * by a key, multiple bios can be in the same cell. When the cell is
62 * Eventually all bio prison clients should manage their own cell memory.
70 struct dm_bio_prison_cell_v2 *cell);
76 * call dm_cell_put_v2() to drop the reference count when finished using it.
79 * cell, and later given to the holder of the exclusive lock.
96 * Decrement the shared reference count for the lock. Returns true if
97 * returning ownership of the cell (ie. you should free it).
100 struct dm_bio_prison_cell_v2 *cell);
103 * Locks a cell. No associated bio. Exclusive locks get priority. These
109 * If an _exclusive_ lock is already held then -EBUSY is returned.
112 * < 0 - error
113 * 0 - locked; no quiescing needed
114 * 1 - locked; quiescing needed
123 struct dm_bio_prison_cell_v2 *cell,
130 * < 0 - error
131 * 0 - promoted; no quiescing needed
132 * 1 - promoted; quiescing needed
135 struct dm_bio_prison_cell_v2 *cell,
144 * Returns true if returning ownership of the cell (ie. you should free
148 struct dm_bio_prison_cell_v2 *cell,
151 /*----------------------------------------------------------------*/