Searched refs:r1_bio (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid1.c | 59 static int check_and_add_serial(struct md_rdev *rdev, struct r1bio *r1_bio, in check_and_add_serial() argument 64 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() argument 86 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() local 155 r1_bio = r1bio_pool_alloc(gfp_flags, pi); in r1buf_pool_alloc() 156 if (!r1_bio) in r1buf_pool_alloc() 172 r1_bio in r1buf_pool_alloc() 241 put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) put_all_bios() argument 253 free_r1bio(struct r1bio *r1_bio) free_r1bio() argument 261 put_buf(struct r1bio *r1_bio) put_buf() argument 278 reschedule_retry(struct r1bio *r1_bio) reschedule_retry() argument 300 call_bio_endio(struct r1bio *r1_bio) call_bio_endio() argument 310 raid_end_bio_io(struct r1bio *r1_bio) raid_end_bio_io() argument 337 update_head_pos(int disk, struct r1bio *r1_bio) update_head_pos() argument 348 find_bio_disk(struct r1bio *r1_bio, struct bio *bio) find_bio_disk() argument 367 struct r1bio *r1_bio = bio->bi_private; raid1_end_read_request() local 414 close_write(struct r1bio *r1_bio) close_write() argument 430 r1_bio_write_done(struct r1bio *r1_bio) r1_bio_write_done() argument 448 struct r1bio *r1_bio = bio->bi_private; raid1_end_write_request() local 598 read_balance(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) read_balance() argument 1119 alloc_behind_master_bio(struct r1bio *r1_bio, struct bio *bio) alloc_behind_master_bio() argument 1193 init_r1bio(struct r1bio *r1_bio, struct mddev *mddev, struct bio *bio) init_r1bio() argument 1206 struct r1bio *r1_bio; alloc_r1bio() local 1215 raid1_read_request(struct mddev *mddev, struct bio *bio, int max_read_sectors, struct r1bio *r1_bio) raid1_read_request() argument 1340 struct r1bio *r1_bio; raid1_write_request() local 1910 struct r1bio *r1_bio = get_resync_r1bio(bio); end_sync_read() local 1926 abort_sync_write(struct mddev *mddev, struct r1bio *r1_bio) abort_sync_write() argument 1940 put_sync_write_buf(struct r1bio *r1_bio, int uptodate) put_sync_write_buf() argument 1959 struct r1bio *r1_bio = get_resync_r1bio(bio); end_sync_write() local 2004 fix_sync_read_error(struct r1bio *r1_bio) fix_sync_read_error() argument 2135 process_checks(struct r1bio *r1_bio) process_checks() argument 2221 sync_request_write(struct mddev *mddev, struct r1bio *r1_bio) sync_request_write() argument 2369 narrow_write_error(struct r1bio *r1_bio, int i) narrow_write_error() argument 2438 handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio) handle_sync_write_finished() argument 2461 handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio) handle_write_finished() argument 2507 handle_read_error(struct r1conf *conf, struct r1bio *r1_bio) handle_read_error() argument 2554 struct r1bio *r1_bio; raid1d() local 2665 struct r1bio *r1_bio; raid1_sync_request() local [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid1.c | 59 static int check_and_add_serial(struct md_rdev *rdev, struct r1bio *r1_bio, in check_and_add_serial() argument 64 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() argument 86 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() local 155 r1_bio = r1bio_pool_alloc(gfp_flags, pi); in r1buf_pool_alloc() 156 if (!r1_bio) in r1buf_pool_alloc() 171 r1_bio in r1buf_pool_alloc() 237 put_all_bios(struct r1conf *conf, struct r1bio *r1_bio) put_all_bios() argument 249 free_r1bio(struct r1bio *r1_bio) free_r1bio() argument 257 put_buf(struct r1bio *r1_bio) put_buf() argument 274 reschedule_retry(struct r1bio *r1_bio) reschedule_retry() argument 296 call_bio_endio(struct r1bio *r1_bio) call_bio_endio() argument 306 raid_end_bio_io(struct r1bio *r1_bio) raid_end_bio_io() argument 332 update_head_pos(int disk, struct r1bio *r1_bio) update_head_pos() argument 343 find_bio_disk(struct r1bio *r1_bio, struct bio *bio) find_bio_disk() argument 362 struct r1bio *r1_bio = bio->bi_private; raid1_end_read_request() local 410 close_write(struct r1bio *r1_bio) close_write() argument 426 r1_bio_write_done(struct r1bio *r1_bio) r1_bio_write_done() argument 444 struct r1bio *r1_bio = bio->bi_private; raid1_end_write_request() local 594 read_balance(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) read_balance() argument 1099 alloc_behind_master_bio(struct r1bio *r1_bio, struct bio *bio) alloc_behind_master_bio() argument 1178 init_r1bio(struct r1bio *r1_bio, struct mddev *mddev, struct bio *bio) init_r1bio() argument 1191 struct r1bio *r1_bio; alloc_r1bio() local 1200 raid1_read_request(struct mddev *mddev, struct bio *bio, int max_read_sectors, struct r1bio *r1_bio) raid1_read_request() argument 1318 struct r1bio *r1_bio; raid1_write_request() local 1864 struct r1bio *r1_bio = get_resync_r1bio(bio); end_sync_read() local 1880 abort_sync_write(struct mddev *mddev, struct r1bio *r1_bio) abort_sync_write() argument 1894 put_sync_write_buf(struct r1bio *r1_bio, int uptodate) put_sync_write_buf() argument 1913 struct r1bio *r1_bio = get_resync_r1bio(bio); end_sync_write() local 1958 fix_sync_read_error(struct r1bio *r1_bio) fix_sync_read_error() argument 2090 process_checks(struct r1bio *r1_bio) process_checks() argument 2177 sync_request_write(struct mddev *mddev, struct r1bio *r1_bio) sync_request_write() argument 2326 narrow_write_error(struct r1bio *r1_bio, int i) narrow_write_error() argument 2396 handle_sync_write_finished(struct r1conf *conf, struct r1bio *r1_bio) handle_sync_write_finished() argument 2419 handle_write_finished(struct r1conf *conf, struct r1bio *r1_bio) handle_write_finished() argument 2465 handle_read_error(struct r1conf *conf, struct r1bio *r1_bio) handle_read_error() argument 2510 struct r1bio *r1_bio; raid1d() local 2621 struct r1bio *r1_bio; raid1_sync_request() local [all...] |
Completed in 5 milliseconds