Searched refs:bs (Results 1 – 6 of 6) sorted by relevance
/block/ |
D | blk-mq-tag.c | 85 struct bt_wait_state *bs = &bt->bs[wake_index]; in blk_mq_tag_wakeup_all() local 87 if (waitqueue_active(&bs->wait)) in blk_mq_tag_wakeup_all() 88 wake_up(&bs->wait); in blk_mq_tag_wakeup_all() 95 if (waitqueue_active(&bt->bs[0].wait)) in blk_mq_tag_wakeup_all() 96 wake_up(&bt->bs[0].wait); in blk_mq_tag_wakeup_all() 246 struct bt_wait_state *bs; in bt_wait_ptr() local 250 return &bt->bs[0]; in bt_wait_ptr() 253 bs = &bt->bs[wait_index]; in bt_wait_ptr() 255 return bs; in bt_wait_ptr() 263 struct bt_wait_state *bs; in bt_get() local [all …]
|
D | bio.c | 127 static void bio_put_slab(struct bio_set *bs) in bio_put_slab() argument 135 if (bs->bio_slab == bio_slabs[i].slab) { in bio_put_slab() 247 struct bio_set *bs = bio->bi_pool; in bio_free() local 252 if (bs) { in bio_free() 254 bvec_free(bs->bvec_pool, bio->bi_io_vec, BIO_POOL_IDX(bio)); in bio_free() 260 p -= bs->front_pad; in bio_free() 262 mempool_free(p, bs->bio_pool); in bio_free() 342 struct bio_set *bs = container_of(work, struct bio_set, rescue_work); in bio_alloc_rescue() local 346 spin_lock(&bs->rescue_lock); in bio_alloc_rescue() 347 bio = bio_list_pop(&bs->rescue_list); in bio_alloc_rescue() [all …]
|
D | bio-integrity.c | 55 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local 59 if (!bs || !bs->bio_integrity_pool) { in bio_integrity_alloc() 64 bip = mempool_alloc(bs->bio_integrity_pool, gfp_mask); in bio_integrity_alloc() 75 bs->bvec_integrity_pool); in bio_integrity_alloc() 91 mempool_free(bip, bs->bio_integrity_pool); in bio_integrity_alloc() 106 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local 112 if (bs && bs->bio_integrity_pool) { in bio_integrity_free() 114 bvec_free(bs->bvec_integrity_pool, bip->bip_vec, in bio_integrity_free() 117 mempool_free(bip, bs->bio_integrity_pool); in bio_integrity_free() 485 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create() argument [all …]
|
D | blk-merge.c | 14 struct bio_set *bs, in blk_bio_discard_split() argument 52 return bio_split(bio, split_sectors, GFP_NOIO, bs); in blk_bio_discard_split() 57 struct bio_set *bs, in blk_bio_write_same_split() argument 68 return bio_split(bio, q->limits.max_write_same_sectors, GFP_NOIO, bs); in blk_bio_write_same_split() 85 struct bio_set *bs, in blk_bio_segment_split() argument 177 new = bio_split(bio, sectors, GFP_NOIO, bs); in blk_bio_segment_split() 190 struct bio_set *bs) in blk_queue_split() argument 196 split = blk_bio_discard_split(q, *bio, bs, &nsegs); in blk_queue_split() 198 split = blk_bio_write_same_split(q, *bio, bs, &nsegs); in blk_queue_split()
|
D | blk-mq-tag.h | 28 struct bt_wait_state *bs; member
|
D | blk-core.c | 3110 struct bio_set *bs, gfp_t gfp_mask, in blk_rq_prep_clone() argument 3116 if (!bs) in blk_rq_prep_clone() 3117 bs = fs_bio_set; in blk_rq_prep_clone() 3120 bio = bio_clone_fast(bio_src, gfp_mask, bs); in blk_rq_prep_clone()
|