Searched refs:r1bio (Results 1 – 1 of 1) sorted by relevance
59 static int check_and_add_serial(struct md_rdev *rdev, struct r1bio *r1_bio, in check_and_add_serial()90 static void wait_for_serialization(struct md_rdev *rdev, struct r1bio *r1_bio) in wait_for_serialization()148 static inline struct r1bio *get_resync_r1bio(struct bio *bio) in get_resync_r1bio()155 int size = offsetof(struct r1bio, bios[conf->raid_disks * 2]); in r1bio_pool_alloc()171 struct r1bio *r1_bio; in r1buf_pool_alloc()246 struct r1bio *r1bio = __r1_bio; in r1buf_pool_free() local250 rp = get_resync_pages(r1bio->bios[i]); in r1buf_pool_free()252 bio_uninit(r1bio->bios[i]); in r1buf_pool_free()253 kfree(r1bio->bios[i]); in r1buf_pool_free()259 rbio_pool_free(r1bio, data); in r1buf_pool_free()[all …]