Searched refs:scrubs_running (Results 1 – 4 of 4) sorted by relevance
2892 atomic_inc(&fs_info->scrubs_running); in btrfs_scrub_dev()2936 atomic_dec(&fs_info->scrubs_running); in btrfs_scrub_dev()2986 atomic_read(&fs_info->scrubs_running)) { in btrfs_scrub_pause()2990 atomic_read(&fs_info->scrubs_running)); in btrfs_scrub_pause()3005 if (!atomic_read(&fs_info->scrubs_running)) { in btrfs_scrub_cancel()3011 while (atomic_read(&fs_info->scrubs_running)) { in btrfs_scrub_cancel()3014 atomic_read(&fs_info->scrubs_running) == 0); in btrfs_scrub_cancel()
633 atomic_t scrubs_running; member
1869 atomic_set(&fs_info->scrubs_running, 0); in btrfs_init_scrub()
10766 atomic_read(&fs_info->scrubs_running) ? in btrfs_swap_activate()