Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-28 20:14:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:d_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

Proto:void bd_abort_claiming(struct block_device *bdev, struct block_device *whole, void *holder)

Type:void

Parameter:

TypeParameterName
struct block_device *bdev
struct block_device *whole
void *holder
1240  spin_lock( & pseudo-fs)
1241  bd_clear_claiming(whole, holder)
1242  spin_unlock( & pseudo-fs)
Caller
NameDescribe
blkdev_getlkdev_get - open a block device*@bdev: block_device to open*@mode: FMODE_* mask*@holder: exclusive holder identifier* Open @bdev with @mode. If @mode includes %FMODE_EXCL, @bdev is* open with exclusive access. Specifying %FMODE_EXCL with %NULL