函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dgrab -- Grab a reference to an already referenced block device*@bdev: Block device to grab a reference to.

函数原型:struct block_device *bdgrab(struct block_device *bdev)

返回类型:struct block_device

参数:

类型参数名称
struct block_device *bdev
941  get additional reference to inode; caller must already hold one.
942  返回:bdev
调用者
名称描述
bd_acquire
bd_start_claimingd_start_claiming - start claiming a block device*@bdev: block device of interest*@holder: holder trying to claim @bdev*@bdev is about to be opened exclusively