Function report |
Source Code:block\blk-merge.c |
Create Date:2022-07-28 17:05:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ly try to merge bvecs into one sg if they are from two bios
Proto:static inline bool __blk_segment_map_sg_merge(struct request_queue *q, struct bio_vec *bvec, struct bio_vec *bvprv, struct scatterlist **sg)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
struct bio_vec * | bvec | |
struct bio_vec * | bvprv | |
struct scatterlist ** | sg |
468 | If Not sg Then Return false |
471 | If length + nbytes > queue_max_segment_size(q) Then Return false |
474 | If Not biovec_phys_mergeable(q, bvprv, bvec) Then Return false |
479 | Return true |
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 |