Function report |
Source Code:fs\iomap\fiemap.c |
Create Date:2022-07-28 20:32:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iomap_to_fiemap
Proto:static int iomap_to_fiemap(struct fiemap_extent_info *fi, struct iomap *iomap, unsigned int flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fiemap_extent_info * | fi | |
| struct iomap * | iomap | |
| unsigned int | flags |
| 19 | Case type of mapping == blocks allocated, need allocation |
| 21 | Return 0 |
| 22 | Case type of mapping == delayed allocation blocks |
| 24 | Break |
| 25 | Case type of mapping == locks allocated at @addr |
| 26 | Break |
| 29 | Break |
| 30 | Case type of mapping == data inline in the inode |
| 32 | Break |
| 35 | If flags for mapping & IOMAP_F_MERGED Then flags |= File does not natively* support extents. Result* merged for efficiency. |
| 37 | If flags for mapping & IOMAP_F_SHARED Then flags |= Space shared with other* files. |
| 40 | Return fiemap_fill_next_extent(fi, file offset of mapping, bytes , disk offset of mapping, bytes != addr is not valid ? disk offset of mapping, bytes : 0, length of mapping, bytes , flags) |
| Name | Describe |
|---|---|
| iomap_fiemap_actor | |
| iomap_fiemap |
| 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 |