Lines Matching refs:BTRFS_READ_LOCK
48 if (p->locks[i] == BTRFS_READ_LOCK) in btrfs_set_path_blocking()
72 else if (held_rw == BTRFS_READ_LOCK) in btrfs_clear_path_blocking()
83 p->locks[i] = BTRFS_READ_LOCK; in btrfs_clear_path_blocking()
1285 btrfs_set_lock_blocking_rw(eb, BTRFS_READ_LOCK); in tree_mod_log_rewind()
1309 btrfs_clear_path_blocking(path, NULL, BTRFS_READ_LOCK); in tree_mod_log_rewind()
1377 btrfs_set_lock_blocking_rw(eb_root, BTRFS_READ_LOCK); in get_old_root()
2607 root_lock = BTRFS_READ_LOCK; in btrfs_search_slot_get_root()
2884 BTRFS_READ_LOCK); in btrfs_search_slot()
2886 p->locks[level] = BTRFS_READ_LOCK; in btrfs_search_slot()
2965 p->locks[level] = BTRFS_READ_LOCK; in btrfs_search_old_slot()
3017 BTRFS_READ_LOCK); in btrfs_search_old_slot()
3024 p->locks[level] = BTRFS_READ_LOCK; in btrfs_search_old_slot()
5129 path->locks[level] = BTRFS_READ_LOCK; in btrfs_search_forward()
5198 path->locks[level - 1] = BTRFS_READ_LOCK; in btrfs_search_forward()
5787 BTRFS_READ_LOCK); in btrfs_next_old_leaf()
5789 next_rw_lock = BTRFS_READ_LOCK; in btrfs_next_old_leaf()
5824 BTRFS_READ_LOCK); in btrfs_next_old_leaf()
5826 next_rw_lock = BTRFS_READ_LOCK; in btrfs_next_old_leaf()