Searched defs:prison (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-bio-prison-v2.c | 38 struct dm_bio_prison_v2 *prison = kzalloc(sizeof(*prison), GFP_KERNEL); in dm_bio_prison_create_v2() local 59 void dm_bio_prison_destroy_v2(struct dm_bio_prison_v2 *prison) in dm_bio_prison_destroy_v2() 66 struct dm_bio_prison_cell_v2 *dm_bio_prison_alloc_cell_v2(struct dm_bio_prison_v2 *prison, gfp_t gf… in dm_bio_prison_alloc_cell_v2() 72 void dm_bio_prison_free_cell_v2(struct dm_bio_prison_v2 *prison, in dm_bio_prison_free_cell_v2() 114 static bool __find_or_insert(struct dm_bio_prison_v2 *prison, in __find_or_insert() 149 static bool __get(struct dm_bio_prison_v2 *prison, in __get() 172 bool dm_cell_get_v2(struct dm_bio_prison_v2 *prison, in dm_cell_get_v2() 189 static bool __put(struct dm_bio_prison_v2 *prison, in __put() 211 bool dm_cell_put_v2(struct dm_bio_prison_v2 *prison, in dm_cell_put_v2() 225 static int __lock(struct dm_bio_prison_v2 *prison, in __lock() [all …]
|
D | dm-bio-prison-v1.c | 36 struct dm_bio_prison *prison = kzalloc(sizeof(*prison), GFP_KERNEL); in dm_bio_prison_create() local 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() [all …]
|
D | dm-cache-target.c | 443 struct dm_bio_prison_v2 *prison; member
|
D | dm-thin.c | 247 struct dm_bio_prison *prison; member
|