函数逻辑报告 |
Source Code:mm\readahead.c |
Create Date:2022-07-27 15:35:58 |
Last Modify:2020-03-17 21:13:07 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:page_cache_async_readahead - file readahead for marked pages*@mapping: address_space which holds the pagecache and I/O vectors*@ra: file_ra_state which holds the readahead state*@filp: passed on to ->readpage() and ->readpages()*@page: the page at @offset
函数原型:void page_cache_async_readahead(struct address_space *mapping, struct file_ra_state *ra, struct file *filp, struct page *page, unsigned long offset, unsigned long req_size)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
struct file_ra_state * | ra | |
struct file * | filp | |
struct page * | page | |
unsigned long | offset | |
unsigned long | req_size |
553 | 如果非Maximum readahead window 则返回 |
562 | ClearPageReadahead(page) |
567 | 如果inode_read_congested(host)则返回 |
570 | 如果blk_cgroup_congested()则返回 |
名称 | 描述 |
---|---|
do_async_mmap_readahead | Asynchronous readahead happens when we find the page and PG_readahead,* so we want to possibly extend the readahead further. We return the file that* was pinned if we have to drop the mmap_sem in order to do IO. |
generic_file_buffered_read | generic_file_buffered_read - generic file read routine*@iocb: the iocb to read*@iter: data destination*@written: already copied* This is a generic file read routine, and uses the* mapping->a_ops->readpage() function for the actual low-level stuff. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |