Searched refs:root_lock (Results 1 – 1 of 1) sorted by relevance
2592 int root_lock = 0; in btrfs_search_slot_get_root() local2633 root_lock = BTRFS_READ_LOCK; in btrfs_search_slot_get_root()2655 root_lock = BTRFS_WRITE_LOCK; in btrfs_search_slot_get_root()2666 if (root_lock) in btrfs_search_slot_get_root()2667 btrfs_tree_unlock_rw(b, root_lock); in btrfs_search_slot_get_root()2674 p->locks[level] = root_lock; in btrfs_search_slot_get_root()