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_may_claim - test whether a block device can be claimed*@bdev: block device of interest*@whole: whole block device containing @bdev, may equal @bdev*@holder: holder trying to claim @bdev* Test whether @bdev can be claimed by @holder.* CONTEXT:
Proto:static bool bd_may_claim(struct block_device *bdev, struct block_device *whole, void *holder)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct block_device * | bdev | |
struct block_device * | whole | |
void * | holder |
1042 | Else if (bd_holder != NULL) Then Return false |
1049 | Else if (bd_holder != NULL) Then Return false |
1051 | Else Return true |
Name | Describe |
---|---|
bd_prepare_to_claim | d_prepare_to_claim - prepare to claim a block device*@bdev: block device of interest*@whole: the whole device containing @bdev, may equal @bdev*@holder: holder trying to claim @bdev* Prepare to claim @bdev |
bd_finish_claiming | d_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 |
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 |