Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/btrfs/
H A Dextent-io-tree.c597 if (cached_state) { in __clear_extent_bit()
602 cached_state = NULL; in __clear_extent_bit()
742 if (cached_state && *cached_state) { in wait_extent_bit()
779 if (cached_state && *cached_state) { in wait_extent_bit()
781 *cached_state = NULL; in wait_extent_bit()
845 if (cached_state && *cached_state) { in find_first_extent_bit()
857 *cached_state = NULL; in find_first_extent_bit()
1017 if (cached_state && *cached_state) { in __set_extent_bit()
1262 if (cached_state && *cached_state) { in convert_extent_bit()
1574 if (!cached_state || !*cached_state) in count_range_bits()
[all …]
H A Dextent-io-tree.h131 struct extent_state **cached_state);
135 u32 bits, int filled, struct extent_state *cached_state);
164 u32 bits, struct extent_state **cached_state);
167 u64 end, struct extent_state **cached_state) in clear_extent_uptodate() argument
170 cached_state, NULL); in clear_extent_uptodate()
183 struct extent_state **cached_state);
187 struct extent_state **cached_state);
194 struct extent_state **cached_state);
196 struct extent_state **cached_state);
H 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()
2724 &cached_state); in btrfs_punch_hole()
2992 &cached_state); in btrfs_zero_range()
3005 &cached_state); in btrfs_zero_range()
3117 &cached_state); in btrfs_fallocate()
3206 &cached_state); in btrfs_fallocate()
[all …]
H 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()
1044 EXTENT_DELALLOC | EXTENT_DEFRAG, cached_state); in defrag_one_locked_target()
1061 struct extent_state *cached_state = NULL; in defrag_one_range() local
1095 &cached_state); in defrag_one_range()
1111 &cached_state); in defrag_one_range()
1123 &cached_state); in defrag_one_range()
H A Dordered-data.h206 struct extent_state **cached_state);
208 struct extent_state **cached_state);
H A Dinode.c2665 cached_state); in btrfs_set_extent_delalloc()
2754 &cached_state); in btrfs_writepage_fixup_worker()
2762 &cached_state); in btrfs_writepage_fixup_worker()
3135 &cached_state); in btrfs_finish_one_ordered()
3146 &cached_state); in btrfs_finish_one_ordered()
4777 &cached_state); in btrfs_truncate_block()
4780 &cached_state); in btrfs_truncate_block()
4904 &cached_state); in btrfs_cont_expand()
5165 &cached_state); in evict_inode_truncate_pages()
7678 &cached_state); in btrfs_dio_iomap_begin()
[all …]
H A Dfile.h30 struct extent_state **cached_state,
H A Dordered-data.c1094 struct extent_state **cached_state) in btrfs_lock_and_flush_ordered_range() argument
1100 if (cached_state) in btrfs_lock_and_flush_ordered_range()
1101 cachedp = cached_state; in btrfs_lock_and_flush_ordered_range()
1113 if (!cached_state) in btrfs_lock_and_flush_ordered_range()
1131 struct extent_state **cached_state) in btrfs_try_lock_ordered_range() argument
1135 if (!try_lock_extent(&inode->io_tree, start, end, cached_state)) in btrfs_try_lock_ordered_range()
1143 unlock_extent(&inode->io_tree, start, end, cached_state); in btrfs_try_lock_ordered_range()
H A Dtransaction.c1079 struct extent_state *cached_state = NULL; in btrfs_write_marked_extents() local
1084 mark, &cached_state)) { in btrfs_write_marked_extents()
1089 mark, &cached_state); in btrfs_write_marked_extents()
1113 free_extent_state(cached_state); in btrfs_write_marked_extents()
1114 cached_state = NULL; in btrfs_write_marked_extents()
1133 struct extent_state *cached_state = NULL; in __btrfs_wait_marked_extents() local
1138 EXTENT_NEED_WAIT, &cached_state)) { in __btrfs_wait_marked_extents()
1148 EXTENT_NEED_WAIT, &cached_state); in __btrfs_wait_marked_extents()
1155 free_extent_state(cached_state); in __btrfs_wait_marked_extents()
1156 cached_state = NULL; in __btrfs_wait_marked_extents()
H A Drelocation.c1126 struct extent_state *cached_state = NULL; in replace_file_extents() local
1136 &cached_state); in replace_file_extents()
1143 key.offset, end, &cached_state); in replace_file_extents()
1532 struct extent_state *cached_state = NULL; in invalidate_extent_cache() local
2914 struct extent_state *cached_state = NULL; in prealloc_file_extent_cluster() local
2944 struct extent_state *cached_state = NULL; in setup_relocation_extent_mapping() local
3043 struct extent_state *cached_state = NULL; in relocate_one_page() local
3060 &cached_state); in relocate_one_page()
3062 clamped_end, 0, &cached_state); in relocate_one_page()
3067 &cached_state); in relocate_one_page()
[all …]
H A Dextent_io.c334 struct extent_state *cached_state = NULL; in find_lock_delalloc_range() local
349 max_bytes, &cached_state); in find_lock_delalloc_range()
355 free_extent_state(cached_state); in find_lock_delalloc_range()
381 free_extent_state(cached_state); in find_lock_delalloc_range()
382 cached_state = NULL; in find_lock_delalloc_range()
398 EXTENT_DELALLOC, 1, cached_state); in find_lock_delalloc_range()
401 &cached_state); in find_lock_delalloc_range()
407 free_extent_state(cached_state); in find_lock_delalloc_range()
2256 struct extent_state *cached_state = NULL; in extent_invalidate_folio() local
2268 lock_extent(tree, start, end, &cached_state); in extent_invalidate_folio()
[all …]
H A Dfree-space-cache.c308 struct extent_state *cached_state = NULL; in btrfs_truncate_free_space_cache() local
341 lock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); in btrfs_truncate_free_space_cache()
353 unlock_extent(&inode->io_tree, 0, (u64)-1, &cached_state); in btrfs_truncate_free_space_cache()
1288 struct extent_state **cached_state) in cleanup_write_cache_enospc() argument
1292 cached_state); in cleanup_write_cache_enospc()
1382 struct extent_state *cached_state = NULL; in __btrfs_write_out_cache() local
1418 &cached_state); in __btrfs_write_out_cache()
1460 &cached_state, false); in __btrfs_write_out_cache()
1474 &cached_state); in __btrfs_write_out_cache()
1496 cleanup_write_cache_enospc(inode, io_ctl, &cached_state); in __btrfs_write_out_cache()
H A Ddev-replace.c803 struct extent_state *cached_state = NULL; in btrfs_set_target_alloc_state() local
813 CHUNK_ALLOCATED, &cached_state)) { in btrfs_set_target_alloc_state()
821 free_extent_state(cached_state); in btrfs_set_target_alloc_state()
H A Dbtrfs_inode.h437 struct extent_state **cached_state);
H A Ddisk-io.c4750 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent() local
4760 EXTENT_DIRTY, &cached_state)) { in btrfs_destroy_pinned_extent()
4765 clear_extent_dirty(unpin, start, end, &cached_state); in btrfs_destroy_pinned_extent()
4766 free_extent_state(cached_state); in btrfs_destroy_pinned_extent()
H A Dextent-tree.c2796 struct extent_state *cached_state = NULL; in btrfs_finish_extent_commit() local
2800 EXTENT_DIRTY, &cached_state)) { in btrfs_finish_extent_commit()
2809 clear_extent_dirty(unpin, start, end, &cached_state); in btrfs_finish_extent_commit()
2812 free_extent_state(cached_state); in btrfs_finish_extent_commit()
/openbmc/linux/drivers/gpu/drm/msm/dsi/phy/
H 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 …]
H A Ddsi_phy_28nm.c74 struct pll_28nm_cached_state cached_state; member
559 struct pll_28nm_cached_state *cached_state = &pll_28nm->cached_state; in dsi_28nm_pll_save_state() local
562 cached_state->postdiv3 = in dsi_28nm_pll_save_state()
564 cached_state->postdiv1 = in dsi_28nm_pll_save_state()
568 cached_state->vco_rate = clk_hw_get_rate(phy->vco_hw); in dsi_28nm_pll_save_state()
570 cached_state->vco_rate = 0; in dsi_28nm_pll_save_state()
576 struct pll_28nm_cached_state *cached_state = &pll_28nm->cached_state; in dsi_28nm_pll_restore_state() local
581 cached_state->vco_rate, 0); in dsi_28nm_pll_restore_state()
589 cached_state->postdiv3); in dsi_28nm_pll_restore_state()
591 cached_state->postdiv1); in dsi_28nm_pll_restore_state()
[all …]
H A Ddsi_phy_14nm.c79 struct pll_14nm_cached_state cached_state; member
690 struct pll_14nm_cached_state *cached_state = &pll_14nm->cached_state; in dsi_14nm_pll_save_state() local
696 cached_state->n1postdiv = data & 0xf; in dsi_14nm_pll_save_state()
697 cached_state->n2postdiv = (data >> 4) & 0xf; in dsi_14nm_pll_save_state()
700 cached_state->n1postdiv, cached_state->n2postdiv); in dsi_14nm_pll_save_state()
702 cached_state->vco_rate = clk_hw_get_rate(phy->vco_hw); in dsi_14nm_pll_save_state()
708 struct pll_14nm_cached_state *cached_state = &pll_14nm->cached_state; in dsi_14nm_pll_restore_state() local
714 cached_state->vco_rate, 0); in dsi_14nm_pll_restore_state()
721 data = cached_state->n1postdiv | (cached_state->n2postdiv << 4); in dsi_14nm_pll_restore_state()
724 cached_state->n1postdiv, cached_state->n2postdiv); in dsi_14nm_pll_restore_state()
H 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()
H 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()
/openbmc/linux/drivers/iio/multiplexer/
H 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()
/openbmc/linux/drivers/mux/
H A Dcore.c130 mux->cached_state = MUX_CACHE_UNKNOWN; in mux_chip_alloc()
145 mux->cached_state = ret < 0 ? MUX_CACHE_UNKNOWN : state; in mux_control_set()
171 if (mux->idle_state == mux->cached_state) in mux_chip_register()
319 if (mux->cached_state == state) in __mux_control_select()
483 mux->idle_state != mux->cached_state) in mux_control_deselect()
/openbmc/linux/include/linux/mux/
H A Ddriver.h48 int cached_state; member
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.h487 struct drm_atomic_state *cached_state; member

12