Home
last modified time | relevance | path

Searched refs:blocking_readers (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dlocking.c207 atomic_inc(&eb->blocking_readers); in btrfs_set_lock_blocking_read()
344 if (READ_ONCE(eb->blocking_writers) || atomic_read(&eb->blocking_readers)) in btrfs_try_tree_write_lock()
349 if (READ_ONCE(eb->blocking_writers) || atomic_read(&eb->blocking_readers)) { in btrfs_try_tree_write_lock()
406 WARN_ON(atomic_read(&eb->blocking_readers) == 0); in btrfs_tree_read_unlock_blocking()
408 if (atomic_dec_and_test(&eb->blocking_readers)) in btrfs_tree_read_unlock_blocking()
429 wait_event(eb->read_lock_wq, atomic_read(&eb->blocking_readers) == 0); in __btrfs_tree_lock()
433 if (atomic_read(&eb->blocking_readers) || in __btrfs_tree_lock()
Dextent_io.h92 atomic_t blocking_readers; member
Dprint-tree.c199 atomic_read(&eb->blocking_readers), in print_eb_refs_lock()
Dextent_io.c4963 atomic_set(&eb->blocking_readers, 0); in __alloc_extent_buffer()