Function report |
Source Code:fs\ioctl.c |
Create Date:2022-07-28 20:06:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fiemap_fill_next_extent
Proto:int fiemap_fill_next_extent(struct fiemap_extent_info *fieinfo, u64 logical, u64 phys, u64 len, unsigned int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct fiemap_extent_info * | fieinfo | |
u64 | logical | |
u64 | phys | |
u64 | len | |
unsigned int | flags |
97 | If Size of fiemap_extent array == 0 Then |
98 | Number of mapped extents ++ |
99 | Return If flags & Last extent in file. Then 1 Else 0 |
102 | If Number of mapped extents >= Size of fiemap_extent array Then Return 1 |
107 | If flags & SET_NO_UNMOUNTED_IO_FLAGS Then flags |= Data can not be read* while fs is unmounted |
109 | If flags & SET_NOT_ALIGNED_FLAGS Then flags |= Extent offsets may not be* block aligned. |
118 | dest += Number of mapped extents |
119 | If copy_to_user(dest, & extent, size of extent ) Then Return -EFAULT |
122 | Number of mapped extents ++ |
123 | If Number of mapped extents == Size of fiemap_extent array Then Return 1 |
125 | Return If flags & Last extent in file. Then 1 Else 0 |
Name | Describe |
---|---|
__generic_block_fiemap | __generic_block_fiemap - FIEMAP for block based inodes (no locking)*@inode: the inode to map*@fieinfo: the fiemap info struct that will be passed back to userspace*@start: where to start mapping in the inode*@len: how much space to map*@get_block: the |
iomap_to_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 |