Searched refs:bioc (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/fs/btrfs/tests/ |
| H A D | raid-stripe-tree-tests.c | 55 if (!bioc) { in test_punch_hole_3extents() 65 bioc->size = len1; in test_punch_hole_3extents() 87 bioc->size = len2; in test_punch_hole_3extents() 108 bioc->size = len3; in test_punch_hole_3extents() 231 if (!bioc) { in test_delete_two_extents() 376 if (!bioc) { in test_punch_hole() 515 if (!bioc) { in test_front_delete_prev_item() 656 if (!bioc) { in test_front_delete() 765 if (!bioc) { in test_tail_delete() 887 if (!bioc) { in test_create_update_delete() [all …]
|
| /linux-6.15/fs/btrfs/ |
| H A D | bio.c | 371 btrfs_put_bioc(bioc); in btrfs_raid56_end_io() 377 struct btrfs_io_context *bioc = stripe->bioc; in btrfs_orig_write_end_io() local 391 if (atomic_read(&bioc->error) > bioc->max_errors) in btrfs_orig_write_end_io() 400 btrfs_put_bioc(bioc); in btrfs_orig_write_end_io() 480 bioc->stripes[dev_nr].bioc = bioc; in btrfs_submit_mirrored_bio() 488 if (!bioc) { in btrfs_submit_bio() 499 bio->bi_private = bioc; in btrfs_submit_bio() 509 bioc->orig_bio = bio; in btrfs_submit_bio() 638 async->bioc = bioc; in btrfs_wq_submit_bio() 728 if (is_data_bbio(bbio) && bioc && bioc->use_rst) { in btrfs_submit_chunk() [all …]
|
| H A D | raid56.c | 45 if (unlikely(!bioc)) { in dump_bioc() 51 bioc->logical, bioc->full_stripe_logical, bioc->size, in dump_bioc() 52 bioc->map_type, bioc->mirror_num, bioc->replace_nr_stripes, in dump_bioc() 53 bioc->replace_stripe_src, bioc->num_stripes); in dump_bioc() 647 if (last->bioc->full_stripe_logical != cur->bioc->full_stripe_logical) in rbio_can_merge() 740 if (cur->bioc->full_stripe_logical != rbio->bioc->full_stripe_logical) in lock_stripe_add() 1032 btrfs_get_bioc(bioc); in alloc_rbio() 1033 rbio->bioc = bioc; in alloc_rbio() 1240 const struct btrfs_io_context *bioc = rbio->bioc; in bio_get_trace_info() local 1243 ASSERT(bioc); in bio_get_trace_info() [all …]
|
| H A D | raid56.h | 29 struct btrfs_io_context *bioc; member 181 static inline int nr_bioc_data_stripes(const struct btrfs_io_context *bioc) in nr_bioc_data_stripes() argument 183 return bioc->num_stripes - btrfs_nr_parity_stripes(bioc->map_type); in nr_bioc_data_stripes() 194 void raid56_parity_recover(struct bio *bio, struct btrfs_io_context *bioc, 196 void raid56_parity_write(struct bio *bio, struct btrfs_io_context *bioc); 199 struct btrfs_io_context *bioc,
|
| H A D | raid-stripe-tree.c | 298 struct btrfs_io_context *bioc) in btrfs_insert_one_raid_extent() argument 315 trace_btrfs_insert_one_raid_extent(fs_info, bioc->logical, bioc->size, in btrfs_insert_one_raid_extent() 318 u64 devid = bioc->stripes[i].dev->devid; in btrfs_insert_one_raid_extent() 319 u64 physical = bioc->stripes[i].physical; in btrfs_insert_one_raid_extent() 326 stripe_key.objectid = bioc->logical; in btrfs_insert_one_raid_extent() 328 stripe_key.offset = bioc->size; in btrfs_insert_one_raid_extent() 346 struct btrfs_io_context *bioc; in btrfs_insert_raid_extent() local 353 ret = btrfs_insert_one_raid_extent(trans, bioc); in btrfs_insert_raid_extent() 360 typeof(*bioc), rst_ordered_entry); in btrfs_insert_raid_extent() 361 list_del(&bioc->rst_ordered_entry); in btrfs_insert_raid_extent() [all …]
|
| H A D | volumes.c | 6032 bioc = kzalloc( in alloc_btrfs_io_context() 6039 if (!bioc) in alloc_btrfs_io_context() 6044 bioc->fs_info = fs_info; in alloc_btrfs_io_context() 6049 return bioc; in alloc_btrfs_io_context() 6060 if (!bioc) in btrfs_put_bioc() 6063 kfree(bioc); in btrfs_put_bioc() 6663 if (!bioc) { in btrfs_map_block() 6717 btrfs_put_bioc(bioc); in btrfs_map_block() 6729 *bioc_ret = bioc; in btrfs_map_block() 8248 if (!bioc) in btrfs_map_repair_block() [all …]
|
| H A D | raid-stripe-tree.h | 34 struct btrfs_io_context *bioc);
|
| H A D | volumes.h | 479 struct btrfs_io_context *bioc; member 703 void btrfs_get_bioc(struct btrfs_io_context *bioc); 704 void btrfs_put_bioc(struct btrfs_io_context *bioc);
|
| H A D | scrub.c | 891 struct btrfs_io_context *bioc = NULL; in scrub_stripe_report_errors() local 898 stripe->logical, &mapped_len, &bioc, in scrub_stripe_report_errors() 906 physical = bioc->stripes[stripe_index].physical; in scrub_stripe_report_errors() 907 dev = bioc->stripes[stripe_index].dev; in scrub_stripe_report_errors() 908 btrfs_put_bioc(bioc); in scrub_stripe_report_errors() 1695 struct btrfs_io_context *bioc = NULL; in scrub_submit_extent_sector_read() local 1708 btrfs_put_bioc(bioc); in scrub_submit_extent_sector_read() 1956 struct btrfs_io_context *bioc = NULL; in scrub_raid56_parity_stripe() local 2076 &length, &bioc, NULL, NULL); in scrub_raid56_parity_stripe() 2078 btrfs_put_bioc(bioc); in scrub_raid56_parity_stripe() [all …]
|
| H A D | zoned.c | 2011 struct btrfs_io_context *bioc = NULL; in read_zone_info() local 2018 &mapped_length, &bioc, NULL, NULL); in read_zone_info() 2019 if (ret || !bioc || mapped_length < PAGE_SIZE) { in read_zone_info() 2024 if (bioc->map_type & BTRFS_BLOCK_GROUP_RAID56_MASK) { in read_zone_info() 2030 nmirrors = (int)bioc->num_stripes; in read_zone_info() 2032 u64 physical = bioc->stripes[i].physical; in read_zone_info() 2033 struct btrfs_device *dev = bioc->stripes[i].dev; in read_zone_info() 2047 btrfs_put_bioc(bioc); in read_zone_info()
|
| /linux-6.15/include/trace/events/ |
| H A D | btrfs.h | 2418 TP_fast_assign_btrfs(rbio->bioc->fs_info, 2419 __entry->full_stripe = rbio->bioc->full_stripe_logical; 2426 __entry->total_stripes = rbio->bioc->num_stripes;
|