Lines Matching full:split
208 * bvec_split_segs - verify whether or not a bvec should be split in the middle
209 * @lim: [in] queue limits to split based on
221 * big to fit in a single segment and hence that it has to be split in the
251 /* tell the caller to split the bvec if it is too big to fit */ in bvec_split_segs()
256 * bio_split_rw - split a bio in two bios
257 * @bio: [in] bio to be split
258 * @lim: [in] queue limits to split based on
273 * split bio has finished.
288 goto split; in bio_split_rw()
298 goto split; in bio_split_rw()
307 split: in bio_split_rw()
322 * split size so that each bio is properly block size aligned, even if in bio_split_rw()
330 * big IO can be trival, disable iopoll when split needed. in bio_split_rw()
338 * __bio_split_to_limits - split a bio to fit the queue limits
339 * @bio: bio to be split
340 * @lim: queue limits to split based on
343 * Check if @bio needs splitting based on the queue limits, and if so split off
347 * The split bio is allocated from @q->bio_split, which is provided by the
355 struct bio *split; in __bio_split_to_limits() local
360 split = bio_split_discard(bio, lim, nr_segs, bs); in __bio_split_to_limits()
363 split = bio_split_write_zeroes(bio, lim, nr_segs, bs); in __bio_split_to_limits()
366 split = bio_split_rw(bio, lim, nr_segs, bs, in __bio_split_to_limits()
368 if (IS_ERR(split)) in __bio_split_to_limits()
373 if (split) { in __bio_split_to_limits()
374 /* there isn't chance to merge the split bio */ in __bio_split_to_limits()
375 split->bi_opf |= REQ_NOMERGE; in __bio_split_to_limits()
377 blkcg_bio_issue_init(split); in __bio_split_to_limits()
378 bio_chain(split, bio); in __bio_split_to_limits()
379 trace_block_split(split, bio->bi_iter.bi_sector); in __bio_split_to_limits()
381 return split; in __bio_split_to_limits()
387 * bio_split_to_limits - split a bio to fit the queue limits
388 * @bio: bio to be split
391 * if so split off a bio fitting the limits from the beginning of @bio and
394 * The split bio is allocated from @q->bio_split, which is provided by the