Lines Matching refs:BTRFS_READ_LOCK
63 if (p->locks[i] == BTRFS_READ_LOCK) in btrfs_set_path_blocking()
87 else if (held_rw == BTRFS_READ_LOCK) in btrfs_clear_path_blocking()
98 p->locks[i] = BTRFS_READ_LOCK; in btrfs_clear_path_blocking()
1369 btrfs_set_lock_blocking_rw(eb, BTRFS_READ_LOCK); in tree_mod_log_rewind()
1393 btrfs_clear_path_blocking(path, NULL, BTRFS_READ_LOCK); in tree_mod_log_rewind()
1455 btrfs_set_lock_blocking_rw(eb_root, BTRFS_READ_LOCK); in get_old_root()
2715 root_lock = BTRFS_READ_LOCK; in btrfs_search_slot()
2887 BTRFS_READ_LOCK); in btrfs_search_slot()
2889 p->locks[level] = BTRFS_READ_LOCK; in btrfs_search_slot()
2967 p->locks[level] = BTRFS_READ_LOCK; in btrfs_search_old_slot()
3019 BTRFS_READ_LOCK); in btrfs_search_old_slot()
3026 p->locks[level] = BTRFS_READ_LOCK; in btrfs_search_old_slot()
5134 path->locks[level] = BTRFS_READ_LOCK; in btrfs_search_forward()
5200 path->locks[level - 1] = BTRFS_READ_LOCK; in btrfs_search_forward()
5774 BTRFS_READ_LOCK); in btrfs_next_old_leaf()
5776 next_rw_lock = BTRFS_READ_LOCK; in btrfs_next_old_leaf()
5811 BTRFS_READ_LOCK); in btrfs_next_old_leaf()
5813 next_rw_lock = BTRFS_READ_LOCK; in btrfs_next_old_leaf()