函数逻辑报告 |
Source Code:block\bio.c |
Create Date:2022-07-27 18:31:43 |
| Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:_split - split a bio*@bio: bio to split*@sectors: number of sectors to split from the front of @bio*@gfp: gfp mask*@bs: bio set to allocate from* Allocates and returns a new bio which represents @sectors from the start of
函数原型:struct bio *bio_split(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs)
返回类型:struct bio
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bio * | bio | |
| int | sectors | |
| gfp_t | gfp | |
| struct bio_set * | bs |
| 1896 | BUG_ON(sectors >= bio_sectors(bio)) |
| 1899 | 如果非split则返回:NULL |
| 1902 | residual I/O count 等于sectors左移9位 |
| 1904 | 如果bio_integrity(split)则bio_integrity_trim(split) |
| 1912 | 返回:split |
| 名称 | 描述 |
|---|---|
| blk_bio_discard_split | |
| blk_bio_write_zeroes_split | |
| blk_bio_write_same_split | |
| blk_bio_segment_split | 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 |
| __blk_queue_bounce | |
| bio_next_split | _next_split - get next @sectors from a bio, splitting if necessary*@bio: bio to split*@sectors: number of sectors to split from the front of @bio*@gfp: gfp mask*@bs: bio set to allocate from* Returns a bio representing the next @sectors of @bio - if the |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |