函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:generic_block_fiemap - FIEMAP for block based inodes*@inode: The inode to map*@fieinfo: The mapping information*@start: The initial block to map*@len: The length of the extect to attempt to map*@get_block: The block mapping function for the fs* Calls

函数原型:int generic_block_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 len, get_block_t *get_block)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct fiemap_extent_info *fieinfo
u64start
u64len
get_block_t *get_block
454  inode_lock(inode)
455  ret等于__generic_block_fiemap - FIEMAP for block based inodes (no locking)*@inode: the inode to map*@fieinfo: the fiemap info struct that will be passed back to userspace*@start: where to start mapping in the inode*@len: how much space to map*@get_block: the
456  inode_unlock(inode)
457  返回:ret