Searched refs:nocow_writers (Results 1 – 2 of 2) sorted by relevance
200 atomic_t nocow_writers; member
316 atomic_inc(&bg->nocow_writers); in btrfs_inc_nocow_writers()343 if (atomic_dec_and_test(&bg->nocow_writers)) in btrfs_dec_nocow_writers()344 wake_up_var(&bg->nocow_writers); in btrfs_dec_nocow_writers()352 wait_var_event(&bg->nocow_writers, !atomic_read(&bg->nocow_writers)); in btrfs_wait_nocow_writers()