函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:18 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:lock_is_partially_uptodate checks whether buffers within a page are* uptodate or not.* Returns true if all buffers which correspond to a file portion* we want to read are uptodate.
函数原型:int block_is_partially_uptodate(struct page *page, unsigned long from, unsigned long count)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct page * | page | |
| unsigned long | from | |
| unsigned long | count |
| 2217 | ret等于1 |
| 2219 | 如果非page_has_buffers(page)则返回:0 |
| 2223 | blocksize等于 size of mapping |
| 2224 | to等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsigned, PAGE_SIZE - from, count) |
| 2230 | block_start等于0 |
| 2231 | 循环 |
| 2232 | block_end等于block_start加blocksize |
| 2233 | 如果block_end大于from且block_start小于to则 |
| 2241 | block_start等于block_end |
| 2245 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |