• Home
  • Raw
  • Download

Lines Matching refs:cell

68 			     struct dm_bio_prison_cell *cell)  in dm_bio_prison_free_cell()  argument
70 mempool_free(cell, prison->cell_pool); in dm_bio_prison_free_cell()
76 struct dm_bio_prison_cell *cell) in __setup_new_cell() argument
78 memcpy(&cell->key, key, sizeof(cell->key)); in __setup_new_cell()
79 cell->holder = holder; in __setup_new_cell()
80 bio_list_init(&cell->bios); in __setup_new_cell()
117 struct dm_bio_prison_cell *cell = in __bio_detain() local
120 r = cmp_keys(key, &cell->key); in __bio_detain()
129 bio_list_add(&cell->bios, inmate); in __bio_detain()
130 *cell_result = cell; in __bio_detain()
183 struct dm_bio_prison_cell *cell, in __cell_release() argument
186 rb_erase(&cell->node, &prison->cells); in __cell_release()
189 if (cell->holder) in __cell_release()
190 bio_list_add(inmates, cell->holder); in __cell_release()
191 bio_list_merge(inmates, &cell->bios); in __cell_release()
196 struct dm_bio_prison_cell *cell, in dm_cell_release() argument
202 __cell_release(prison, cell, bios); in dm_cell_release()
211 struct dm_bio_prison_cell *cell, in __cell_release_no_holder() argument
214 rb_erase(&cell->node, &prison->cells); in __cell_release_no_holder()
215 bio_list_merge(inmates, &cell->bios); in __cell_release_no_holder()
219 struct dm_bio_prison_cell *cell, in dm_cell_release_no_holder() argument
225 __cell_release_no_holder(prison, cell, inmates); in dm_cell_release_no_holder()
231 struct dm_bio_prison_cell *cell, int error) in dm_cell_error() argument
237 dm_cell_release(prison, cell, &bios); in dm_cell_error()
249 struct dm_bio_prison_cell *cell) in dm_cell_visit_release() argument
254 visit_fn(context, cell); in dm_cell_visit_release()
255 rb_erase(&cell->node, &prison->cells); in dm_cell_visit_release()
261 struct dm_bio_prison_cell *cell) in __promote_or_release() argument
263 if (bio_list_empty(&cell->bios)) { in __promote_or_release()
264 rb_erase(&cell->node, &prison->cells); in __promote_or_release()
268 cell->holder = bio_list_pop(&cell->bios); in __promote_or_release()
273 struct dm_bio_prison_cell *cell) in dm_cell_promote_or_release() argument
279 r = __promote_or_release(prison, cell); in dm_cell_promote_or_release()