函数逻辑报告 |
Source Code:block\blk-lib.c |
Create Date:2022-07-27 18:42:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Convert a number of 512B sectors to a number of pages.* The result is limited to a number of pages that can fit into a BIO.* Also make sure that the result is always at least 1 (page) for the cases
函数原型:static unsigned int __blkdev_sectors_to_bio_pages(sector_t nr_sects)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
sector_t | nr_sects |
263 | pages等于DIV_ROUND_UP_SECTOR_T(nr_sects, PAGE_SIZE / 512) |
265 | 返回:两数取小(pages, (sector_t)BIO_MAX_PAGES) |
名称 | 描述 |
---|---|
__blkdev_issue_zero_pages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |