Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dlocking.c42 atomic_inc(&eb->blocking_readers); in btrfs_set_lock_blocking_rw()
73 BUG_ON(atomic_read(&eb->blocking_readers) == 0); in btrfs_clear_lock_blocking_rw()
77 if (atomic_dec_and_test(&eb->blocking_readers)) in btrfs_clear_lock_blocking_rw()
164 atomic_read(&eb->blocking_readers)) in btrfs_try_tree_write_lock()
169 atomic_read(&eb->blocking_readers)) { in btrfs_try_tree_write_lock()
217 WARN_ON(atomic_read(&eb->blocking_readers) == 0); in btrfs_tree_read_unlock_blocking()
219 if (atomic_dec_and_test(&eb->blocking_readers)) in btrfs_tree_read_unlock_blocking()
232 wait_event(eb->read_lock_wq, atomic_read(&eb->blocking_readers) == 0); in btrfs_tree_lock()
235 if (atomic_read(&eb->blocking_readers)) { in btrfs_tree_lock()
238 atomic_read(&eb->blocking_readers) == 0); in btrfs_tree_lock()
Ddev-replace.c1043 atomic_read(&dev_replace->blocking_readers) == 0); in btrfs_dev_replace_write_lock()
1045 if (atomic_read(&dev_replace->blocking_readers)) { in btrfs_dev_replace_write_lock()
1053 ASSERT(atomic_read(&dev_replace->blocking_readers) == 0); in btrfs_dev_replace_write_unlock()
1063 atomic_inc(&dev_replace->blocking_readers); in btrfs_dev_replace_set_lock_blocking()
1073 ASSERT(atomic_read(&dev_replace->blocking_readers) > 0); in btrfs_dev_replace_clear_lock_blocking()
1076 if (atomic_dec_and_test(&dev_replace->blocking_readers)) in btrfs_dev_replace_clear_lock_blocking()
Dprint-tree.c161 atomic_read(&eb->blocking_readers), in print_eb_refs_lock()
Dextent_io.h170 atomic_t blocking_readers; member
Dctree.h372 atomic_t blocking_readers; member
Ddisk-io.c2154 atomic_set(&fs_info->dev_replace.blocking_readers, 0); in btrfs_init_dev_replace_locks()
Dextent_io.c4833 atomic_set(&eb->blocking_readers, 0); in __alloc_extent_buffer()