函数逻辑报告 |
Source Code:block\genhd.c |
Create Date:2022-07-27 18:55:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:unsigned int disk_clear_events(struct gendisk *disk, unsigned int mask)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct gendisk * | disk | |
unsigned int | mask |
1799 | 如果非ev则 |
1804 | 返回:0 |
1814 | spin_lock_irq( & lock) |
1815 | clearing或等于vents being cleared |
1816 | vents being cleared 等于0 |
1817 | spin_unlock_irq( & lock) |
1819 | disk_check_events(ev, & clearing) |
1824 | __disk_unblock_events(disk, vents being cleared ? true : false) |
1827 | spin_lock_irq( & lock) |
1828 | pending等于vents already sent out 按位与mask |
1829 | vents already sent out 与等于mask的反 |
1830 | spin_unlock_irq( & lock) |
1831 | WARN_ON_ONCE(clearing & mask) |
1833 | 返回:pending |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |