Searched refs:scrubs_running (Results 1 – 4 of 4) sorted by relevance
4322 atomic_inc(&fs_info->scrubs_running); in btrfs_scrub_dev()4367 atomic_dec(&fs_info->scrubs_running); in btrfs_scrub_dev()4419 atomic_read(&fs_info->scrubs_running)) { in btrfs_scrub_pause()4423 atomic_read(&fs_info->scrubs_running)); in btrfs_scrub_pause()4438 if (!atomic_read(&fs_info->scrubs_running)) { in btrfs_scrub_cancel()4444 while (atomic_read(&fs_info->scrubs_running)) { in btrfs_scrub_cancel()4447 atomic_read(&fs_info->scrubs_running) == 0); in btrfs_scrub_cancel()
913 atomic_t scrubs_running; member
2204 atomic_set(&fs_info->scrubs_running, 0); in btrfs_init_scrub()
11157 atomic_read(&fs_info->scrubs_running) ? in btrfs_swap_activate()