Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\genhd.c Create Date:2022-07-28 17:19:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:disk_flush_events - schedule immediate event checking and flushing*@disk: disk to check and flush events for*@mask: events to flush* Schedule immediate event checking on @disk if not blocked. Events in*@mask are scheduled to be cleared from the driver

Proto:void disk_flush_events(struct gendisk *disk, unsigned int mask)

Type:void

Parameter:

TypeParameterName
struct gendisk *disk
unsigned intmask
1768  ev = ev
1770  If Not ev Then Return
1773  spin_lock_irq( & lock)
1774  vents being cleared |= mask
1775  If Not vent blocking depth Then mod_delayed_work - modify delay of or queue a delayed work*@wq: workqueue to use*@dwork: work to queue*@delay: number of jiffies to wait before queueing* mod_delayed_work_on() on local CPU.
1778  spin_unlock_irq( & lock)
Caller
NameDescribe
disk_events_set_dfl_poll_msecsThe default polling interval can be specified by the kernel* parameter block.events_dfl_poll_msecs which defaults to 0* (disable). This can also be modified runtime by writing to* /sys/module/block/parameters/events_dfl_poll_msecs.