synchronously check, clear and return pending events
unsigned int disk_clear_events (
disk to fetch and clear events from
mask of events to be fetched and cleared
Disk events are synchronously checked and pending events in mask
are cleared and returned. This ignores the block count.