函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:legacy ->bmap interface. 0 is the error return (!)

函数原型:sector_t iomap_bmap(struct address_space *mapping, sector_t bno, const struct iomap_ops *ops)

返回类型:sector_t

参数:

类型参数名称
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  如果filemap_write_and_wait(mapping)则返回: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  如果ret则返回:0
146  返回:bno