Searched refs:nocow_writers (Results 1 – 2 of 2) sorted by relevance
227 atomic_t nocow_writers; member
330 atomic_inc(&bg->nocow_writers); in btrfs_inc_nocow_writers()355 if (atomic_dec_and_test(&bg->nocow_writers)) in btrfs_dec_nocow_writers()356 wake_up_var(&bg->nocow_writers); in btrfs_dec_nocow_writers()364 wait_var_event(&bg->nocow_writers, !atomic_read(&bg->nocow_writers)); in btrfs_wait_nocow_writers()