Function report |
Source Code:fs\iomap\buffered-io.c |
Create Date:2022-07-28 20:31:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iomap_can_add_to_ioend
Proto:static bool iomap_can_add_to_ioend(struct iomap_writepage_ctx *wpc, loff_t offset, sector_t sector)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct iomap_writepage_ctx * | wpc | |
| loff_t | offset | |
| sector_t | sector |
| 1346 | If ( flags for mapping & IOMAP_F_SHARED) != (IOMAP_F_* & IOMAP_F_SHARED) Then Return false |
| 1349 | If type of mapping != io_type Then Return false |
| 1351 | If offset != ffset in the file + size of the extent Then Return false |
| 1353 | If sector != bio_end_sector( being built ) Then Return false |
| 1355 | Return true |
| Name | Describe |
|---|---|
| iomap_add_to_ioend | Test to see if we have an existing ioend structure that we could append to* first, otherwise finish off the current ioend and start another. |
| 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 |