1DISK_CLEAR_EVENTS(9) Block Devices DISK_CLEAR_EVENTS(9)
2
3
4
6 disk_clear_events - synchronously check, clear and return pending
7 events
8
10 unsigned int disk_clear_events(struct gendisk * disk,
11 unsigned int mask);
12
14 disk
15 disk to fetch and clear events from
16
17 mask
18 mask of events to be fetched and clearted
19
21 Disk events are synchronously checked and pending events in mask are
22 cleared and returned. This ignores the block count.
23
25 Might sleep.
26
28Kernel Hackers Manual 3.10 June 2019 DISK_CLEAR_EVENTS(9)