Home
last modified time | relevance | path

Searched refs:rbio (Results 1 – 4 of 4) sorted by relevance

/linux/fs/btrfs/
H A Draid56.c25 /* set when additional merges to this rbio are not allowed */
29 * set when this rbio is sitting in the hash, but it is just a cache
62 const struct btrfs_raid_bio *rbio) in btrfs_dump_rbio() argument
67 dump_bioc(fs_info, rbio->bioc); in btrfs_dump_rbio()
69 "rbio flags=0x%lx nr_sectors=%u nr_data=%u real_stripes=%u stripe_nsectors=%u sector_nsteps=%u scrubp=%u dbitmap=0x%lx", in btrfs_dump_rbio()
70 rbio->flags, rbio->nr_sectors, rbio->nr_data, in btrfs_dump_rbio()
71 rbio->real_stripes, rbio in btrfs_dump_rbio()
75 ASSERT_RBIO(expr,rbio) global() argument
86 ASSERT_RBIO_STRIPE(expr,rbio,stripe_nr) global() argument
98 ASSERT_RBIO_SECTOR(expr,rbio,sector_nr) global() argument
110 ASSERT_RBIO_LOGICAL(expr,rbio,logical) global() argument
150 free_raid_bio_pointers(struct btrfs_raid_bio * rbio) free_raid_bio_pointers() argument
160 free_raid_bio(struct btrfs_raid_bio * rbio) free_raid_bio() argument
183 start_async_work(struct btrfs_raid_bio * rbio,work_func_t work_func) start_async_work() argument
231 memcpy_from_bio_to_stripe(struct btrfs_raid_bio * rbio,unsigned int sector_nr) memcpy_from_bio_to_stripe() argument
258 cache_rbio_pages(struct btrfs_raid_bio * rbio) cache_rbio_pages() argument
289 rbio_bucket(struct btrfs_raid_bio * rbio) rbio_bucket() argument
305 page_nr_to_sector_nr(struct btrfs_raid_bio * rbio,unsigned int page_nr) page_nr_to_sector_nr() argument
322 page_nr_to_num_sectors(struct btrfs_raid_bio * rbio,unsigned int page_nr) page_nr_to_num_sectors() argument
334 full_page_sectors_uptodate(struct btrfs_raid_bio * rbio,unsigned int page_nr) full_page_sectors_uptodate() argument
356 index_stripe_sectors(struct btrfs_raid_bio * rbio) index_stripe_sectors() argument
393 is_data_stripe_page(struct btrfs_raid_bio * rbio,int page_nr) is_data_stripe_page() argument
464 __remove_rbio_from_cache(struct btrfs_raid_bio * rbio) __remove_rbio_from_cache() argument
524 remove_rbio_from_cache(struct btrfs_raid_bio * rbio) remove_rbio_from_cache() argument
544 struct btrfs_raid_bio *rbio; btrfs_clear_rbio_cache() local
581 cache_rbio(struct btrfs_raid_bio * rbio) cache_rbio() argument
644 rbio_is_full(struct btrfs_raid_bio * rbio) rbio_is_full() argument
710 rbio_sector_index(const struct btrfs_raid_bio * rbio,unsigned int stripe_nr,unsigned int sector_nr) rbio_sector_index() argument
725 rbio_paddr_index(const struct btrfs_raid_bio * rbio,unsigned int stripe_nr,unsigned int sector_nr,unsigned int step_nr) rbio_paddr_index() argument
739 rbio_stripe_paddr(const struct btrfs_raid_bio * rbio,unsigned int stripe_nr,unsigned int sector_nr,unsigned int step_nr) rbio_stripe_paddr() argument
746 rbio_pstripe_paddr(const struct btrfs_raid_bio * rbio,unsigned int sector_nr,unsigned int step_nr) rbio_pstripe_paddr() argument
752 rbio_qstripe_paddr(const struct btrfs_raid_bio * rbio,unsigned int sector_nr,unsigned int step_nr) rbio_qstripe_paddr() argument
761 rbio_stripe_paddrs(const struct btrfs_raid_bio * rbio,unsigned int stripe_nr,unsigned int sector_nr) rbio_stripe_paddrs() argument
789 lock_stripe_add(struct btrfs_raid_bio * rbio) lock_stripe_add() argument
874 unlock_stripe(struct btrfs_raid_bio * rbio) unlock_stripe() argument
964 rbio_orig_end_io(struct btrfs_raid_bio * rbio,blk_status_t status) rbio_orig_end_io() argument
1013 sector_paddrs_in_rbio(struct btrfs_raid_bio * rbio,int stripe_nr,int sector_nr,bool bio_list_only) sector_paddrs_in_rbio() argument
1037 sector_paddr_in_rbio(struct btrfs_raid_bio * rbio,int stripe_nr,int sector_nr,int step_nr,bool bio_list_only) sector_paddr_in_rbio() argument
1072 struct btrfs_raid_bio *rbio; alloc_rbio() local
1142 alloc_rbio_pages(struct btrfs_raid_bio * rbio) alloc_rbio_pages() argument
1155 alloc_rbio_parity_pages(struct btrfs_raid_bio * rbio) alloc_rbio_parity_pages() argument
1175 get_rbio_vertical_errors(struct btrfs_raid_bio * rbio,int sector_nr,int * faila,int * failb) get_rbio_vertical_errors() argument
1237 rbio_add_io_paddrs(struct btrfs_raid_bio * rbio,struct bio_list * bio_list,phys_addr_t * paddrs,unsigned int stripe_nr,unsigned int sector_nr,enum req_op op) rbio_add_io_paddrs() argument
1308 index_one_bio(struct btrfs_raid_bio * rbio,struct bio * bio) index_one_bio() argument
1334 index_rbio_pages(struct btrfs_raid_bio * rbio) index_rbio_pages() argument
1345 bio_get_trace_info(struct btrfs_raid_bio * rbio,struct bio * bio,struct raid56_bio_trace_info * trace_info) bio_get_trace_info() argument
1381 assert_rbio(struct btrfs_raid_bio * rbio) assert_rbio() argument
1408 generate_pq_vertical_step(struct btrfs_raid_bio * rbio,unsigned int sector_nr,unsigned int step_nr) generate_pq_vertical_step() argument
1444 generate_pq_vertical(struct btrfs_raid_bio * rbio,int sectornr) generate_pq_vertical() argument
1458 rmw_assemble_write_bios(struct btrfs_raid_bio * rbio,struct bio_list * bio_list) rmw_assemble_write_bios() argument
1564 set_rbio_range_error(struct btrfs_raid_bio * rbio,struct bio * bio) set_rbio_range_error() argument
1603 find_stripe_sector_nr(struct btrfs_raid_bio * rbio,phys_addr_t paddr) find_stripe_sector_nr() argument
1616 set_bio_pages_uptodate(struct btrfs_raid_bio * rbio,struct bio * bio) set_bio_pages_uptodate() argument
1638 get_bio_sector_nr(struct btrfs_raid_bio * rbio,struct bio * bio) get_bio_sector_nr() argument
1653 rbio_update_error_bitmap(struct btrfs_raid_bio * rbio,struct bio * bio) rbio_update_error_bitmap() argument
1675 verify_bio_data_sectors(struct btrfs_raid_bio * rbio,struct bio * bio) verify_bio_data_sectors() argument
1719 struct btrfs_raid_bio *rbio = bio->bi_private; raid_wait_read_end_io() local
1733 submit_read_wait_bio_list(struct btrfs_raid_bio * rbio,struct bio_list * bio_list) submit_read_wait_bio_list() argument
1754 alloc_rbio_data_pages(struct btrfs_raid_bio * rbio) alloc_rbio_data_pages() argument
1834 rbio_add_bio(struct btrfs_raid_bio * rbio,struct bio * orig_bio) rbio_add_bio() argument
1867 struct btrfs_raid_bio *rbio; raid56_parity_write() local
1904 verify_one_sector(struct btrfs_raid_bio * rbio,int stripe_nr,int sector_nr) verify_one_sector() argument
1937 recover_vertical_step(struct btrfs_raid_bio * rbio,unsigned int sector_nr,unsigned int step_nr,int faila,int failb,void ** pointers,void ** unmap_array) recover_vertical_step() argument
2050 recover_vertical(struct btrfs_raid_bio * rbio,int sector_nr,void ** pointers,void ** unmap_array) recover_vertical() argument
2100 recover_sectors(struct btrfs_raid_bio * rbio) recover_sectors() argument
2140 recover_rbio(struct btrfs_raid_bio * rbio) recover_rbio() argument
2205 struct btrfs_raid_bio *rbio; recover_rbio_work() local
2217 set_rbio_raid6_extra_error(struct btrfs_raid_bio * rbio,int mirror_num) set_rbio_raid6_extra_error() argument
2272 struct btrfs_raid_bio *rbio; raid56_parity_recover() local
2297 fill_data_csums(struct btrfs_raid_bio * rbio) fill_data_csums() argument
2366 rmw_read_wait_recover(struct btrfs_raid_bio * rbio) rmw_read_wait_recover() argument
2409 struct btrfs_raid_bio *rbio = bio->bi_private; raid_wait_write_end_io() local
2418 submit_write_bios(struct btrfs_raid_bio * rbio,struct bio_list * bio_list) submit_write_bios() argument
2441 need_read_stripe_sectors(struct btrfs_raid_bio * rbio) need_read_stripe_sectors() argument
2460 rmw_rbio(struct btrfs_raid_bio * rbio) rmw_rbio() argument
2547 struct btrfs_raid_bio *rbio; rmw_rbio_work() local
2575 struct btrfs_raid_bio *rbio; raid56_parity_alloc_scrub_rbio() local
2606 alloc_rbio_sector_pages(struct btrfs_raid_bio * rbio,int sector_nr) alloc_rbio_sector_pages() argument
2630 alloc_rbio_essential_pages(struct btrfs_raid_bio * rbio) alloc_rbio_essential_pages() argument
2650 verify_one_parity_step(struct btrfs_raid_bio * rbio,void * pointers[],unsigned int sector_nr,unsigned int step_nr) verify_one_parity_step() argument
2694 verify_one_parity_sector(struct btrfs_raid_bio * rbio,void * pointers[],unsigned int sector_nr) verify_one_parity_sector() argument
2710 finish_parity_scrub(struct btrfs_raid_bio * rbio) finish_parity_scrub() argument
2827 is_data_stripe(struct btrfs_raid_bio * rbio,int stripe) is_data_stripe() argument
2834 recover_scrub_rbio(struct btrfs_raid_bio * rbio) recover_scrub_rbio() argument
2918 scrub_assemble_read_bios(struct btrfs_raid_bio * rbio) scrub_assemble_read_bios() argument
2965 scrub_rbio(struct btrfs_raid_bio * rbio) scrub_rbio() argument
3009 raid56_parity_submit_scrub_rbio(struct btrfs_raid_bio * rbio) raid56_parity_submit_scrub_rbio() argument
3022 raid56_parity_cache_data_folios(struct btrfs_raid_bio * rbio,struct folio ** data_folios,u64 data_logical) raid56_parity_cache_data_folios() argument
[all...]
H A Dscrub.c2111 struct btrfs_raid_bio *rbio; in should_cancel_scrub()
2129 rbio = raid56_parity_alloc_scrub_rbio(&bio, bioc, scrub_dev, extent_bitmap, in scrub_raid56_cached_parity()
2132 if (!rbio) { in scrub_raid56_cached_parity()
2140 raid56_parity_cache_data_folios(rbio, stripe->folios, in scrub_raid56_cached_parity()
2143 raid56_parity_submit_scrub_rbio(rbio); in scrub_raid56_cached_parity()
2125 struct btrfs_raid_bio *rbio; scrub_raid56_cached_parity() local
/linux/include/trace/events/
H A Dbtrfs.h2416 TP_PROTO(const struct btrfs_raid_bio *rbio,
2420 TP_ARGS(rbio, bio, trace_info),
2435 TP_fast_assign_btrfs(rbio->bioc->fs_info,
2436 __entry->full_stripe = rbio->bioc->full_stripe_logical;
2443 __entry->total_stripes = rbio->bioc->num_stripes;
2444 __entry->real_stripes = rbio->real_stripes;
2445 __entry->nr_data = rbio->nr_data;
2466 TP_PROTO(const struct btrfs_raid_bio *rbio,
2470 TP_ARGS(rbio, bio, trace_info)
2474 TP_PROTO(const struct btrfs_raid_bio *rbio,
[all...]
/linux/drivers/md/
H A Draid10.c181 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()
1782 struct bio *mbio, *rbio = NULL; in raid10_handle_discard() local
1832 rbio = bio_alloc_clone(bio->bi_bdev, bio, GFP_NOIO, in raid10_handle_discard()
1834 rbio->bi_end_io = raid10_end_discard_request; in raid10_handle_discard()
1835 rbio->bi_private = r10_bio; in raid10_handle_discard()
1836 r10_bio->devs[disk].repl_bio = rbio; in raid10_handle_discard()
1839 md_submit_discard_bio(mddev, rrdev, rbio, in raid10_handle_discard()
[all...]