函数逻辑报告 |
Source Code:mm\readahead.c |
Create Date:2022-07-27 15:35:48 |
| Last Modify:2020-03-17 21:13:07 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:page cache context based read-ahead
函数原型:static int try_context_readahead(struct address_space *mapping, struct file_ra_state *ra, unsigned long offset, unsigned long req_size, unsigned long max)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct address_space * | mapping | |
| struct file_ra_state * | ra | |
| unsigned long | offset | |
| unsigned long | req_size | |
| unsigned long | max |
| 372 | # of readahead pages 等于两数取小(size + req_size, max) |
| 375 | 返回:1 |
| 名称 | 描述 |
|---|---|
| ondemand_readahead | A minimal readahead algorithm for trivial sequential/random reads. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |