函数逻辑报告 | 
Source Code:block\blk-core.c | 
Create Date:2022-07-27 18:35:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:bio_check_ro
函数原型:static inline bool bio_check_ro(struct bio *bio, struct hd_struct *part)
返回类型:bool
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct bio * | bio | |
| struct hd_struct * | part | 
| 794 | 如果policy且op_is_write(op)则 | 
| 797 | 如果Check if the bio or request is one that needs special treatment in the* flush state machine.且非bio_sectors(bio)则返回:false | 
| 800 | WARN_ONCE(1, "generic_make_request: Trying to write to read-only block-device %s (partno %d)\n", bio_devname(bio, b), partno) | 
| 805 | 返回:false | 
| 808 | 返回:false | 
| 名称 | 描述 | 
|---|---|
| blk_partition_remap | Remap block n of partition p to block n+start(p) of the disk. | 
| generic_make_request_checks | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |