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()
1224 struct extent_state *cached_state = NULL; in btrfs_buffered_write() local
1323 &lockend, nowait, &cached_state); in btrfs_buffered_write()
1381 &cached_state, only_release_metadata); in btrfs_buffered_write()
1392 lockend, &cached_state); in btrfs_buffered_write()
1394 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()
2591 struct extent_state *cached_state = NULL; in btrfs_punch_hole() local
2701 btrfs_punch_hole_lock_range(inode, lockstart, lockend, &cached_state); in btrfs_punch_hole()
2724 &cached_state); in btrfs_punch_hole()
2981 struct extent_state *cached_state = NULL; in btrfs_zero_range() local
2992 &cached_state); in btrfs_zero_range()
2997 lockend, &cached_state); in btrfs_zero_range()
3005 &cached_state); in btrfs_zero_range()
3026 struct extent_state *cached_state = NULL; in btrfs_fallocate() local
3117 &cached_state); in btrfs_fallocate()
3206 &cached_state); in btrfs_fallocate()
3220 struct extent_state **cached_state, in find_delalloc_subrange() argument
3243 cached_state); in find_delalloc_subrange()
3344 struct extent_state **cached_state, in btrfs_find_delalloc_in_range() argument
3358 cached_state, &search_io_tree, in btrfs_find_delalloc_in_range()
3404 struct extent_state **cached_state, in find_desired_extent_in_hole() argument
3411 delalloc = btrfs_find_delalloc_in_range(inode, start, end, cached_state, in find_desired_extent_in_hole()
3459 struct extent_state *cached_state = NULL; in find_desired_extent() local
3524 lock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()
3670 unlock_extent(&inode->io_tree, lockstart, lockend, &cached_state); in find_desired_extent()