Lines Matching full:split
178 * bvec_split_segs - verify whether or not a bvec should be split in the middle
191 * big to fit in a single segment and hence that it has to be split in the
222 /* tell the caller to split the bvec if it is too big to fit */ in bvec_split_segs()
227 * blk_bio_segment_split - split a bio in two bios
229 * @bio: [in] bio to be split
243 * split bio has finished.
262 goto split; in blk_bio_segment_split()
271 goto split; in blk_bio_segment_split()
280 split: in blk_bio_segment_split()
286 * big IO can be trival, disable iopoll when split needed. in blk_bio_segment_split()
294 * __blk_queue_split - split a bio and submit the second half
295 * @bio: [in, out] bio to be split
298 * Split a bio into two bios, chain the two bios, submit the second half and
300 * big it will be split by a recursive call to this function. Since this
303 * of the split bio has finished.
308 struct bio *split = NULL; in __blk_queue_split() local
313 split = blk_bio_discard_split(q, *bio, &q->bio_split, nr_segs); in __blk_queue_split()
316 split = blk_bio_write_zeroes_split(q, *bio, &q->bio_split, in __blk_queue_split()
320 split = blk_bio_write_same_split(q, *bio, &q->bio_split, in __blk_queue_split()
339 split = blk_bio_segment_split(q, *bio, &q->bio_split, nr_segs); in __blk_queue_split()
343 if (split) { in __blk_queue_split()
345 split->bi_opf |= REQ_NOMERGE; in __blk_queue_split()
347 bio_chain(split, *bio); in __blk_queue_split()
348 trace_block_split(split, (*bio)->bi_iter.bi_sector); in __blk_queue_split()
350 *bio = split; in __blk_queue_split()
357 * blk_queue_split - split a bio and submit the second half
358 * @bio: [in, out] bio to be split
360 * Split a bio into two bios, chains the two bios, submit the second half and
363 * that q->bio_split is only released after processing of the split bio has