Function report |
Source Code:block\blk-merge.c |
Create Date:2022-07-28 17:05:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_bvec_map_sg
Proto:static unsigned blk_bvec_map_sg(struct request_queue *q, struct bio_vec *bvec, struct scatterlist *sglist, struct scatterlist **sg)
Type:unsigned
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q | |
| struct bio_vec * | bvec | |
| struct scatterlist * | sglist | |
| struct scatterlist ** | sg |
| 426 | len = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(get_max_segment_size(q, bv_page, offset), nbytes) |
| 438 | page += offset >> PAGE_SHIFT determines the page size |
| 441 | sg = blk_next_sg(sg, sglist) |
| 446 | nsegs++ |
| 449 | Return nsegs |
| Name | Describe |
|---|---|
| __blk_bios_map_sg |
| 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 |