Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:iomap_fiemap_actor

Proto:static loff_t iomap_fiemap_actor(struct inode *inode, loff_t pos, loff_t length, void *data, struct iomap *iomap, struct iomap *srcmap)

Type:loff_t

Parameter:

TypeParameterName
struct inode *inode
loff_tpos
loff_tlength
void *data
struct iomap *iomap
struct iomap *srcmap
49  ctx = data
50  ret = length
52  If type of mapping == blocks allocated, need allocation Then Return length
55  ret = iomap_to_fiemap(fi, & prev, 0)
56  prev = iomap
58  Case ret == 0
59  Return length
60  Case ret == 1
61  Return 0
62  Default
63  Return ret