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()
2238 cached_state); in btrfs_punch_hole_lock_range()
2254 cached_state); in btrfs_punch_hole_lock_range()
2751 &cached_state); in btrfs_punch_hole()
3019 &cached_state); in btrfs_zero_range()
3032 &cached_state); in btrfs_zero_range()
3144 &cached_state); in btrfs_fallocate()
3233 &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.c2668 cached_state); in btrfs_set_extent_delalloc()
2757 &cached_state); in btrfs_writepage_fixup_worker()
2765 &cached_state); in btrfs_writepage_fixup_worker()
3138 &cached_state); in btrfs_finish_one_ordered()
3149 &cached_state); in btrfs_finish_one_ordered()
4785 &cached_state); in btrfs_truncate_block()
4788 &cached_state); in btrfs_truncate_block()
4912 &cached_state); in btrfs_cont_expand()
5173 &cached_state); in evict_inode_truncate_pages()
7686 &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.c1058 struct extent_state *cached_state = NULL; in replace_file_extents() local
1068 &cached_state); in replace_file_extents()
1075 key.offset, end, &cached_state); in replace_file_extents()
1464 struct extent_state *cached_state = NULL; in invalidate_extent_cache() local
2846 struct extent_state *cached_state = NULL; in prealloc_file_extent_cluster() local
2876 struct extent_state *cached_state = NULL; in setup_relocation_extent_mapping() local
2975 struct extent_state *cached_state = NULL; in relocate_one_page() local
2992 &cached_state); in relocate_one_page()
2994 clamped_end, 0, &cached_state); in relocate_one_page()
2999 &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()
2254 struct extent_state *cached_state = NULL; in extent_invalidate_folio() local
2266 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()
1289 struct extent_state **cached_state) in cleanup_write_cache_enospc() argument
1293 cached_state); in cleanup_write_cache_enospc()
1383 struct extent_state *cached_state = NULL; in __btrfs_write_out_cache() local
1419 &cached_state); in __btrfs_write_out_cache()
1461 &cached_state, false); in __btrfs_write_out_cache()
1475 &cached_state); in __btrfs_write_out_cache()
1497 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.h442 struct extent_state **cached_state);
H A Ddisk-io.c4763 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent() local
4773 EXTENT_DIRTY, &cached_state)) { in btrfs_destroy_pinned_extent()
4778 clear_extent_dirty(unpin, start, end, &cached_state); in btrfs_destroy_pinned_extent()
4779 free_extent_state(cached_state); in btrfs_destroy_pinned_extent()
H A Dextent-tree.c2808 struct extent_state *cached_state = NULL; in btrfs_finish_extent_commit() local
2812 EXTENT_DIRTY, &cached_state)) { in btrfs_finish_extent_commit()
2821 clear_extent_dirty(unpin, start, end, &cached_state); in btrfs_finish_extent_commit()
2824 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
546 struct pll_7nm_cached_state *cached = &pll_7nm->cached_state; in dsi_7nm_pll_save_state()
569 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