Function report |
Source Code:fs\block_dev.c |
Create Date:2022-07-28 20:14:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:d_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
Proto:struct block_device *bd_start_claiming(struct block_device *bdev, void *holder)
Type:struct block_device
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct block_device * | bdev | |
| void * | holder |
| 1148 | might_sleep() |
| 1154 | disk = bdev_get_gendisk(bdev, & partno) |
| 1168 | Else whole = dgrab -- Grab a reference to an already referenced block device*@bdev: Block device to grab a reference to. |
| 1171 | put_disk_and_module(disk) |
| 1179 | If err == 0 Then |
| 1183 | Else |
| Name | Describe |
|---|---|
| blkdev_get | lkdev_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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |