Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dlocking.c33 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 …]
Dprint-tree.c160 atomic_read(&eb->blocking_writers), in print_eb_refs_lock()
Dextent_io.h169 atomic_t blocking_writers; member
Dextent_io.c4834 atomic_set(&eb->blocking_writers, 0); in __alloc_extent_buffer()