函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bd_clear_claiming

函数原型:static void bd_clear_claiming(struct block_device *whole, void *holder)

返回类型:void

参数:

类型参数名称
struct block_device *whole
void *holder
1193  lockdep_assert_held( & pseudo-fs)
1195  BUG_ON(bd_claiming != holder)
1196  bd_claiming = NULL
1197  wake_up_bit - wake up a waiter on a bit*@word: the word being waited on, a kernel virtual address*@bit: the bit of the word being waited on* There is a standard hashed waitqueue table for generic use
调用者
名称描述
bd_finish_claimingd_finish_claiming - finish claiming of a block device*@bdev: block device of interest*@whole: whole block device (returned from bd_start_claiming())*@holder: holder that has claimed @bdev* Finish exclusive open of a block device
bd_abort_claimingd_abort_claiming - abort claiming of a block device*@bdev: block device of interest*@whole: whole block device (returned from bd_start_claiming())*@holder: holder that has claimed @bdev* Abort claiming of a block device when the exclusive open failed