Searched refs:will_be_snapshotted (Results 1 – 4 of 4) sorted by relevance
772 atomic_inc(&root->will_be_snapshotted); in create_snapshot()856 if (atomic_dec_and_test(&root->will_be_snapshotted)) in create_snapshot()857 wake_up_var(&root->will_be_snapshotted); in create_snapshot()
10925 if (atomic_read(&root->will_be_snapshotted)) in btrfs_start_write_no_snapshotting()10933 if (atomic_read(&root->will_be_snapshotted)) { in btrfs_start_write_no_snapshotting()10948 wait_var_event(&root->will_be_snapshotted, in btrfs_wait_for_snapshot_creation()10949 !atomic_read(&root->will_be_snapshotted)); in btrfs_wait_for_snapshot_creation()
1282 atomic_t will_be_snapshotted; member
1189 atomic_set(&root->will_be_snapshotted, 0); in __setup_root()