Searched refs:events (Results 1 – 1 of 1) sorted by relevance
2104 unsigned int events; in bdev_check_media_change() local2106 events = disk_clear_events(bdev->bd_disk, DISK_EVENT_MEDIA_CHANGE | in bdev_check_media_change()2108 if (!(events & DISK_EVENT_MEDIA_CHANGE)) in bdev_check_media_change()2137 unsigned int events; in disk_check_events() local2142 events = disk->fops->check_events(disk, clearing); in disk_check_events()2147 events &= ~ev->pending; in disk_check_events()2148 ev->pending |= events; in disk_check_events()2165 if ((events & disk->events & (1 << i)) && in disk_check_events()2182 static ssize_t __disk_events_show(unsigned int events, char *buf) in __disk_events_show() argument2189 if (events & (1 << i)) { in __disk_events_show()[all …]