Searched refs:subv_writers (Results 1 – 4 of 4) sorted by relevance
1576 root->subv_writers = writers; in btrfs_init_fs_root()1588 btrfs_free_subvolume_writers(root->subv_writers); in btrfs_init_fs_root()3550 if (root->subv_writers) in free_fs_root()3551 btrfs_free_subvolume_writers(root->subv_writers); in free_fs_root()
626 prepare_to_wait(&root->subv_writers->wait, &wait, in btrfs_wait_nocow_write()629 writers = percpu_counter_sum(&root->subv_writers->counter); in btrfs_wait_nocow_write()633 finish_wait(&root->subv_writers->wait, &wait); in btrfs_wait_nocow_write()
9670 percpu_counter_dec(&root->subv_writers->counter); in btrfs_end_nocow_write()9676 if (waitqueue_active(&root->subv_writers->wait)) in btrfs_end_nocow_write()9677 wake_up(&root->subv_writers->wait); in btrfs_end_nocow_write()9685 percpu_counter_inc(&root->subv_writers->counter); in btrfs_start_nocow_write()
1893 struct btrfs_subvolume_writers *subv_writers; member