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