Home
last modified time | relevance | path

Searched refs:cached_state (Results 1 – 14 of 14) sorted by relevance

/fs/btrfs/
Dextent-io-tree.h113 struct extent_state *cached_state);
158 struct extent_state **cached_state, gfp_t mask);
169 u64 end, struct extent_state **cached_state) in clear_extent_uptodate() argument
172 cached_state, GFP_NOFS, NULL); in clear_extent_uptodate()
192 struct extent_state **cached_state);
196 struct extent_state **cached_state) in set_extent_delalloc() argument
200 NULL, cached_state, GFP_NOFS); in set_extent_delalloc()
204 u64 end, struct extent_state **cached_state) in set_extent_defrag() argument
208 NULL, cached_state, GFP_NOFS); in set_extent_defrag()
219 u64 end, struct extent_state **cached_state, gfp_t mask) in set_extent_uptodate() argument
[all …]
Dextent_io.c697 struct extent_state **cached_state, in __clear_extent_bit() argument
732 if (cached_state) { in __clear_extent_bit()
733 cached = *cached_state; in __clear_extent_bit()
736 *cached_state = NULL; in __clear_extent_bit()
737 cached_state = NULL; in __clear_extent_bit()
966 u64 *failed_start, struct extent_state **cached_state, in __set_extent_bit() argument
994 if (cached_state && *cached_state) { in __set_extent_bit()
995 state = *cached_state; in __set_extent_bit()
1015 cache_state(prealloc, cached_state); in __set_extent_bit()
1038 cache_state(state, cached_state); in __set_extent_bit()
[all …]
Dfile.c1409 struct extent_state **cached_state) in lock_and_cleanup_extent_if_need() argument
1424 cached_state); in lock_and_cleanup_extent_if_need()
1431 last_pos, cached_state); in lock_and_cleanup_extent_if_need()
1587 struct extent_state *cached_state = NULL; in btrfs_buffered_write() local
1676 &lockend, &cached_state); in btrfs_buffered_write()
1735 &cached_state); in btrfs_buffered_write()
1746 lockstart, lockend, &cached_state); in btrfs_buffered_write()
1748 free_extent_state(cached_state); in btrfs_buffered_write()
2478 struct extent_state **cached_state) in btrfs_punch_hole_lock_range() argument
2487 cached_state); in btrfs_punch_hole_lock_range()
[all …]
Dinode.c2258 struct extent_state **cached_state) in btrfs_find_new_delalloc_bytes() argument
2285 NULL, cached_state, GFP_NOFS); in btrfs_find_new_delalloc_bytes()
2297 struct extent_state **cached_state) in btrfs_set_extent_delalloc() argument
2313 cached_state); in btrfs_set_extent_delalloc()
2319 cached_state); in btrfs_set_extent_delalloc()
2333 struct extent_state *cached_state = NULL; in btrfs_writepage_fixup_worker() local
2397 lock_extent_bits(&inode->io_tree, page_start, page_end, &cached_state); in btrfs_writepage_fixup_worker()
2406 &cached_state); in btrfs_writepage_fixup_worker()
2414 &cached_state); in btrfs_writepage_fixup_worker()
2433 &cached_state); in btrfs_writepage_fixup_worker()
[all …]
Dtransaction.c1020 struct extent_state *cached_state = NULL; in btrfs_write_marked_extents() local
1026 mark, &cached_state)) { in btrfs_write_marked_extents()
1031 mark, &cached_state); in btrfs_write_marked_extents()
1055 free_extent_state(cached_state); in btrfs_write_marked_extents()
1056 cached_state = NULL; in btrfs_write_marked_extents()
1076 struct extent_state *cached_state = NULL; in __btrfs_wait_marked_extents() local
1081 EXTENT_NEED_WAIT, &cached_state)) { in __btrfs_wait_marked_extents()
1091 EXTENT_NEED_WAIT, 0, 0, &cached_state); in __btrfs_wait_marked_extents()
1098 free_extent_state(cached_state); in __btrfs_wait_marked_extents()
1099 cached_state = NULL; in __btrfs_wait_marked_extents()
Dordered-data.c917 struct extent_state **cached_state) in btrfs_lock_and_flush_ordered_range() argument
923 if (cached_state) in btrfs_lock_and_flush_ordered_range()
924 cachedp = cached_state; in btrfs_lock_and_flush_ordered_range()
936 if (!cached_state) in btrfs_lock_and_flush_ordered_range()
Dordered-data.h195 struct extent_state **cached_state);
Ddev-replace.c643 struct extent_state *cached_state = NULL; in btrfs_set_target_alloc_state() local
653 CHUNK_ALLOCATED, &cached_state)) { in btrfs_set_target_alloc_state()
661 free_extent_state(cached_state); in btrfs_set_target_alloc_state()
Dfree-space-cache.c1163 struct extent_state **cached_state) in cleanup_write_cache_enospc() argument
1167 i_size_read(inode) - 1, cached_state); in cleanup_write_cache_enospc()
1262 struct extent_state *cached_state = NULL; in __btrfs_write_out_cache() local
1298 &cached_state); in __btrfs_write_out_cache()
1340 &cached_state); in __btrfs_write_out_cache()
1354 i_size_read(inode) - 1, &cached_state); in __btrfs_write_out_cache()
1376 cleanup_write_cache_enospc(inode, io_ctl, &cached_state); in __btrfs_write_out_cache()
Dioctl.c1298 struct extent_state *cached_state = NULL; in cluster_pages_for_defrag() local
1329 &cached_state); in cluster_pages_for_defrag()
1333 &cached_state); in cluster_pages_for_defrag()
1389 page_start, page_end - 1, &cached_state); in cluster_pages_for_defrag()
1426 EXTENT_DEFRAG, 0, 0, &cached_state); in cluster_pages_for_defrag()
1438 &cached_state); in cluster_pages_for_defrag()
1441 page_start, page_end - 1, &cached_state); in cluster_pages_for_defrag()
1457 page_start, page_end - 1, &cached_state); in cluster_pages_for_defrag()
Ddisk-io.c241 struct extent_state *cached_state = NULL; in verify_parent_transid() local
257 &cached_state); in verify_parent_transid()
281 &cached_state); in verify_parent_transid()
4624 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent() local
4634 EXTENT_DIRTY, &cached_state); in btrfs_destroy_pinned_extent()
4640 clear_extent_dirty(unpin, start, end, &cached_state); in btrfs_destroy_pinned_extent()
4641 free_extent_state(cached_state); in btrfs_destroy_pinned_extent()
Dextent-tree.c2834 struct extent_state *cached_state = NULL; in btrfs_finish_extent_commit() local
2838 EXTENT_DIRTY, &cached_state); in btrfs_finish_extent_commit()
2851 clear_extent_dirty(unpin, start, end, &cached_state); in btrfs_finish_extent_commit()
2854 free_extent_state(cached_state); in btrfs_finish_extent_commit()
Dtree-log.c3947 struct extent_state *cached_state = NULL; in log_csums() local
3965 lock_end, &cached_state); in log_csums()
3982 &cached_state); in log_csums()
Dctree.h3014 struct extent_state **cached_state);