Lines Matching defs:bio
101 int async_pmem_flush(struct nd_region *nd_region, struct bio *bio)
104 * Create child bio for asynchronous flush and chain with
105 * parent bio. Otherwise directly call nd_region flush.
107 if (bio && bio->bi_iter.bi_sector != -1) {
108 struct bio *child = bio_alloc(bio->bi_bdev, 0,
114 bio_clone_blkg_association(child, bio);
116 bio_chain(child, bio);