Home
last modified time | relevance | path

Searched refs:btrfs_bio (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-6.6/fs/btrfs/
H A Dbio.h14 struct btrfs_bio;
26 typedef void (*btrfs_bio_end_io_t)(struct btrfs_bio *bbio);
32 struct btrfs_bio { struct
82 * bytes for entire btrfs_bio but relies on bio being last.
87 static inline struct btrfs_bio *btrfs_bio(struct bio *bio) in btrfs_bio() function
89 return container_of(bio, struct btrfs_bio, bio); in btrfs_bio()
95 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info,
97 struct btrfs_bio *btrfs_bio_alloc(unsigned int nr_vecs, blk_opf_t opf,
100 void btrfs_bio_end_io(struct btrfs_bio *bbi
[all...]
H A Dbio.c25 struct btrfs_bio *bbio;
31 static inline bool is_data_bbio(struct btrfs_bio *bbio) in is_data_bbio()
36 static bool bbio_has_ordered_extent(struct btrfs_bio *bbio) in bbio_has_ordered_extent()
42 * Initialize a btrfs_bio structure. This skips the embedded bio itself as it
45 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info, in btrfs_bio_init()
48 memset(bbio, 0, offsetof(struct btrfs_bio, bio)); in btrfs_bio_init()
56 * Allocate a btrfs_bio structure. The btrfs_bio is the main I/O container for
62 struct btrfs_bio *btrfs_bio_alloc(unsigned int nr_vecs, blk_opf_t opf, in btrfs_bio_alloc()
66 struct btrfs_bio *bbi in btrfs_bio_alloc()
[all...]
H A Dfile-item.h41 blk_status_t btrfs_lookup_bio_sums(struct btrfs_bio *bbio);
52 blk_status_t btrfs_csum_one_bio(struct btrfs_bio *bbio);
53 blk_status_t btrfs_alloc_dummy_sum(struct btrfs_bio *bbio);
H A Dcompression.h59 struct btrfs_bio *orig_bbio;
64 struct btrfs_bio bbio;
95 void btrfs_submit_compressed_read(struct btrfs_bio *bbio);
H A Dzoned.h64 bool btrfs_use_zone_append(struct btrfs_bio *bbio);
65 void btrfs_record_physical_zoned(struct btrfs_bio *bbio);
186 static inline bool btrfs_use_zone_append(struct btrfs_bio *bbio) in btrfs_use_zone_append()
191 static inline void btrfs_record_physical_zoned(struct btrfs_bio *bbio) in btrfs_record_physical_zoned()
H A Dcompression.c59 static inline struct compressed_bio *to_compressed_bio(struct btrfs_bio *bbio) in to_compressed_bio()
68 struct btrfs_bio *bbio; in alloc_compressed_bio()
70 bbio = btrfs_bio(bio_alloc_bioset(NULL, BTRFS_MAX_COMPRESSED_PAGES, op, in alloc_compressed_bio()
172 static void end_compressed_bio_read(struct btrfs_bio *bbio) in end_compressed_bio_read()
245 static void end_compressed_bio_write(struct btrfs_bio *bbio) in end_compressed_bio_write()
467 void btrfs_submit_compressed_read(struct btrfs_bio *bbio) in btrfs_submit_compressed_read()
H A Ddisk-io.h114 blk_status_t btree_csum_one_bio(struct btrfs_bio *bbio);
H A Dextent_io.c100 struct btrfs_bio *bbio;
110 struct btrfs_bio *bbio = bio_ctrl->bbio; in submit_one_bio()
133 struct btrfs_bio *bbio = bio_ctrl->bbio; in submit_write_bio()
460 static void end_bio_extent_writepage(struct btrfs_bio *bbio) in end_bio_extent_writepage()
585 static void end_bio_extent_readpage(struct btrfs_bio *bbio) in end_bio_extent_readpage()
736 * This is required for the usage of btrfs_bio->file_offset. in btrfs_bio_is_contig()
748 struct btrfs_bio *bbio; in alloc_new_bio()
1611 static void extent_buffer_write_end_io(struct btrfs_bio *bbio) in extent_buffer_write_end_io()
1671 struct btrfs_bio *bbio; in write_one_eb()
3958 static void extent_buffer_read_end_io(struct btrfs_bio *bbi
[all...]
H A Dscrub.c784 static void scrub_repair_read_endio(struct btrfs_bio *bbio) in scrub_repair_read_endio()
822 struct btrfs_bio *bbio = NULL; in scrub_stripe_submit_repair_read()
1099 static void scrub_read_endio(struct btrfs_bio *bbio) in scrub_read_endio()
1127 static void scrub_write_endio(struct btrfs_bio *bbio) in scrub_write_endio()
1155 struct btrfs_bio *bbio, bool dev_replace) in scrub_submit_write_bio()
1199 struct btrfs_bio *bbio = NULL; in scrub_write_sectors()
1652 struct btrfs_bio *bbio; in scrub_submit_initial_read()
H A Dfile-item.c344 blk_status_t btrfs_lookup_bio_sums(struct btrfs_bio *bbio) in btrfs_lookup_bio_sums()
732 blk_status_t btrfs_csum_one_bio(struct btrfs_bio *bbio) in btrfs_csum_one_bio()
791 blk_status_t btrfs_alloc_dummy_sum(struct btrfs_bio *bbio) in btrfs_alloc_dummy_sum()
H A Dctree.h49 struct btrfs_bio;
H A Dbtrfs_inode.h413 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev,
H A Dzoned.c1615 bool btrfs_use_zone_append(struct btrfs_bio *bbio) in btrfs_use_zone_append()
1654 void btrfs_record_physical_zoned(struct btrfs_bio *bbio) in btrfs_record_physical_zoned()
H A Dinode.c94 struct btrfs_bio bbio;
2547 static int btrfs_extract_ordered_extent(struct btrfs_bio *bbio, in btrfs_extract_ordered_extent()
3283 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev, in btrfs_data_csum_ok()
7717 static void btrfs_dio_end_io(struct btrfs_bio *bbio) in btrfs_dio_end_io()
7747 struct btrfs_bio *bbio = btrfs_bio(bio); in btrfs_dio_submit_io()
9920 static void btrfs_encoded_read_endio(struct btrfs_bio *bbio) in btrfs_encoded_read_endio()
9949 struct btrfs_bio *bbio; in btrfs_encoded_read_regular_fill_pages()
H A Ddisk-io.c243 blk_status_t btree_csum_one_bio(struct btrfs_bio *bbio) in btree_csum_one_bio()
/kernel/linux/linux-5.10/fs/btrfs/
H A Draid56.h34 struct btrfs_bio *bbio, u64 stripe_len,
37 struct btrfs_bio *bbio, u64 stripe_len);
44 struct btrfs_bio *bbio, u64 stripe_len,
51 struct btrfs_bio *bbio, u64 length);
H A Dvolumes.h284 * Really, what we need is a btrfs_bio structure that has this info
288 * struct btrfs_bio as we can into this over time.
323 struct btrfs_bio { struct
418 void btrfs_get_bbio(struct btrfs_bio *bbio);
419 void btrfs_put_bbio(struct btrfs_bio *bbio);
422 struct btrfs_bio **bbio_ret, int mirror_num);
425 struct btrfs_bio **bbio_ret);
H A Dfile-item.c281 struct btrfs_io_bio *btrfs_bio = btrfs_io_bio(bio); in btrfs_lookup_bio_sums() local
284 btrfs_bio->csum = kmalloc_array(nblocks, csum_size, in btrfs_lookup_bio_sums()
286 if (!btrfs_bio->csum) { in btrfs_lookup_bio_sums()
291 btrfs_bio->csum = btrfs_bio->csum_inline; in btrfs_lookup_bio_sums()
293 csum = btrfs_bio->csum; in btrfs_lookup_bio_sums()
H A Draid56.c63 struct btrfs_bio *bbio;
981 struct btrfs_bio *bbio, in alloc_rbio()
1200 struct btrfs_bio *bbio = rbio->bbio; in finish_rmw()
1785 struct btrfs_bio *bbio, u64 stripe_len) in raid56_parity_write()
2169 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_recover()
2274 struct btrfs_bio *bbio, u64 stripe_len, in raid56_parity_alloc_scrub_rbio()
2363 struct btrfs_bio *bbio = rbio->bbio; in finish_parity_scrub()
2722 struct btrfs_bio *bbio, u64 length) in raid56_alloc_missing_rbio()
H A Dvolumes.c227 struct btrfs_bio **bbio_ret,
5611 static void sort_parity_stripes(struct btrfs_bio *bbio, int num_stripes) in sort_parity_stripes()
5629 static struct btrfs_bio *alloc_btrfs_bio(int total_stripes, int real_stripes) in alloc_btrfs_bio()
5631 struct btrfs_bio *bbio = kzalloc( in alloc_btrfs_bio()
5632 /* the size of the btrfs_bio */ in alloc_btrfs_bio()
5633 sizeof(struct btrfs_bio) + in alloc_btrfs_bio()
5654 void btrfs_get_bbio(struct btrfs_bio *bbio) in btrfs_get_bbio()
5660 void btrfs_put_bbio(struct btrfs_bio *bbio) in btrfs_put_bbio()
5675 struct btrfs_bio **bbio_ret) in __btrfs_map_block_for_discard()
5679 struct btrfs_bio *bbi in __btrfs_map_block_for_discard()
[all...]
H A Dextent_io.c2261 struct btrfs_bio *bbio = NULL; in repair_io_failure()
2952 static inline void btrfs_io_bio_init(struct btrfs_io_bio *btrfs_bio) in btrfs_io_bio_init() argument
2954 memset(btrfs_bio, 0, offsetof(struct btrfs_io_bio, bio)); in btrfs_io_bio_init()
2974 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_clone() local
2979 btrfs_bio = btrfs_io_bio(new); in btrfs_bio_clone()
2980 btrfs_io_bio_init(btrfs_bio); in btrfs_bio_clone()
2981 btrfs_bio->iter = bio->bi_iter; in btrfs_bio_clone()
2998 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_clone_partial() local
3004 btrfs_bio = btrfs_io_bio(bio); in btrfs_bio_clone_partial()
3005 btrfs_io_bio_init(btrfs_bio); in btrfs_bio_clone_partial()
[all...]
H A Dreada.c225 struct btrfs_bio *bbio) in reada_find_zone()
306 struct btrfs_bio *bbio = NULL; in reada_find_extent()
H A Dscrub.c59 struct btrfs_bio *bbio;
1225 static inline int scrub_nr_raid_mirrors(struct btrfs_bio *bbio) in scrub_nr_raid_mirrors()
1276 struct btrfs_bio *bbio; in scrub_setup_recheck_block()
2099 struct btrfs_bio *bbio = NULL; in scrub_missing_raid56_pages()
2686 struct btrfs_bio *bbio = NULL; in scrub_parity_check_and_repair()
2761 struct btrfs_bio *bbio = NULL; in scrub_raid56_parity()
4102 struct btrfs_bio *bbio = NULL; in scrub_remap_extent()
H A Dcheck-integrity.c1510 struct btrfs_bio *multi = NULL; in btrfsic_map_block()
H A Dextent-tree.c1278 struct btrfs_bio *bbio = NULL; in btrfs_discard_extent()

Completed in 70 milliseconds