函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\fiemap.c Create Date:2022-07-29 11:07:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iomap_to_fiemap

函数原型:static int iomap_to_fiemap(struct fiemap_extent_info *fi, struct iomap *iomap, unsigned int flags)

返回类型:int

参数:

类型参数名称
struct fiemap_extent_info *fi
struct iomap *iomap
unsigned intflags
19  : type of mapping 恒等于 blocks allocated, need allocation
21  返回:0
22  : type of mapping 恒等于delayed allocation blocks
23  flags或等于Location still pending.* Sets EXTENT_UNKNOWN. 按位或Data location unknown.
24  退出
25  : type of mapping 恒等于locks allocated at @addr
26  退出
27  : type of mapping 恒等于locks allocated at @addr in unwritten state
28  flags或等于Space allocated, but* no data (i.e. zero).
29  退出
30  : type of mapping 恒等于data inline in the inode
31  flags或等于Data mixed with metadata.* Sets EXTENT_NOT_ALIGNED.
32  退出
35  如果 flags for mapping 按位与IOMAP_F_MERGEDflags或等于File does not natively* support extents. Result* merged for efficiency.
37  如果 flags for mapping 按位与IOMAP_F_SHAREDflags或等于Space shared with other* files.
40  返回: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)
调用者
名称描述
iomap_fiemap_actor
iomap_fiemap