Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:19:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:disk_block_events - block and flush disk event checking*@disk: disk to block events for* On return from this function, it is guaranteed that event checking* isn't in progress and won't happen until unblocked by* disk_unblock_events()
Proto:void disk_block_events(struct gendisk *disk)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct gendisk * | disk |
| 1694 | If Not ev Then Return |
| 1701 | mutex_lock( & protects blocking ) |
| 1703 | spin_lock_irqsave( & lock, flags) |
| 1704 | cancel = Not vent blocking depth ++ |
| 1705 | spin_unlock_irqrestore( & lock, flags) |
| Name | Describe |
|---|---|
| disk_clear_events | disk_clear_events - synchronously check, clear and return pending events*@disk: disk to fetch and clear events from*@mask: mask of events to be fetched and cleared* Disk events are synchronously checked and pending events in @mask |
| disk_events_poll_msecs_store | |
| disk_del_events | |
| 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 |