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()
480 struct bio_set *bs = NULL; in mddev_put()
489 bs = mddev->bio_set; in mddev_put()
490 mddev->bio_set = NULL; in mddev_put()
1992 if (bioset_integrity_create(mddev->bio_set, BIO_POOL_SIZE)) { in md_integrity_register()
5069 if (mddev->bio_set == NULL) in md_run()
5070 mddev->bio_set = bioset_create(BIO_POOL_SIZE, 0); in md_run()
5391 if (mddev->bio_set) in md_stop()
5392 bioset_free(mddev->bio_set); in md_stop()