Lines Matching refs:bio_set
63 * bio_set is used to allow other portions of the IO system to
68 struct bio_set {
74 * fs_bio_set is the bio_set containing bio and iovec memory pools used by
77 static struct bio_set *fs_bio_set;
79 static inline struct bio_vec *bvec_alloc_bs(gfp_t gfp_mask, int nr, unsigned long *idx, struct bio_set *bs)
110 void bio_free(struct bio *bio, struct bio_set *bio_set)
116 mempool_free(bio->bi_io_vec, bio_set->bvec_pools[pool_idx]);
117 mempool_free(bio, bio_set->bio_pool);
151 * @bs: the bio_set to allocate from
159 * bio_set structure.
161 struct bio *bio_alloc_bioset(gfp_t gfp_mask, int nr_iovecs, struct bio_set *bs)
1120 * create memory pools for biovec's in a bio_set.
1123 static int biovec_create_pools(struct bio_set *bs, int pool_entries)
1138 static void biovec_free_pools(struct bio_set *bs)
1151 void bioset_free(struct bio_set *bs)
1161 struct bio_set *bioset_create(int bio_pool_size, int bvec_pool_size)
1163 struct bio_set *bs = kzalloc(sizeof(*bs), GFP_KERNEL);