Searched refs:bs (Results 1 – 5 of 5) sorted by relevance
/block/ |
D | bio.c | 121 static void bio_put_slab(struct bio_set *bs) in bio_put_slab() argument 129 if (bs->bio_slab == bio_slabs[i].slab) { in bio_put_slab() 253 struct bio_set *bs = bio->bi_pool; in bio_free() local 259 if (bs) { in bio_free() 260 bvec_free(&bs->bvec_pool, bio->bi_io_vec, BVEC_POOL_IDX(bio)); in bio_free() 266 p -= bs->front_pad; in bio_free() 268 mempool_free(p, &bs->bio_pool); in bio_free() 352 struct bio_set *bs = container_of(work, struct bio_set, rescue_work); in bio_alloc_rescue() local 356 spin_lock(&bs->rescue_lock); in bio_alloc_rescue() 357 bio = bio_list_pop(&bs->rescue_list); in bio_alloc_rescue() [all …]
|
D | bio-integrity.c | 27 static void __bio_integrity_free(struct bio_set *bs, in __bio_integrity_free() argument 30 if (bs && mempool_initialized(&bs->bio_integrity_pool)) { in __bio_integrity_free() 32 bvec_free(&bs->bvec_integrity_pool, bip->bip_vec, in __bio_integrity_free() 34 mempool_free(bip, &bs->bio_integrity_pool); in __bio_integrity_free() 55 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local 61 if (!bs || !mempool_initialized(&bs->bio_integrity_pool)) { in bio_integrity_alloc() 65 bip = mempool_alloc(&bs->bio_integrity_pool, gfp_mask); in bio_integrity_alloc() 78 &bs->bvec_integrity_pool); in bio_integrity_alloc() 94 __bio_integrity_free(bs, bip); in bio_integrity_alloc() 109 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local [all …]
|
D | blk-merge.c | 67 struct bio_set *bs, in blk_bio_discard_split() argument 106 return bio_split(bio, split_sectors, GFP_NOIO, bs); in blk_bio_discard_split() 110 struct bio *bio, struct bio_set *bs, unsigned *nsegs) in blk_bio_write_zeroes_split() argument 120 return bio_split(bio, q->limits.max_write_zeroes_sectors, GFP_NOIO, bs); in blk_bio_write_zeroes_split() 125 struct bio_set *bs, in blk_bio_write_same_split() argument 136 return bio_split(bio, q->limits.max_write_same_sectors, GFP_NOIO, bs); in blk_bio_write_same_split() 250 struct bio_set *bs, in blk_bio_segment_split() argument 285 return bio_split(bio, sectors, GFP_NOIO, bs); in blk_bio_segment_split()
|
D | bounce.c | 218 struct bio_set *bs) in bounce_clone_bio() argument 246 bio = bio_alloc_bioset(gfp_mask, bio_segments(bio_src), bs); in bounce_clone_bio()
|
D | blk-core.c | 1618 struct bio_set *bs, gfp_t gfp_mask, in blk_rq_prep_clone() argument 1624 if (!bs) in blk_rq_prep_clone() 1625 bs = &fs_bio_set; in blk_rq_prep_clone() 1628 bio = bio_clone_fast(bio_src, gfp_mask, bs); in blk_rq_prep_clone()
|