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:legacy ->bmap interface. 0 is the error return (!)

Proto:sector_t iomap_bmap(struct address_space *mapping, sector_t bno, const struct iomap_ops *ops)

Type:sector_t

Parameter:

TypeParameterName
struct address_space *mapping
sector_tbno
const struct iomap_ops *ops
133  inode = host
134  pos = bno << i_blkbits
135  blocksize = i_blocksize(inode)
138  If filemap_write_and_wait(mapping) Then Return 0
141  bno = 0
142  ret = Execute a iomap write on a segment of the mapping that spans a* contiguous range of pages that have identical block mapping state
144  If ret Then Return 0
146  Return bno