函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\genhd.c Create Date:2022-07-27 18:54:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void disk_flush_events(struct gendisk *disk, unsigned int mask)

返回类型:void

参数:

类型参数名称
struct gendisk *disk
unsigned intmask
1768  ev等于ev
1770  如果非ev则返回
1773  spin_lock_irq( & lock)
1774  vents being cleared 或等于mask
1775  如果非vent blocking depth 修改延迟工作队列
1778  spin_unlock_irq( & lock)
调用者
名称描述
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.