函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__disk_unblock_events

函数原型:static void __disk_unblock_events(struct gendisk *disk, bool check_now)

返回类型:void

参数:

类型参数名称
struct gendisk *disk
boolcheck_now
1715  ev等于ev
1719  spin_lock_irqsave( & lock, flags)
1721  如果WARN_ON_ONCE(vent blocking depth <= 0)则转到:out_unlock
1724  如果vent blocking depth 先自减则转到:out_unlock
1727  intv等于disk_events_poll_jiffies(disk)
1728  如果check_now启动延迟工作队列
1731  否则如果intv启动延迟工作队列
1734  out_unlock :
1735  spin_unlock_irqrestore( & lock, flags)
调用者
名称描述
disk_unblock_eventsdisk_unblock_events - unblock disk event checking*@disk: disk to unblock events for* Undo disk_block_events(). When the block count reaches zero, it* starts events polling if configured.* CONTEXT:* Don't care. Safe to call from irq context.
disk_clear_eventsdisk_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_add_events