Lines Matching refs:b
18 struct bbio *b = container_of(bio, struct bbio, bio); in bch_bbio_free() local
19 mempool_free(b, c->bio_meta); in bch_bbio_free()
24 struct bbio *b = mempool_alloc(c->bio_meta, GFP_NOIO); in bch_bbio_alloc() local
25 struct bio *bio = &b->bio; in bch_bbio_alloc()
37 struct bbio *b = container_of(bio, struct bbio, bio); in __bch_submit_bbio() local
39 bio->bi_iter.bi_sector = PTR_OFFSET(&b->key, 0); in __bch_submit_bbio()
40 bio->bi_bdev = PTR_CACHE(c, &b->key, 0)->bdev; in __bch_submit_bbio()
42 b->submit_time_us = local_clock_us(); in __bch_submit_bbio()
49 struct bbio *b = container_of(bio, struct bbio, bio); in bch_submit_bbio() local
50 bch_bkey_copy_single_ptr(&b->key, k, ptr); in bch_submit_bbio()
111 struct bbio *b = container_of(bio, struct bbio, bio); in bch_bbio_count_io_errors() local
112 struct cache *ca = PTR_CACHE(c, &b->key, 0); in bch_bbio_count_io_errors()
121 int us = t - b->submit_time_us; in bch_bbio_count_io_errors()