函数逻辑报告 |
Source Code:fs\iomap\buffered-io.c |
Create Date:2022-07-29 11:07:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:iomap_read_inline_data
函数原型:static void iomap_read_inline_data(struct inode *inode, struct page *page, struct iomap *iomap)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct page * | page | |
struct iomap * | iomap |
229 | 如果PageUptodate(page)则返回 |
232 | BUG_ON( Our offset within mapping. ) |
233 | BUG_ON(size > PAGE_SIZE - offset_in_page(inline_data)) |
235 | addr等于kmap_atomic(page) |
236 | memcpy(addr, inline_data, size) |
238 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(addr) |
239 | SetPageUptodate(page) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |