函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:34:44 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:write_one_page - write out a single page and wait on I/O*@page: the page to write* The page must be locked by the caller and will be unlocked upon return
函数原型:int write_one_page(struct page *page)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
2369 | ret等于0 |
2370 | struct writeback_control wbc = {sync_mode = WB_SYNC_ALL, Write this many pages, and decrementthis for each page written = 1, } |
2375 | BUG_ON(!PageLocked(page)) |
2382 | 如果ret恒等于0则Wait for a page to complete writeback |
2385 | 否则 |
2389 | 如果非ret则ret等于filemap_check_errors(mapping) |
2391 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |