Lines Matching defs:prison
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()
256 int dm_cell_lock_v2(struct dm_bio_prison_v2 *prison, in dm_cell_lock_v2()
272 static void __quiesce(struct dm_bio_prison_v2 *prison, in __quiesce()
282 void dm_cell_quiesce_v2(struct dm_bio_prison_v2 *prison, in dm_cell_quiesce_v2()
292 static int __promote(struct dm_bio_prison_v2 *prison, in __promote()
303 int dm_cell_lock_promote_v2(struct dm_bio_prison_v2 *prison, in dm_cell_lock_promote_v2()
317 static bool __unlock(struct dm_bio_prison_v2 *prison, in __unlock()
335 bool dm_cell_unlock_v2(struct dm_bio_prison_v2 *prison, in dm_cell_unlock_v2()