Lines Matching full:cell
20 * where they can't cause any mischief. Bios are put in a cell identified
21 * by a key, multiple bios can be in the same cell. When the cell is
54 * Eventually all bio prison clients should manage their own cell memory.
62 struct dm_bio_prison_cell *cell);
65 * Creates, or retrieves a cell that overlaps the given key.
67 * Returns 1 if pre-existing cell returned, zero if new cell created using
76 * An atomic op that combines retrieving or creating a cell, and adding a
79 * Returns 1 if the cell was already held, 0 if @inmate is the new holder.
88 struct dm_bio_prison_cell *cell,
91 struct dm_bio_prison_cell *cell,
94 struct dm_bio_prison_cell *cell, blk_status_t error);
97 * Visits the cell and then releases. Guarantees no new inmates are
102 void *context, struct dm_bio_prison_cell *cell);
105 * Rather than always releasing the prisoners in a cell, the client may
107 * though between releasing an empty cell, and other threads adding new
111 * i) An inmate is promoted to be the holder of the cell (return value of 0).
112 * ii) The cell has no inmate for promotion and is released (return value of 1).
115 struct dm_bio_prison_cell *cell);