/block/ |
D | blk-merge.c | 301 void __blk_queue_split(struct bio **bio, unsigned int *nr_segs) in __blk_queue_split() argument 309 split = blk_bio_discard_split(q, *bio, &q->bio_split, nr_segs); in __blk_queue_split() 313 nr_segs); in __blk_queue_split() 317 nr_segs); in __blk_queue_split() 332 *nr_segs = 1; in __blk_queue_split() 335 split = blk_bio_segment_split(q, *bio, &q->bio_split, nr_segs); in __blk_queue_split() 364 unsigned int nr_segs; in blk_queue_split() local 366 __blk_queue_split(bio, &nr_segs); in blk_queue_split() 585 int ll_back_merge_fn(struct request *req, struct bio *bio, unsigned int nr_segs) in ll_back_merge_fn() argument 600 return ll_new_hw_segment(req, bio, nr_segs); in ll_back_merge_fn() [all …]
|
D | blk-mq-sched.h | 12 unsigned int nr_segs, struct request **merged_request); 14 unsigned int nr_segs); 33 unsigned int nr_segs) in blk_mq_sched_bio_merge() argument 38 return __blk_mq_sched_bio_merge(q, bio, nr_segs); in blk_mq_sched_bio_merge()
|
D | blk.h | 91 unsigned int nr_segs) in blk_rq_bio_prep() argument 93 rq->nr_phys_segments = nr_segs; in blk_rq_bio_prep() 184 unsigned int nr_segs, struct request **same_queue_rq); 186 struct bio *bio, unsigned int nr_segs); 236 void __blk_queue_split(struct bio **bio, unsigned int *nr_segs); 238 unsigned int nr_segs);
|
D | blk-map.c | 26 if (data->nr_segs > UIO_MAXIOV) in bio_alloc_map_data() 29 bmd = kmalloc(struct_size(bmd, iov, data->nr_segs), gfp_mask); in bio_alloc_map_data() 32 memcpy(bmd->iov, data->iov, sizeof(struct iovec) * data->nr_segs); in bio_alloc_map_data() 529 unsigned int nr_segs = 0; in blk_rq_append_bio() local 534 nr_segs++; in blk_rq_append_bio() 537 blk_rq_bio_prep(rq, *bio, nr_segs); in blk_rq_append_bio() 539 if (!ll_back_merge_fn(rq, *bio, nr_segs)) { in blk_rq_append_bio()
|
D | blk-mq-sched.c | 354 unsigned int nr_segs) in __blk_mq_sched_bio_merge() argument 363 return e->type->ops.bio_merge(q, bio, nr_segs); in __blk_mq_sched_bio_merge() 379 if (blk_bio_list_merge(q, &ctx->rq_lists[type], bio, nr_segs)) { in __blk_mq_sched_bio_merge()
|
D | blk-mq.c | 2030 unsigned int nr_segs) in blk_mq_bio_to_request() argument 2039 blk_rq_bio_prep(rq, bio, nr_segs); in blk_mq_bio_to_request() 2261 unsigned int nr_segs; in blk_mq_submit_bio() local 2266 __blk_queue_split(&bio, &nr_segs); in blk_mq_submit_bio() 2272 blk_attempt_plug_merge(q, bio, nr_segs, &same_queue_rq)) in blk_mq_submit_bio() 2275 if (blk_mq_sched_bio_merge(q, bio, nr_segs)) in blk_mq_submit_bio() 2295 blk_mq_bio_to_request(rq, bio, nr_segs); in blk_mq_submit_bio()
|
D | kyber-iosched.c | 566 unsigned int nr_segs) in kyber_bio_merge() argument 577 merged = blk_bio_list_merge(hctx->queue, rq_list, bio, nr_segs); in kyber_bio_merge()
|
D | mq-deadline-main.c | 693 unsigned int nr_segs) in dd_bio_merge() argument 700 ret = blk_mq_sched_try_merge(q, bio, nr_segs, &free); in dd_bio_merge()
|
D | bfq-iosched.c | 2222 unsigned int nr_segs) in bfq_bio_merge() argument 2251 ret = blk_mq_sched_try_merge(q, bio, nr_segs, &free); in bfq_bio_merge()
|