函数逻辑报告 |
Source Code:block\bio-integrity.c |
Create Date:2022-07-27 19:37:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:_integrity_add_page - Attach integrity metadata*@bio: bio to update*@page: page containing integrity metadata*@len: number of bytes of integrity metadata in page*@offset: start offset within page
函数原型:int bio_integrity_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bio * | bio | |
| struct page * | page | |
| unsigned int | len | |
| unsigned int | offset |
| 123 | bip等于bio_integrity(bio) |
| 126 | 如果# of integrity bio_vecs 大于等于grity bio_vec slots 则 |
| 133 | 如果# of integrity bio_vecs 且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.则返回:0 |
| 141 | # of integrity bio_vecs 自加 |
| 143 | 返回:len |
| 名称 | 描述 |
|---|---|
| bio_integrity_prep | _integrity_prep - Prepare bio for integrity I/O*@bio: bio to prepare* Description: Checks if the bio already has an integrity payload attached.* If it does, the payload has been generated by another kernel subsystem,* and we just pass it through |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |