函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:14 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lock_invalidatepage - invalidate part or all of a buffer-backed page*@page: the page which is affected*@offset: start of the range to invalidate*@length: length of the range to invalidate* block_invalidatepage() is called when all or part of the page has
函数原型:void block_invalidatepage(struct page *page, unsigned int offset, unsigned int length)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
unsigned int | offset | |
unsigned int | length |
1502 | curr_off等于0 |
1505 | BUG_ON(!PageLocked(page)) |
1506 | 如果非page_has_buffers(page)则转到:out |
1516 | 循环 |
1517 | next_off等于curr_off加 size of mapping |
1529 | 如果offset小于等于curr_off则discard_buffer(bh) |
1542 | out : |
1543 | 返回 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |