Searched refs:blocking_readers (Results 1 – 4 of 4) sorted by relevance
100 atomic_inc(&eb->blocking_readers); in btrfs_set_lock_blocking_read()210 if (eb->blocking_writers || atomic_read(&eb->blocking_readers)) in btrfs_try_tree_write_lock()214 if (eb->blocking_writers || atomic_read(&eb->blocking_readers)) { in btrfs_try_tree_write_lock()264 WARN_ON(atomic_read(&eb->blocking_readers) == 0); in btrfs_tree_read_unlock_blocking()266 if (atomic_dec_and_test(&eb->blocking_readers)) in btrfs_tree_read_unlock_blocking()284 wait_event(eb->read_lock_wq, atomic_read(&eb->blocking_readers) == 0); in btrfs_tree_lock()287 if (atomic_read(&eb->blocking_readers) || eb->blocking_writers) { in btrfs_tree_lock()
161 atomic_read(&eb->blocking_readers), in print_eb_refs_lock()
173 atomic_t blocking_readers; member
4954 atomic_set(&eb->blocking_readers, 0); in __alloc_extent_buffer()