Function report |
Source Code:block\blk-merge.c |
Create Date:2022-07-28 17:05:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lk_bio_segment_split - split a bio in two bios*@q: [in] request queue pointer*@bio: [in] bio to be split*@bs: [in] bio set to allocate the clone from*@segs: [out] number of segments in the bio with the first half of the sectors* Clone @bio, update the
Proto:static struct bio *blk_bio_segment_split(struct request_queue *q, struct bio *bio, struct bio_set *bs, unsigned *segs)
Type:struct bio
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
struct bio * | bio | |
struct bio_set * | bs | |
unsigned * | segs |
253 | max_segs = queue_max_segments(q) |
255 | rate over multi-page bvec (bv, bio, iter) |
260 | If bvprvp && Check if adding a bio_vec after bprv with offset would create a gap in* the SG list. Most drivers don't care about this, but some do. Then Go to split |
270 | Go to split |
278 | Return NULL |
279 | split : |
Name | Describe |
---|---|
__blk_queue_split | __blk_queue_split - split a bio and submit the second half*@q: [in] request queue pointer*@bio: [in, out] bio to be split*@nr_segs: [out] number of segments in the first bio* Split a bio into two bios, chain the two bios, submit the second half and |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |