函数逻辑报告 |
Source Code:fs\direct-io.c |
Create Date:2022-07-29 10:46:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Get another userspace page. Returns an ERR_PTR on error. Pages are* buffered inside the dio so that we can call get_user_pages() against a* decent number of pages, less frequently. To provide nicer use of the* L1 cache.
函数原型:static inline struct page *dio_get_page(struct dio *dio, struct dio_submit *sdio)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dio * | dio | |
struct dio_submit * | sdio |
214 | 如果How many pages are in the queue?恒等于0则 |
220 | BUG_ON(How many pages are in the queue? == 0) |
222 | 返回:page buffer [xt page to process ] |
名称 | 描述 |
---|---|
do_direct_IO | Walk the user pages, and the file, mapping blocks to disk and generating* a sequence of (page,offset,len,block) mappings. These mappings are injected* into submit_page_section(), which takes care of the next stage of submission |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |