Lines Matching refs:cached_state

980 				struct extent_state **cached_state)  in lock_and_cleanup_extent_if_need()  argument
996 cached_state)) { in lock_and_cleanup_extent_if_need()
1006 lock_extent(&inode->io_tree, start_pos, last_pos, cached_state); in lock_and_cleanup_extent_if_need()
1015 cached_state); in lock_and_cleanup_extent_if_need()
1066 struct extent_state *cached_state = NULL; in btrfs_check_nocow_lock() local
1084 &cached_state)) { in btrfs_check_nocow_lock()
1090 &cached_state); in btrfs_check_nocow_lock()
1099 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in btrfs_check_nocow_lock()
1226 struct extent_state *cached_state = NULL; in btrfs_buffered_write() local
1325 &lockend, nowait, &cached_state); in btrfs_buffered_write()
1383 &cached_state, only_release_metadata); in btrfs_buffered_write()
1394 lockend, &cached_state); in btrfs_buffered_write()
1396 free_extent_state(cached_state); in btrfs_buffered_write()
2194 struct extent_state **cached_state) in btrfs_punch_hole_lock_range() argument
2211 cached_state); in btrfs_punch_hole_lock_range()
2227 cached_state); in btrfs_punch_hole_lock_range()
2593 struct extent_state *cached_state = NULL; in btrfs_punch_hole() local
2703 btrfs_punch_hole_lock_range(inode, lockstart, lockend, &cached_state); in btrfs_punch_hole()
2727 &cached_state); in btrfs_punch_hole()
2985 struct extent_state *cached_state = NULL; in btrfs_zero_range() local
2996 &cached_state); in btrfs_zero_range()
3001 lockend, &cached_state); in btrfs_zero_range()
3009 &cached_state); in btrfs_zero_range()
3030 struct extent_state *cached_state = NULL; in btrfs_fallocate() local
3121 &cached_state); in btrfs_fallocate()
3211 &cached_state); in btrfs_fallocate()
3225 struct extent_state **cached_state, in find_delalloc_subrange() argument
3248 cached_state); in find_delalloc_subrange()
3349 struct extent_state **cached_state, in btrfs_find_delalloc_in_range() argument
3363 cached_state, &search_io_tree, in btrfs_find_delalloc_in_range()
3409 struct extent_state **cached_state, in find_desired_extent_in_hole() argument
3416 delalloc = btrfs_find_delalloc_in_range(inode, start, end, cached_state, in find_desired_extent_in_hole()
3464 struct extent_state *cached_state = NULL; in find_desired_extent() local
3529 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()
3675 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()