Home
last modified time | relevance | path

Searched refs:dm_bio_prison_v2 (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
Ddm-bio-prison-v2.h28 struct dm_bio_prison_v2;
56 struct dm_bio_prison_v2 *dm_bio_prison_create_v2(struct workqueue_struct *wq);
57 void dm_bio_prison_destroy_v2(struct dm_bio_prison_v2 *prison);
66 struct dm_bio_prison_cell_v2 *dm_bio_prison_alloc_cell_v2(struct dm_bio_prison_v2 *prison,
68 void dm_bio_prison_free_cell_v2(struct dm_bio_prison_v2 *prison,
87 bool dm_cell_get_v2(struct dm_bio_prison_v2 *prison,
98 bool dm_cell_put_v2(struct dm_bio_prison_v2 *prison,
115 int dm_cell_lock_v2(struct dm_bio_prison_v2 *prison,
121 void dm_cell_quiesce_v2(struct dm_bio_prison_v2 *prison,
133 int dm_cell_lock_promote_v2(struct dm_bio_prison_v2 *prison,
[all …]
Ddm-bio-prison-v2.c20 struct dm_bio_prison_v2 { struct
36 struct dm_bio_prison_v2 *dm_bio_prison_create_v2(struct workqueue_struct *wq) in dm_bio_prison_create_v2() argument
38 struct dm_bio_prison_v2 *prison = kzalloc(sizeof(*prison), GFP_KERNEL); in dm_bio_prison_create_v2()
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()
[all …]
Ddm-cache-target.c443 struct dm_bio_prison_v2 *prison;