H A D | raid1.c | 57 static int check_and_add_serial(struct md_rdev *rdev, struct r1bio *r1_bio, argument 62 sector_t lo = r1_bio->sector; 63 sector_t hi = lo + r1_bio->sectors; 80 static void wait_for_serialization(struct md_rdev *rdev, struct r1bio *r1_bio) argument 84 int idx = sector_to_idx(r1_bio->sector); 91 check_and_add_serial(rdev, r1_bio, si, idx) == 0); 147 struct r1bio *r1_bio; local 153 r1_bio = r1bio_pool_alloc(gfp_flags, pi); 154 if (!r1_bio) 170 r1_bio 239 put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) argument 251 free_r1bio(struct r1bio *r1_bio) argument 259 put_buf(struct r1bio *r1_bio) argument 276 reschedule_retry(struct r1bio *r1_bio) argument 298 call_bio_endio(struct r1bio *r1_bio) argument 308 raid_end_bio_io(struct r1bio *r1_bio) argument 335 update_head_pos(int disk, struct r1bio *r1_bio) argument 346 find_bio_disk(struct r1bio *r1_bio, struct bio *bio) argument 365 struct r1bio *r1_bio = bio->bi_private; local 412 close_write(struct r1bio *r1_bio) argument 428 r1_bio_write_done(struct r1bio *r1_bio) argument 446 struct r1bio *r1_bio = bio->bi_private; local 590 choose_first_rdev(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) argument 620 choose_bb_rdev(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) argument 658 choose_slow_rdev(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) argument 705 is_sequential(struct r1conf *conf, int disk, struct r1bio *r1_bio) argument 730 rdev_readable(struct md_rdev *rdev, struct r1bio *r1_bio) argument 760 choose_best_rdev(struct r1conf *conf, struct r1bio *r1_bio) argument 856 read_balance(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) argument 1213 alloc_behind_master_bio(struct r1bio *r1_bio, struct bio *bio) argument 1285 init_r1bio(struct r1bio *r1_bio, struct mddev *mddev, struct bio *bio) argument 1298 struct r1bio *r1_bio; local 1307 raid1_read_request(struct mddev *mddev, struct bio *bio, int max_read_sectors, struct r1bio *r1_bio) argument 1426 struct r1bio *r1_bio; local 2018 struct r1bio *r1_bio = get_resync_r1bio(bio); local 2034 abort_sync_write(struct mddev *mddev, struct r1bio *r1_bio) argument 2048 put_sync_write_buf(struct r1bio *r1_bio, int uptodate) argument 2067 struct r1bio *r1_bio = get_resync_r1bio(bio); local 2107 fix_sync_read_error(struct r1bio *r1_bio) argument 2238 process_checks(struct r1bio *r1_bio) argument 2324 sync_request_write(struct mddev *mddev, struct r1bio *r1_bio) argument 2377 fix_read_error(struct r1conf *conf, struct r1bio *r1_bio) argument 2468 narrow_write_error(struct r1bio *r1_bio, int i) argument 2537 handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio) argument 2560 handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio) argument 2606 handle_read_error(struct r1conf *conf, struct r1bio *r1_bio) argument 2652 struct r1bio *r1_bio; local 2763 struct r1bio *r1_bio; local [all...] |