Searched refs:dm_bio_prison (Results 1 – 3 of 3) sorted by relevance
/drivers/md/ |
D | dm-bio-prison-v1.h | 24 struct dm_bio_prison; 49 struct dm_bio_prison *dm_bio_prison_create(void); 50 void dm_bio_prison_destroy(struct dm_bio_prison *prison); 59 struct dm_bio_prison_cell *dm_bio_prison_alloc_cell(struct dm_bio_prison *prison, 61 void dm_bio_prison_free_cell(struct dm_bio_prison *prison, 70 int dm_get_cell(struct dm_bio_prison *prison, 81 int dm_bio_detain(struct dm_bio_prison *prison, 87 void dm_cell_release(struct dm_bio_prison *prison, 90 void dm_cell_release_no_holder(struct dm_bio_prison *prison, 93 void dm_cell_error(struct dm_bio_prison *prison, [all …]
|
D | dm-bio-prison-v1.c | 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() [all …]
|
D | dm-thin.c | 247 struct dm_bio_prison *prison;
|