Searched refs:rbio (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | raid56.c | 66 static int __raid56_parity_recover(struct btrfs_raid_bio *rbio); 67 static noinline void finish_rmw(struct btrfs_raid_bio *rbio); 70 static int fail_bio_stripe(struct btrfs_raid_bio *rbio, struct bio *bio); 71 static int fail_rbio_index(struct btrfs_raid_bio *rbio, int failed); 72 static void __free_raid_bio(struct btrfs_raid_bio *rbio); 73 static void index_rbio_pages(struct btrfs_raid_bio *rbio); 74 static int alloc_rbio_pages(struct btrfs_raid_bio *rbio); 76 static noinline void finish_parity_scrub(struct btrfs_raid_bio *rbio, 80 static void start_async_work(struct btrfs_raid_bio *rbio, work_func_t work_func) in start_async_work() argument 82 INIT_WORK(&rbio->work, work_func); in start_async_work() [all …]
|
D | raid56.h | 170 void raid56_add_scrub_pages(struct btrfs_raid_bio *rbio, struct page *page, 177 void raid56_parity_submit_scrub_rbio(struct btrfs_raid_bio *rbio); 181 void raid56_submit_missing_rbio(struct btrfs_raid_bio *rbio);
|
D | scrub.c | 2346 struct btrfs_raid_bio *rbio; in scrub_missing_raid56_pages() local 2372 rbio = raid56_alloc_missing_rbio(bio, bioc); in scrub_missing_raid56_pages() 2373 if (!rbio) in scrub_missing_raid56_pages() 2379 raid56_add_scrub_pages(rbio, scrub_sector_get_page(sector), in scrub_missing_raid56_pages() 2387 raid56_submit_missing_rbio(rbio); in scrub_missing_raid56_pages() 2947 struct btrfs_raid_bio *rbio; in scrub_parity_check_and_repair() local 2969 rbio = raid56_parity_alloc_scrub_rbio(bio, bioc, in scrub_parity_check_and_repair() 2974 if (!rbio) in scrub_parity_check_and_repair() 2978 raid56_parity_submit_scrub_rbio(rbio); in scrub_parity_check_and_repair()
|
/linux-6.1.9/drivers/md/ |
D | raid1-10.c | 36 static void rbio_pool_free(void *rbio, void *data) in rbio_pool_free() argument 38 kfree(rbio); in rbio_pool_free()
|
D | raid10.c | 181 struct bio *rbio = r10_bio->devs[j].repl_bio; in r10buf_pool_alloc() local 185 if (rbio) in r10buf_pool_alloc() 201 if (rbio) { in r10buf_pool_alloc() 203 rbio->bi_private = rp_repl; in r10buf_pool_alloc() 1813 struct bio *mbio, *rbio = NULL; in raid10_handle_discard() local 1863 rbio = bio_alloc_clone(bio->bi_bdev, bio, GFP_NOIO, in raid10_handle_discard() 1865 rbio->bi_end_io = raid10_end_discard_request; in raid10_handle_discard() 1866 rbio->bi_private = r10_bio; in raid10_handle_discard() 1867 r10_bio->devs[disk].repl_bio = rbio; in raid10_handle_discard() 1870 md_submit_discard_bio(mddev, rrdev, rbio, in raid10_handle_discard() [all …]
|
/linux-6.1.9/include/trace/events/ |
D | btrfs.h | 2327 TP_PROTO(const struct btrfs_raid_bio *rbio, 2331 TP_ARGS(rbio, bio, trace_info), 2346 TP_fast_assign_btrfs(rbio->bioc->fs_info, 2347 __entry->full_stripe = rbio->bioc->raid_map[0]; 2354 __entry->total_stripes = rbio->bioc->num_stripes; 2355 __entry->real_stripes = rbio->real_stripes; 2356 __entry->nr_data = rbio->nr_data; 2377 TP_PROTO(const struct btrfs_raid_bio *rbio, 2381 TP_ARGS(rbio, bio, trace_info) 2385 TP_PROTO(const struct btrfs_raid_bio *rbio, [all …]
|