Searched refs:root_lock (Results 1 – 1 of 1) sorted by relevance
1830 int root_lock = 0; in btrfs_search_slot_get_root() local1853 root_lock = BTRFS_READ_LOCK; in btrfs_search_slot_get_root()1881 root_lock = BTRFS_WRITE_LOCK; in btrfs_search_slot_get_root()1892 if (root_lock) in btrfs_search_slot_get_root()1893 btrfs_tree_unlock_rw(b, root_lock); in btrfs_search_slot_get_root()1900 p->locks[level] = root_lock; in btrfs_search_slot_get_root()