Lines Matching refs:bch_read_bio
146 static void promote_start(struct promote_op *op, struct bch_read_bio *rbio) in promote_start()
170 struct bch_read_bio **rbio, in __promote_alloc()
195 *rbio = kzalloc(sizeof(struct bch_read_bio) + in __promote_alloc()
278 struct bch_read_bio **rbio, in promote_alloc()
334 static inline struct bch_read_bio *
335 bch2_rbio_parent(struct bch_read_bio *rbio) in bch2_rbio_parent()
341 static void bch2_rbio_punt(struct bch_read_bio *rbio, work_func_t fn, in bch2_rbio_punt()
354 static inline struct bch_read_bio *bch2_rbio_free(struct bch_read_bio *rbio) in bch2_rbio_free()
366 struct bch_read_bio *parent = rbio->parent; in bch2_rbio_free()
383 static void bch2_rbio_done(struct bch_read_bio *rbio) in bch2_rbio_done()
391 static void bch2_read_retry_nodecode(struct bch_fs *c, struct bch_read_bio *rbio, in bch2_read_retry_nodecode()
450 struct bch_read_bio *rbio = in bch2_rbio_retry()
451 container_of(work, struct bch_read_bio, work); in bch2_rbio_retry()
483 static void bch2_rbio_error(struct bch_read_bio *rbio, int retry, in bch2_rbio_error()
503 struct bch_read_bio *rbio) in __bch2_rbio_narrow_crcs()
559 static noinline void bch2_rbio_narrow_crcs(struct bch_read_bio *rbio) in bch2_rbio_narrow_crcs()
568 struct bch_read_bio *rbio = in __bch2_read_endio()
569 container_of(work, struct bch_read_bio, work); in __bch2_read_endio()
703 struct bch_read_bio *rbio = in bch2_read_endio()
704 container_of(bio, struct bch_read_bio, bio); in bch2_read_endio()
839 int __bch2_read_extent(struct btree_trans *trans, struct bch_read_bio *orig, in __bch2_read_extent()
847 struct bch_read_bio *rbio = NULL; in __bch2_read_extent()
1149 void __bch2_read(struct bch_fs *c, struct bch_read_bio *rbio, in __bch2_read()
1254 if (bioset_init(&c->bio_read, 1, offsetof(struct bch_read_bio, bio), in bch2_fs_io_read_init()
1258 if (bioset_init(&c->bio_read_split, 1, offsetof(struct bch_read_bio, bio), in bch2_fs_io_read_init()