Searched refs:scrub_lock (Results 1 – 3 of 3) sorted by relevance
281 mutex_unlock(&fs_info->scrub_lock); in __scrub_blocked_if_needed()284 mutex_lock(&fs_info->scrub_lock); in __scrub_blocked_if_needed()296 mutex_lock(&fs_info->scrub_lock); in scrub_pause_off()299 mutex_unlock(&fs_info->scrub_lock); in scrub_pause_off()3736 &fs_info->scrub_lock)) { in scrub_workers_put()3748 mutex_unlock(&fs_info->scrub_lock); in scrub_workers_put()3787 mutex_lock(&fs_info->scrub_lock); in scrub_workers_get()3796 mutex_unlock(&fs_info->scrub_lock); in scrub_workers_get()3801 mutex_unlock(&fs_info->scrub_lock); in scrub_workers_get()3891 mutex_lock(&fs_info->scrub_lock); in btrfs_scrub_dev()[all …]
854 struct mutex scrub_lock; member
2105 mutex_init(&fs_info->scrub_lock); in btrfs_init_scrub()