Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/fs/btrfs/
A Dextent-io-tree.c585 if (cached_state) { in __clear_extent_bit()
590 cached_state = NULL; in __clear_extent_bit()
730 if (cached_state && *cached_state) { in wait_extent_bit()
767 if (cached_state && *cached_state) { in wait_extent_bit()
769 *cached_state = NULL; in wait_extent_bit()
833 if (cached_state && *cached_state) { in find_first_extent_bit()
845 *cached_state = NULL; in find_first_extent_bit()
1002 if (cached_state && *cached_state) { in __set_extent_bit()
1247 if (cached_state && *cached_state) { in convert_extent_bit()
1559 if (!cached_state || !*cached_state) in count_range_bits()
[all …]
A Dextent-io-tree.h122 struct extent_state **cached_state);
172 u64 end, struct extent_state **cached_state) in clear_extent_uptodate() argument
175 cached_state, GFP_NOFS, NULL); in clear_extent_uptodate()
194 struct extent_state **cached_state);
198 struct extent_state **cached_state) in set_extent_delalloc() argument
202 cached_state, GFP_NOFS); in set_extent_delalloc()
206 u64 end, struct extent_state **cached_state) in set_extent_defrag() argument
210 cached_state, GFP_NOFS); in set_extent_defrag()
221 struct extent_state **cached_state);
228 struct extent_state **cached_state);
[all …]
A Dfile.c1015 cached_state); in lock_and_cleanup_extent_if_need()
1084 &cached_state)) { in btrfs_check_nocow_lock()
1090 &cached_state); in btrfs_check_nocow_lock()
2211 cached_state); in btrfs_punch_hole_lock_range()
2227 cached_state); in btrfs_punch_hole_lock_range()
2727 &cached_state); in btrfs_punch_hole()
2996 &cached_state); in btrfs_zero_range()
3009 &cached_state); in btrfs_zero_range()
3121 &cached_state); in btrfs_fallocate()
3211 &cached_state); in btrfs_fallocate()
[all …]
A Ddefrag.c726 struct extent_state *cached_state = NULL; in defrag_prepare_one_page() local
760 lock_extent(&inode->io_tree, page_start, page_end, &cached_state); in defrag_prepare_one_page()
763 &cached_state); in defrag_prepare_one_page()
1023 struct extent_state **cached_state) in defrag_one_locked_target() argument
1042 EXTENT_DEFRAG, cached_state); in defrag_one_locked_target()
1043 set_extent_defrag(&inode->io_tree, start, start + len - 1, cached_state); in defrag_one_locked_target()
1060 struct extent_state *cached_state = NULL; in defrag_one_range() local
1094 &cached_state); in defrag_one_range()
1110 &cached_state); in defrag_one_range()
1122 &cached_state); in defrag_one_range()
A Dordered-data.h207 struct extent_state **cached_state);
209 struct extent_state **cached_state);
A Dinode.c2780 cached_state); in btrfs_set_extent_delalloc()
2786 cached_state); in btrfs_set_extent_delalloc()
2881 &cached_state); in btrfs_writepage_fixup_worker()
3257 &cached_state); in btrfs_finish_ordered_io()
3268 &cached_state); in btrfs_finish_ordered_io()
4844 &cached_state); in btrfs_truncate_block()
4847 &cached_state); in btrfs_truncate_block()
4971 &cached_state); in btrfs_cont_expand()
5233 &cached_state); in evict_inode_truncate_pages()
7687 &cached_state); in btrfs_dio_iomap_begin()
[all …]
A Dordered-data.c1037 struct extent_state **cached_state) in btrfs_lock_and_flush_ordered_range() argument
1043 if (cached_state) in btrfs_lock_and_flush_ordered_range()
1044 cachedp = cached_state; in btrfs_lock_and_flush_ordered_range()
1056 if (!cached_state) in btrfs_lock_and_flush_ordered_range()
1074 struct extent_state **cached_state) in btrfs_try_lock_ordered_range() argument
1078 if (!try_lock_extent(&inode->io_tree, start, end, cached_state)) in btrfs_try_lock_ordered_range()
1086 unlock_extent(&inode->io_tree, start, end, cached_state); in btrfs_try_lock_ordered_range()
A Dfile.h30 struct extent_state **cached_state,
A Dextent_io.c442 max_bytes, &cached_state); in find_lock_delalloc_range()
448 free_extent_state(cached_state); in find_lock_delalloc_range()
474 free_extent_state(cached_state); in find_lock_delalloc_range()
475 cached_state = NULL; in find_lock_delalloc_range()
494 &cached_state); in find_lock_delalloc_range()
500 free_extent_state(cached_state); in find_lock_delalloc_range()
4422 &cached_state)) in read_extent_buffer_subpage()
4426 &cached_state); in read_extent_buffer_subpage()
4437 &cached_state); in read_extent_buffer_subpage()
4463 free_extent_state(cached_state); in read_extent_buffer_subpage()
[all …]
A Dtransaction.c1061 struct extent_state *cached_state = NULL; in btrfs_write_marked_extents() local
1067 mark, &cached_state)) { in btrfs_write_marked_extents()
1072 mark, &cached_state); in btrfs_write_marked_extents()
1096 free_extent_state(cached_state); in btrfs_write_marked_extents()
1097 cached_state = NULL; in btrfs_write_marked_extents()
1117 struct extent_state *cached_state = NULL; in __btrfs_wait_marked_extents() local
1122 EXTENT_NEED_WAIT, &cached_state)) { in __btrfs_wait_marked_extents()
1132 EXTENT_NEED_WAIT, &cached_state); in __btrfs_wait_marked_extents()
1139 free_extent_state(cached_state); in __btrfs_wait_marked_extents()
1140 cached_state = NULL; in __btrfs_wait_marked_extents()
A Drelocation.c1125 struct extent_state *cached_state = NULL; in replace_file_extents() local
1135 &cached_state); in replace_file_extents()
1142 key.offset, end, &cached_state); in replace_file_extents()
1531 struct extent_state *cached_state = NULL; in invalidate_extent_cache() local
2884 struct extent_state *cached_state = NULL; in prealloc_file_extent_cluster() local
2914 struct extent_state *cached_state = NULL; in setup_relocation_extent_mapping() local
3007 struct extent_state *cached_state = NULL; in relocate_one_page() local
3024 &cached_state); in relocate_one_page()
3026 clamped_end, 0, &cached_state); in relocate_one_page()
3031 &cached_state); in relocate_one_page()
[all …]
A Ddev-replace.c787 struct extent_state *cached_state = NULL; in btrfs_set_target_alloc_state() local
797 CHUNK_ALLOCATED, &cached_state)) { in btrfs_set_target_alloc_state()
805 free_extent_state(cached_state); in btrfs_set_target_alloc_state()
A Dfree-space-cache.c327 struct extent_state *cached_state = NULL; in btrfs_truncate_free_space_cache() local
360 lock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); in btrfs_truncate_free_space_cache()
372 unlock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); in btrfs_truncate_free_space_cache()
1301 struct extent_state **cached_state) in cleanup_write_cache_enospc() argument
1305 cached_state); in cleanup_write_cache_enospc()
1395 struct extent_state *cached_state = NULL; in __btrfs_write_out_cache() local
1431 &cached_state); in __btrfs_write_out_cache()
1473 &cached_state, false); in __btrfs_write_out_cache()
1487 &cached_state); in __btrfs_write_out_cache()
1509 cleanup_write_cache_enospc(inode, io_ctl, &cached_state); in __btrfs_write_out_cache()
A Dbtrfs_inode.h435 struct extent_state **cached_state);
A Ddisk-io.c117 struct extent_state *cached_state = NULL; in verify_parent_transid() local
126 lock_extent(io_tree, eb->start, eb->start + eb->len - 1, &cached_state); in verify_parent_transid()
140 &cached_state); in verify_parent_transid()
5003 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent() local
5013 EXTENT_DIRTY, &cached_state); in btrfs_destroy_pinned_extent()
5019 clear_extent_dirty(unpin, start, end, &cached_state); in btrfs_destroy_pinned_extent()
5020 free_extent_state(cached_state); in btrfs_destroy_pinned_extent()
/linux-6.3-rc2/drivers/gpu/drm/msm/dsi/phy/
A Ddsi_phy_28nm_8960.c65 struct pll_28nm_cached_state cached_state; member
346 struct pll_28nm_cached_state *cached_state = &pll_28nm->cached_state; in dsi_28nm_pll_save_state() local
349 cached_state->postdiv3 = in dsi_28nm_pll_save_state()
351 cached_state->postdiv2 = in dsi_28nm_pll_save_state()
353 cached_state->postdiv1 = in dsi_28nm_pll_save_state()
356 cached_state->vco_rate = clk_hw_get_rate(phy->vco_hw); in dsi_28nm_pll_save_state()
362 struct pll_28nm_cached_state *cached_state = &pll_28nm->cached_state; in dsi_28nm_pll_restore_state() local
367 cached_state->vco_rate, 0); in dsi_28nm_pll_restore_state()
375 cached_state->postdiv3); in dsi_28nm_pll_restore_state()
377 cached_state->postdiv2); in dsi_28nm_pll_restore_state()
[all …]
A Ddsi_phy_28nm.c73 struct pll_28nm_cached_state cached_state; member
481 struct pll_28nm_cached_state *cached_state = &pll_28nm->cached_state; in dsi_28nm_pll_save_state() local
484 cached_state->postdiv3 = in dsi_28nm_pll_save_state()
486 cached_state->postdiv1 = in dsi_28nm_pll_save_state()
490 cached_state->vco_rate = clk_hw_get_rate(phy->vco_hw); in dsi_28nm_pll_save_state()
492 cached_state->vco_rate = 0; in dsi_28nm_pll_save_state()
498 struct pll_28nm_cached_state *cached_state = &pll_28nm->cached_state; in dsi_28nm_pll_restore_state() local
503 cached_state->vco_rate, 0); in dsi_28nm_pll_restore_state()
511 cached_state->postdiv3); in dsi_28nm_pll_restore_state()
513 cached_state->postdiv1); in dsi_28nm_pll_restore_state()
[all …]
A Ddsi_phy_14nm.c79 struct pll_14nm_cached_state cached_state; member
687 struct pll_14nm_cached_state *cached_state = &pll_14nm->cached_state; in dsi_14nm_pll_save_state() local
693 cached_state->n1postdiv = data & 0xf; in dsi_14nm_pll_save_state()
694 cached_state->n2postdiv = (data >> 4) & 0xf; in dsi_14nm_pll_save_state()
697 cached_state->n1postdiv, cached_state->n2postdiv); in dsi_14nm_pll_save_state()
699 cached_state->vco_rate = clk_hw_get_rate(phy->vco_hw); in dsi_14nm_pll_save_state()
705 struct pll_14nm_cached_state *cached_state = &pll_14nm->cached_state; in dsi_14nm_pll_restore_state() local
711 cached_state->vco_rate, 0); in dsi_14nm_pll_restore_state()
718 data = cached_state->n1postdiv | (cached_state->n2postdiv << 4); in dsi_14nm_pll_restore_state()
721 cached_state->n1postdiv, cached_state->n2postdiv); in dsi_14nm_pll_restore_state()
A Ddsi_phy_10nm.c79 struct pll_10nm_cached_state cached_state; member
487 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; in dsi_10nm_pll_save_state()
510 struct pll_10nm_cached_state *cached = &pll_10nm->cached_state; in dsi_10nm_pll_restore_state()
A Ddsi_phy_7nm.c86 struct pll_7nm_cached_state cached_state; member
536 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_save_state()
559 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_restore_state()
/linux-6.3-rc2/drivers/iio/multiplexer/
A Diio-mux.c30 int cached_state; member
50 mux->cached_state = -1; in iio_mux_select()
54 if (mux->cached_state == chan->channel) in iio_mux_select()
73 mux->cached_state = -1; in iio_mux_select()
78 mux->cached_state = chan->channel; in iio_mux_select()
392 mux->cached_state = -1; in mux_probe()
/linux-6.3-rc2/drivers/mux/
A Dcore.c132 mux->cached_state = MUX_CACHE_UNKNOWN; in mux_chip_alloc()
147 mux->cached_state = ret < 0 ? MUX_CACHE_UNKNOWN : state; in mux_control_set()
173 if (mux->idle_state == mux->cached_state) in mux_chip_register()
321 if (mux->cached_state == state) in __mux_control_select()
485 mux->idle_state != mux->cached_state) in mux_control_deselect()
/linux-6.3-rc2/include/linux/mux/
A Ddriver.h48 int cached_state; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm.h475 struct drm_atomic_state *cached_state; member
A Damdgpu_dm.c2542 WARN_ON(adev->dm.cached_state); in dm_suspend()
2543 adev->dm.cached_state = drm_atomic_helper_suspend(adev_to_drm(adev)); in dm_suspend()
2842 for_each_new_crtc_in_state(dm->cached_state, crtc, new_crtc_state, i) in dm_resume()
2850 for_each_new_crtc_in_state(dm->cached_state, crtc, new_crtc_state, i) { in dm_resume()
2859 for_each_new_plane_in_state(dm->cached_state, plane, new_plane_state, i) { in dm_resume()
2868 drm_atomic_helper_resume(ddev, dm->cached_state); in dm_resume()
2870 dm->cached_state = NULL; in dm_resume()

Completed in 117 milliseconds

12