函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:24 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This allows us to do IO even on the odd last sectors* of a device, even if the block size is some multiple* of the physical sector size
函数原型:void guard_bio_eod(struct bio *bio)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bio * | bio |
3040 | part等于__disk_get_part(bi_disk, bi_partno) |
3041 | 如果part则maxsector等于Any access of part->nr_sects which is not protected by partition* bd_mutex or gendisk bdev bd_mutex, should be done using this* accessor function |
3043 | 否则maxsector等于get_capacity(bi_disk) |
3047 | 如果非maxsector则返回 |
3055 | 如果此条件成立可能性小(为编译器优化)(bi_sector >= maxsector)则返回 |
3059 | 如果此条件成立可能性大(为编译器优化)(( residual I/O count >> 9) <= maxsector)则返回 |
3062 | bio_truncate(bio, maxsector << 9) |
名称 | 描述 |
---|---|
submit_bh_wbc | |
mpage_bio_submit |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |