Function report |
Source Code:fs\iomap\buffered-io.c |
Create Date:2022-07-28 20:31:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We can merge two adjacent ioends if they have the same set of work to do.
Proto:static bool iomap_ioend_can_merge(struct iomap_ioend *ioend, struct iomap_ioend *next)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct iomap_ioend * | ioend | |
| struct iomap_ioend * | next |
| 1200 | If IOMAP_F_* & IOMAP_F_SHARED ^ IOMAP_F_* & IOMAP_F_SHARED Then Return false |
| 1203 | If io_type == locks allocated at @addr in unwritten state ^ io_type == locks allocated at @addr in unwritten state Then Return false |
| 1206 | If ffset in the file + size of the extent != ffset in the file Then Return false |
| 1208 | Return true |
| Name | Describe |
|---|---|
| iomap_ioend_try_merge |
| 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 |