Function report |
Source Code:block\genhd.c |
Create Date:2022-07-28 17:19:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:disk_check_events
Proto:static void disk_check_events(struct disk_events *ev, unsigned int *clearing_ptr)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct disk_events * | ev | |
unsigned int * | clearing_ptr |
1851 | disk = he associated disk |
1852 | char * envp[( size of 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) |
1873 | spin_unlock_irq( & lock) |
1884 | envp[nr_events++] = disk_uevents[i] |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |