Lines Matching refs:dm_bio_prison
20 struct dm_bio_prison { struct
34 struct dm_bio_prison *dm_bio_prison_create(void) in dm_bio_prison_create() argument
36 struct dm_bio_prison *prison = kzalloc(sizeof(*prison), GFP_KERNEL); in dm_bio_prison_create()
56 void dm_bio_prison_destroy(struct dm_bio_prison *prison) in dm_bio_prison_destroy()
63 struct dm_bio_prison_cell *dm_bio_prison_alloc_cell(struct dm_bio_prison *prison, gfp_t gfp) in dm_bio_prison_alloc_cell()
69 void dm_bio_prison_free_cell(struct dm_bio_prison *prison, in dm_bio_prison_free_cell()
109 static int __bio_detain(struct dm_bio_prison *prison, in __bio_detain()
146 static int bio_detain(struct dm_bio_prison *prison, in bio_detain()
161 int dm_bio_detain(struct dm_bio_prison *prison, in dm_bio_detain()
171 int dm_get_cell(struct dm_bio_prison *prison, in dm_get_cell()
183 static void __cell_release(struct dm_bio_prison *prison, in __cell_release()
196 void dm_cell_release(struct dm_bio_prison *prison, in dm_cell_release()
209 static void __cell_release_no_holder(struct dm_bio_prison *prison, in __cell_release_no_holder()
217 void dm_cell_release_no_holder(struct dm_bio_prison *prison, in dm_cell_release_no_holder()
229 void dm_cell_error(struct dm_bio_prison *prison, in dm_cell_error()
245 void dm_cell_visit_release(struct dm_bio_prison *prison, in dm_cell_visit_release()
257 static int __promote_or_release(struct dm_bio_prison *prison, in __promote_or_release()
269 int dm_cell_promote_or_release(struct dm_bio_prison *prison, in dm_cell_promote_or_release()