函数逻辑报告 |
Source Code:block\genhd.c |
Create Date:2022-07-27 18:55:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:disk_check_events
函数原型:static void disk_check_events(struct disk_events *ev, unsigned int *clearing_ptr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct disk_events * | ev | |
unsigned int * | clearing_ptr |
1851 | disk等于he associated disk |
1852 | char * envp[(disk_uevents的长度 / sizeof((disk_uevents)[0]) + ((int)(sizeof(struct{int : ( - !!(__builtin_types_compatible_p(typeof((disk_uevents)), typeof( & (disk_uevents)[0]))));})))) + 1] = {} |
1853 | clearing等于clearing_ptr |
1856 | nr_events等于0 |
1859 | events等于check_events(disk, clearing) |
1862 | spin_lock_irq( & lock) |
1864 | events与等于vents already sent out 的反 |
1865 | vents already sent out 或等于events |
1866 | clearing_ptr与等于clearing的反 |
1868 | intv等于disk_events_poll_jiffies(disk) |
1869 | 如果非vent blocking depth 且intv则启动延迟工作队列 |
1873 | spin_unlock_irq( & lock) |
1884 | envp[nr_events++]等于disk_uevents[i] |
名称 | 描述 |
---|---|
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_workfn | Separate this part out so that a different pointer for clearing_ptr can be* passed in for disk_clear_events. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |