函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:16 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:If a page has any new buffers, zero them out here, and mark them uptodate* and dirty so they'll be written out (in order to prevent uninitialised* block data from leaking). And clear the new bit.
函数原型:void page_zero_new_buffers(struct page *page, unsigned from, unsigned to)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
unsigned | from | |
unsigned | to |
1883 | BUG_ON(!PageLocked(page)) |
1884 | 如果非page_has_buffers(page)则返回 |
1888 | block_start等于0 |
1889 | 循环 |
1890 | block_end等于block_start加 size of mapping |
1892 | 如果buffer_new(bh)则 |
1893 | 如果block_end大于from且block_start小于to则 |
1909 | block_start等于block_end |
名称 | 描述 |
---|---|
__block_write_begin_int | |
block_write_end | |
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |