Home
last modified time | relevance | path

Searched refs:events (Results 1 – 2 of 2) sorted by relevance

/block/
Ddisk-events.c171 static void disk_event_uevent(struct gendisk *disk, unsigned int events) in disk_event_uevent() argument
177 if (events & disk->events & (1 << i)) in disk_event_uevent()
189 unsigned int events; in disk_check_events() local
193 events = disk->fops->check_events(disk, clearing); in disk_check_events()
198 events &= ~ev->pending; in disk_check_events()
199 ev->pending |= events; in disk_check_events()
209 if (events & DISK_EVENT_MEDIA_CHANGE) in disk_check_events()
213 disk_event_uevent(disk, events); in disk_check_events()
277 unsigned int events; in bdev_check_media_change() local
279 events = disk_clear_events(bdev->bd_disk, DISK_EVENT_MEDIA_CHANGE | in bdev_check_media_change()
[all …]
DMakefile12 disk-events.o