函数逻辑报告 |
Source Code:block\bio-integrity.c |
Create Date:2022-07-27 19:37:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_integrity_process - Process integrity metadata for a bio*@bio: bio to generate/verify integrity metadata for*@proc_iter: iterator to process*@proc_fn: Pointer to the relevant processing function
函数原型:static blk_status_t bio_integrity_process(struct bio *bio, struct bvec_iter *proc_iter, integrity_processing_fn *proc_fn)
返回类型:blk_status_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bio * | bio | |
struct bvec_iter * | proc_iter | |
integrity_processing_fn * | proc_fn |
156 | bi等于blk_get_integrity(bi_disk) |
160 | bip等于bio_integrity(bio) |
161 | ret等于BLK_STS_OK |
162 | prot_buf等于page_address(bv_page)加bv_offset |
166 | interval等于1左移interval_exp位 |
171 | kaddr等于kmap_atomic(bv_page) |
177 | 如果ret则 |
178 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(kaddr) |
179 | 返回:ret |
182 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(kaddr) |
184 | 返回:ret |
名称 | 描述 |
---|---|
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 |
bio_integrity_verify_fn | _integrity_verify_fn - Integrity I/O completion worker*@work: Work struct stored in bio to be verified* Description: This workqueue function is called to complete a READ* request. The function verifies the transferred integrity metadata |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |