Searched refs:blocking_writers (Results 1 – 4 of 4) sorted by relevance
33 if (atomic_read(&eb->blocking_writers) == 0) { in btrfs_set_lock_blocking_rw()37 atomic_inc(&eb->blocking_writers); in btrfs_set_lock_blocking_rw()65 BUG_ON(atomic_read(&eb->blocking_writers) != 1); in btrfs_clear_lock_blocking_rw()70 if (atomic_dec_and_test(&eb->blocking_writers)) in btrfs_clear_lock_blocking_rw()89 BUG_ON(!atomic_read(&eb->blocking_writers) && in btrfs_tree_read_lock()93 if (atomic_read(&eb->blocking_writers) && in btrfs_tree_read_lock()106 if (atomic_read(&eb->blocking_writers)) { in btrfs_tree_read_lock()109 atomic_read(&eb->blocking_writers) == 0); in btrfs_tree_read_lock()123 if (atomic_read(&eb->blocking_writers)) in btrfs_tree_read_lock_atomic()127 if (atomic_read(&eb->blocking_writers)) { in btrfs_tree_read_lock_atomic()[all …]
160 atomic_read(&eb->blocking_writers), in print_eb_refs_lock()
169 atomic_t blocking_writers; member
4834 atomic_set(&eb->blocking_writers, 0); in __alloc_extent_buffer()