Home
last modified time | relevance | path

Searched refs:nocow_writers (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dblock-group.h227 atomic_t nocow_writers; member
H A Dblock-group.c330 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()