Lines Matching refs:bbuf
34 struct bbuf { struct
45 static struct bbuf __bounce_alloc(struct bch_fs *c, unsigned size, int rw) in __bounce_alloc() argument
53 return (struct bbuf) { .b = b, .type = BB_KMALLOC, .rw = rw }; in __bounce_alloc()
57 return (struct bbuf) { .b = b, .type = BB_MEMPOOL, .rw = rw }; in __bounce_alloc()
80 static struct bbuf __bio_map_or_bounce(struct bch_fs *c, struct bio *bio, in __bio_map_or_bounce()
83 struct bbuf ret; in __bio_map_or_bounce()
95 return (struct bbuf) { in __bio_map_or_bounce()
131 return (struct bbuf) { in __bio_map_or_bounce()
144 static struct bbuf bio_map_or_bounce(struct bch_fs *c, struct bio *bio, int rw) in bio_map_or_bounce()
149 static void bio_unmap_or_unbounce(struct bch_fs *c, struct bbuf buf) in bio_unmap_or_unbounce()
176 struct bbuf src_data = { NULL }; in __bio_uncompress()
261 struct bbuf data = { NULL }; in bch2_bio_uncompress_inplace()
311 struct bbuf dst_data = { NULL }; in bch2_bio_uncompress()
431 struct bbuf src_data = { NULL }, dst_data = { NULL }; in __bio_compress()