函数逻辑报告 |
Source Code:include\linux\blkdev.h |
Create Date:2022-07-27 06:47:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return maximum size of a request at given offset. Only valid for* file system requests.
函数原型:static inline unsigned int blk_max_size_offset(struct request_queue *q, sector_t offset)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
sector_t | offset |
1013 | 如果非chunk_sectors则返回:max_sectors |
1016 | 返回:两数取小(max_sectors, (unsignedint)(chunk_sectors - (offset & (chunk_sectors - 1)))) |
名称 | 描述 |
---|---|
get_max_io_size | Return the maximum number of sectors from the start of a bio that may be* submitted as a single request to a block device. If enough sectors remain,* align the end to the physical block size. Otherwise align the end to the* logical block size |
blk_rq_get_max_sectors |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |