Searched refs:read_locks (Results 1 – 7 of 7) sorted by relevance
112 atomic_inc(&eb->read_locks); in btrfs_tree_read_lock()131 atomic_inc(&eb->read_locks); in btrfs_tree_read_lock_atomic()152 atomic_inc(&eb->read_locks); in btrfs_try_tree_read_lock()197 atomic_dec(&eb->read_locks); in btrfs_tree_read_unlock()221 atomic_dec(&eb->read_locks); in btrfs_tree_read_unlock_blocking()286 BUG_ON(!atomic_read(&eb->read_locks)); in btrfs_assert_tree_read_locked()
1029 atomic_inc(&dev_replace->read_locks); in btrfs_dev_replace_read_lock()1034 ASSERT(atomic_read(&dev_replace->read_locks) > 0); in btrfs_dev_replace_read_unlock()1035 atomic_dec(&dev_replace->read_locks); in btrfs_dev_replace_read_unlock()1062 ASSERT(atomic_read(&dev_replace->read_locks) > 0); in btrfs_dev_replace_set_lock_blocking()1072 ASSERT(atomic_read(&dev_replace->read_locks) > 0); in btrfs_dev_replace_clear_lock_blocking()
159 atomic_read(&eb->read_locks), in print_eb_refs_lock()
168 atomic_t read_locks; member
371 atomic_t read_locks; member
2153 atomic_set(&fs_info->dev_replace.read_locks, 0); in btrfs_init_dev_replace_locks()
4832 atomic_set(&eb->read_locks, 0); in __alloc_extent_buffer()