函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blkdev_get_block

函数原型:static int blkdev_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh, int create)

返回类型:int

参数:

类型参数名称
struct inode *inode
sector_tiblock
struct buffer_head *bh
intcreate
170  b_bdev等于I_BDEV(inode)
171  start block number 等于iblock
172  set_buffer_mapped(bh)
173  返回:0