Lines Matching refs:bio_set
169 if (!mddev || !mddev->bio_set) in bio_alloc_mddev()
172 b = bio_alloc_bioset(gfp_mask, nr_iovecs, mddev->bio_set); in bio_alloc_mddev()
182 if (!mddev || !mddev->bio_set) in bio_clone_mddev()
185 return bio_clone_bioset(bio, gfp_mask, mddev->bio_set); in bio_clone_mddev()
464 struct bio_set *bs = NULL; in mddev_put()
473 bs = mddev->bio_set; in mddev_put()
474 mddev->bio_set = NULL; in mddev_put()
2013 if (bioset_integrity_create(mddev->bio_set, BIO_POOL_SIZE)) { in md_integrity_register()
5184 if (mddev->bio_set == NULL) in md_run()
5185 mddev->bio_set = bioset_create(BIO_POOL_SIZE, 0); in md_run()
5530 if (mddev->bio_set) in md_stop()
5531 bioset_free(mddev->bio_set); in md_stop()