函数逻辑报告

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_fiemap_actor

函数原型:static loff_t iomap_fiemap_actor(struct inode *inode, loff_t pos, loff_t length, void *data, struct iomap *iomap, struct iomap *srcmap)

返回类型:loff_t

参数:

类型参数名称
struct inode *inode
loff_tpos
loff_tlength
void *data
struct iomap *iomap
struct iomap *srcmap
49  ctx等于data
50  ret等于length
52  如果 type of mapping 恒等于 blocks allocated, need allocation 则返回:length
55  ret等于iomap_to_fiemap(fi, & prev, 0)
56  prev等于iomap
58  :ret恒等于0
59  返回:length
60  :ret恒等于1
61  返回:0
62  默认
63  返回:ret