Lines Matching full:split

203  * bvec_split_segs - verify whether or not a bvec should be split in the middle
204 * @lim: [in] queue limits to split based on
216 * big to fit in a single segment and hence that it has to be split in the
246 /* tell the caller to split the bvec if it is too big to fit */ in bvec_split_segs()
251 * bio_split_rw - split a bio in two bios
252 * @bio: [in] bio to be split
253 * @lim: [in] queue limits to split based on
268 * split bio has finished.
283 goto split; in bio_split_rw()
293 goto split; in bio_split_rw()
302 split: in bio_split_rw()
307 * split size so that each bio is properly block size aligned, even if in bio_split_rw()
315 * big IO can be trival, disable iopoll when split needed. in bio_split_rw()
322 * __bio_split_to_limits - split a bio to fit the queue limits
323 * @bio: bio to be split
324 * @lim: queue limits to split based on
327 * Check if @bio needs splitting based on the queue limits, and if so split off
331 * The split bio is allocated from @q->bio_split, which is provided by the
338 struct bio *split; in __bio_split_to_limits() local
343 split = bio_split_discard(bio, lim, nr_segs, bs); in __bio_split_to_limits()
346 split = bio_split_write_zeroes(bio, lim, nr_segs, bs); in __bio_split_to_limits()
349 split = bio_split_rw(bio, lim, nr_segs, bs, in __bio_split_to_limits()
354 if (split) { in __bio_split_to_limits()
356 split->bi_opf |= REQ_NOMERGE; in __bio_split_to_limits()
358 blkcg_bio_issue_init(split); in __bio_split_to_limits()
359 bio_chain(split, bio); in __bio_split_to_limits()
360 trace_block_split(split, bio->bi_iter.bi_sector); in __bio_split_to_limits()
362 return split; in __bio_split_to_limits()
368 * bio_split_to_limits - split a bio to fit the queue limits
369 * @bio: bio to be split
372 * if so split off a bio fitting the limits from the beginning of @bio and
375 * The split bio is allocated from @q->bio_split, which is provided by the