Lines Matching refs:cached_state
34 struct extent_state **cached_state, in lock_extent_direct() argument
45 if (!try_lock_dio_extent(io_tree, lockstart, lockend, cached_state)) in lock_extent_direct()
48 lock_dio_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
54 cached_state)) { in lock_extent_direct()
59 lock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
81 unlock_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
134 unlock_dio_extent(io_tree, lockstart, lockend, cached_state); in lock_extent_direct()
361 struct extent_state *cached_state = NULL; in btrfs_dio_iomap_begin() local
453 ret = lock_extent_direct(inode, lockstart, lockend, &cached_state, flags); in btrfs_dio_iomap_begin()
579 unlock_bits, &cached_state); in btrfs_dio_iomap_begin()
595 EXTENT_LOCKED | EXTENT_DIO_LOCKED, &cached_state); in btrfs_dio_iomap_begin()