| Function report | 
| Source Code: fs\iomap\buffered-io.c | Create Date:2022-07-28 20:31:51 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:iomap_read_inline_data
Proto:static void iomap_read_inline_data(struct inode *inode, struct page *page, struct iomap *iomap)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| struct page * | page | |
| struct iomap * | iomap | 
| 229 | If PageUptodate(page) Then Return | 
| 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) | 
| Name | Describe | 
|---|---|
| iomap_readpage_actor | |
| iomap_write_begin | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |