Function report | 
Source Code:mm\readahead.c | 
Create Date:2022-07-28 14:12:06 | 
| Last Modify:2020-03-17 21:13:07 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:page cache context based read-ahead
Proto:static int try_context_readahead(struct address_space *mapping, struct file_ra_state *ra, unsigned long offset, unsigned long req_size, unsigned long max)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct address_space * | mapping | |
| struct file_ra_state * | ra | |
| unsigned long | offset | |
| unsigned long | req_size | |
| unsigned long | max | 
| 372 | # of readahead pages = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(size + req_size, max) | 
| 375 | Return 1 | 
| Name | Describe | 
|---|---|
| ondemand_readahead | A minimal readahead algorithm for trivial sequential/random reads. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |