Function report |
Source Code:fs\iomap\direct-io.c |
Create Date:2022-07-28 20:32:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iomap_dio_inline_actor
Proto:static loff_t iomap_dio_inline_actor(struct inode *inode, loff_t pos, loff_t length, struct iomap_dio *dio, struct iomap *iomap)
Type:loff_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode | |
| loff_t | pos | |
| loff_t | length | |
| struct iomap_dio * | dio | |
| struct iomap * | iomap |
| 346 | BUG_ON(pos + length > PAGE_SIZE - offset_in_page(inline_data)) |
| 348 | If flags & IOMAP_DIO_WRITE Then |
| 353 | copied = copy_from_iter(inline_data + pos, length, iter) |
| 354 | If copied Then |
| 359 | Else |
| 360 | copied = copy_to_iter(inline_data + pos, length, iter) |
| 363 | Return copied |
| Name | Describe |
|---|---|
| iomap_dio_actor |
| 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 |