Searched refs:disk_events_disable_depth (Results 1 – 3 of 3) sorted by relevance
211 atomic_t disk_events_disable_depth; /* disable depth for disk events */ member
2967 atomic_inc(&sdev->disk_events_disable_depth); in sdev_disable_disk_events()2973 if (WARN_ON_ONCE(atomic_read(&sdev->disk_events_disable_depth) <= 0)) in sdev_enable_disk_events()2975 atomic_dec(&sdev->disk_events_disable_depth); in sdev_enable_disk_events()
665 if (!atomic_read(&cd->device->disk_events_disable_depth)) in sr_block_check_events()