Home
last modified time | relevance | path

Searched defs:prison (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/md/
Ddm-bio-prison-v2.c39 struct dm_bio_prison_v2 *prison = kzalloc(sizeof(*prison), GFP_KERNEL); in dm_bio_prison_create_v2() local
60 void dm_bio_prison_destroy_v2(struct dm_bio_prison_v2 *prison) in dm_bio_prison_destroy_v2()
67 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()
73 void dm_bio_prison_free_cell_v2(struct dm_bio_prison_v2 *prison, in dm_bio_prison_free_cell_v2()
115 static bool __find_or_insert(struct dm_bio_prison_v2 *prison, in __find_or_insert()
150 static bool __get(struct dm_bio_prison_v2 *prison, in __get()
173 bool dm_cell_get_v2(struct dm_bio_prison_v2 *prison, in dm_cell_get_v2()
190 static bool __put(struct dm_bio_prison_v2 *prison, in __put()
212 bool dm_cell_put_v2(struct dm_bio_prison_v2 *prison, in dm_cell_put_v2()
226 static int __lock(struct dm_bio_prison_v2 *prison, in __lock()
[all …]
Ddm-bio-prison-v1.c44 struct dm_bio_prison *prison; in dm_bio_prison_create() local
67 void dm_bio_prison_destroy(struct dm_bio_prison *prison) in dm_bio_prison_destroy()
74 struct dm_bio_prison_cell *dm_bio_prison_alloc_cell(struct dm_bio_prison *prison, gfp_t gfp) in dm_bio_prison_alloc_cell()
80 void dm_bio_prison_free_cell(struct dm_bio_prison *prison, in dm_bio_prison_free_cell()
175 static int bio_detain(struct dm_bio_prison *prison, in bio_detain()
191 int dm_bio_detain(struct dm_bio_prison *prison, in dm_bio_detain()
201 int dm_get_cell(struct dm_bio_prison *prison, in dm_get_cell()
226 void dm_cell_release(struct dm_bio_prison *prison, in dm_cell_release()
249 void dm_cell_release_no_holder(struct dm_bio_prison *prison, in dm_cell_release_no_holder()
262 void dm_cell_error(struct dm_bio_prison *prison, in dm_cell_error()
[all …]
Ddm-cache-target.c374 struct dm_bio_prison_v2 *prison; member
Ddm-thin.c250 struct dm_bio_prison *prison; member