函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:26:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Find or create a page at the given pagecache position. Return the locked* page. This function is specifically for buffered writes.
函数原型:struct page *grab_cache_page_write_begin(struct address_space *mapping, unsigned long index, unsigned flags)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
unsigned long | index | |
unsigned | flags |
3256 | 如果flags按位与used by filesystem to direct* helper code (eg buffer layer)* to clear GFP_FS from alloc 则fgp_flags或等于FGP_NOFS |
3261 | 如果page则wait_for_stable_page(page) |
3264 | 返回:page |
名称 | 描述 |
---|---|
block_write_begin | lock_write_begin takes care of the basic task of block allocation and* bringing partial write blocks uptodate first.* The filesystem needs to handle block truncation upon failure. |
nobh_write_begin | On entry, the page is fully not uptodate.* On exit the page is fully uptodate in the areas outside (from,to)* The filesystem needs to handle block truncation upon failure. |
iomap_write_begin | |
simple_write_begin |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |