Searched refs:r1_bio (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() argument64 sector_t lo = r1_bio->sector; in check_and_add_serial()65 sector_t hi = lo + r1_bio->sectors; in check_and_add_serial()82 static void wait_for_serialization(struct md_rdev *rdev, struct r1bio *r1_bio) in wait_for_serialization() argument86 int idx = sector_to_idx(r1_bio->sector); in wait_for_serialization()93 check_and_add_serial(rdev, r1_bio, si, idx) == 0); in wait_for_serialization()149 struct r1bio *r1_bio; in r1buf_pool_alloc() local155 r1_bio = r1bio_pool_alloc(gfp_flags, pi); in r1buf_pool_alloc()156 if (!r1_bio) in r1buf_pool_alloc()172 r1_bio->bios[j] = bio; in r1buf_pool_alloc()[all …]