Searched refs:DISK_EVENT_MEDIA_CHANGE (Results 1 – 15 of 15) sorted by relevance
25 [ilog2(DISK_EVENT_MEDIA_CHANGE)] = "media_change",30 [ilog2(DISK_EVENT_MEDIA_CHANGE)] = "DISK_MEDIA_CHANGE=1",209 if (events & DISK_EVENT_MEDIA_CHANGE) in disk_check_events()279 events = disk_clear_events(disk, DISK_EVENT_MEDIA_CHANGE | in disk_check_media_change()281 if (!(events & DISK_EVENT_MEDIA_CHANGE)) in disk_check_media_change()300 disk_event_uevent(disk, DISK_EVENT_MEDIA_CHANGE); in disk_force_media_change()
895 disk_flush_events(disk, DISK_EVENT_MEDIA_CHANGE); in blkdev_put()
181 return DISK_EVENT_MEDIA_CHANGE; in sr_get_events()192 return DISK_EVENT_MEDIA_CHANGE; in sr_get_events()194 return DISK_EVENT_MEDIA_CHANGE; in sr_get_events()219 cd->get_event_changed |= events & DISK_EVENT_MEDIA_CHANGE; in sr_check_events()228 events &= ~DISK_EVENT_MEDIA_CHANGE; in sr_check_events()238 events |= DISK_EVENT_MEDIA_CHANGE; in sr_check_events()243 if (!(clearing & DISK_EVENT_MEDIA_CHANGE)) in sr_check_events()262 events |= DISK_EVENT_MEDIA_CHANGE; in sr_check_events()647 disk->events = DISK_EVENT_MEDIA_CHANGE | DISK_EVENT_EJECT_REQUEST; in sr_probe()
1642 return disk_changed ? DISK_EVENT_MEDIA_CHANGE : 0; in sd_check_events()3745 gd->events |= DISK_EVENT_MEDIA_CHANGE; in sd_probe()
383 DISK_EVENT_MEDIA_CHANGE : 0; in gdrom_check_events()793 gd.disk->events = DISK_EVENT_MEDIA_CHANGE; in probe_gdrom()
1503 cdrom_update_events(cdi, DISK_EVENT_MEDIA_CHANGE); in media_changed()1504 changed = cdi->ioctl_events & DISK_EVENT_MEDIA_CHANGE; in media_changed()
1442 return DISK_EVENT_MEDIA_CHANGE; in floppy_check_events()1446 return DISK_EVENT_MEDIA_CHANGE; in floppy_check_events()1452 return DISK_EVENT_MEDIA_CHANGE; in floppy_check_events()2005 disk->events = DISK_EVENT_MEDIA_CHANGE; in ataflop_alloc_disk()
736 return fs->ejected ? DISK_EVENT_MEDIA_CHANGE : 0; in floppy_check_events()842 swd->unit[drive].disk->events = DISK_EVENT_MEDIA_CHANGE; in swim_floppy_init()
1028 return fs->ejected ? DISK_EVENT_MEDIA_CHANGE : 0; in floppy_check_events()1228 disk->events = DISK_EVENT_MEDIA_CHANGE; in swim3_attach()
1759 return DISK_EVENT_MEDIA_CHANGE; in amiga_check_events()1791 disk->events = DISK_EVENT_MEDIA_CHANGE; in fd_alloc_disk()
4094 return DISK_EVENT_MEDIA_CHANGE; in floppy_check_events()4107 return DISK_EVENT_MEDIA_CHANGE; in floppy_check_events()4526 disk->events = DISK_EVENT_MEDIA_CHANGE; in floppy_alloc_disk()
2081 disk->events = DISK_EVENT_MEDIA_CHANGE; in loop_add()
614 disk->fops->check_events(disk, 0) & DISK_EVENT_MEDIA_CHANGE) { in dmz_check_bdev()
5741 disk->events |= DISK_EVENT_MEDIA_CHANGE; in md_alloc()7931 ret = DISK_EVENT_MEDIA_CHANGE; in md_check_events()
91 DISK_EVENT_MEDIA_CHANGE = 1 << 0, /* media changed */ enumerator