Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dextent_io.h283 struct extent_state *cached_state);
328 struct extent_state **cached_state, gfp_t mask);
337 u64 end, struct extent_state **cached_state) in clear_extent_uptodate() argument
340 cached_state, GFP_NOFS, NULL); in clear_extent_uptodate()
360 struct extent_state **cached_state);
364 struct extent_state **cached_state) in set_extent_delalloc() argument
368 NULL, cached_state, GFP_NOFS); in set_extent_delalloc()
372 u64 end, struct extent_state **cached_state) in set_extent_defrag() argument
376 NULL, cached_state, GFP_NOFS); in set_extent_defrag()
387 u64 end, struct extent_state **cached_state, gfp_t mask) in set_extent_uptodate() argument
[all …]
Dextent_io.c633 struct extent_state **cached_state, in __clear_extent_bit() argument
668 if (cached_state) { in __clear_extent_bit()
669 cached = *cached_state; in __clear_extent_bit()
672 *cached_state = NULL; in __clear_extent_bit()
673 cached_state = NULL; in __clear_extent_bit()
900 u64 *failed_start, struct extent_state **cached_state, in __set_extent_bit() argument
928 if (cached_state && *cached_state) { in __set_extent_bit()
929 state = *cached_state; in __set_extent_bit()
949 cache_state(prealloc, cached_state); in __set_extent_bit()
972 cache_state(state, cached_state); in __set_extent_bit()
[all …]
Dfile.c468 struct extent_state **cached_state) in btrfs_find_new_delalloc_bytes() argument
496 NULL, cached_state, GFP_NOFS); in btrfs_find_new_delalloc_bytes()
1475 struct extent_state **cached_state) in lock_and_cleanup_extent_if_need() argument
1492 cached_state); in lock_and_cleanup_extent_if_need()
1499 last_pos, cached_state); in lock_and_cleanup_extent_if_need()
1614 struct extent_state *cached_state = NULL; in btrfs_buffered_write() local
1703 &lockend, &cached_state); in btrfs_buffered_write()
1761 pos, copied, &cached_state); in btrfs_buffered_write()
1772 lockstart, lockend, &cached_state); in btrfs_buffered_write()
1774 free_extent_state(cached_state); in btrfs_buffered_write()
[all …]
Dinode.c2117 struct extent_state **cached_state, int dedupe) in btrfs_set_extent_delalloc() argument
2121 extra_bits, cached_state); in btrfs_set_extent_delalloc()
2134 struct extent_state *cached_state = NULL; in btrfs_writepage_fixup_worker() local
2156 &cached_state); in btrfs_writepage_fixup_worker()
2166 page_end, &cached_state); in btrfs_writepage_fixup_worker()
2183 &cached_state, 0); in btrfs_writepage_fixup_worker()
2200 &cached_state); in btrfs_writepage_fixup_worker()
3001 struct extent_state *cached_state = NULL; in btrfs_finish_ordered_io() local
3067 &cached_state); in btrfs_finish_ordered_io()
3071 EXTENT_DEFRAG, 0, cached_state); in btrfs_finish_ordered_io()
[all …]
Dtransaction.c953 struct extent_state *cached_state = NULL; in btrfs_write_marked_extents() local
959 mark, &cached_state)) { in btrfs_write_marked_extents()
964 mark, &cached_state); in btrfs_write_marked_extents()
988 free_extent_state(cached_state); in btrfs_write_marked_extents()
989 cached_state = NULL; in btrfs_write_marked_extents()
1009 struct extent_state *cached_state = NULL; in __btrfs_wait_marked_extents() local
1014 EXTENT_NEED_WAIT, &cached_state)) { in __btrfs_wait_marked_extents()
1024 EXTENT_NEED_WAIT, 0, 0, &cached_state); in __btrfs_wait_marked_extents()
1031 free_extent_state(cached_state); in __btrfs_wait_marked_extents()
1032 cached_state = NULL; in __btrfs_wait_marked_extents()
Dfree-space-cache.c1147 struct extent_state **cached_state) in cleanup_write_cache_enospc() argument
1151 i_size_read(inode) - 1, cached_state); in cleanup_write_cache_enospc()
1250 struct extent_state *cached_state = NULL; in __btrfs_write_out_cache() local
1286 &cached_state); in __btrfs_write_out_cache()
1328 i_size_read(inode), &cached_state); in __btrfs_write_out_cache()
1342 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()
Ddisk-io.c327 struct extent_state *cached_state = NULL; in verify_parent_transid() local
343 &cached_state); in verify_parent_transid()
367 &cached_state); in verify_parent_transid()
4432 struct extent_state *cached_state = NULL; in btrfs_destroy_pinned_extent() local
4442 EXTENT_DIRTY, &cached_state); in btrfs_destroy_pinned_extent()
4448 clear_extent_dirty(unpin, start, end, &cached_state); in btrfs_destroy_pinned_extent()
4449 free_extent_state(cached_state); in btrfs_destroy_pinned_extent()
Dioctl.c1259 struct extent_state *cached_state = NULL; in cluster_pages_for_defrag() local
1290 &cached_state); in cluster_pages_for_defrag()
1294 &cached_state); in cluster_pages_for_defrag()
1350 page_start, page_end - 1, &cached_state); in cluster_pages_for_defrag()
1354 &cached_state); in cluster_pages_for_defrag()
1366 &cached_state); in cluster_pages_for_defrag()
1369 page_start, page_end - 1, &cached_state); in cluster_pages_for_defrag()
Dextent-tree.c6629 struct extent_state *cached_state = NULL; in btrfs_finish_extent_commit() local
6633 EXTENT_DIRTY, &cached_state); in btrfs_finish_extent_commit()
6643 clear_extent_dirty(unpin, start, end, &cached_state); in btrfs_finish_extent_commit()
6646 free_extent_state(cached_state); in btrfs_finish_extent_commit()
Dctree.h3175 struct extent_state **cached_state, int dedupe);
/linux-4.19.296/drivers/mux/
Dcore.c117 mux->cached_state = MUX_CACHE_UNKNOWN; in mux_chip_alloc()
131 mux->cached_state = ret < 0 ? MUX_CACHE_UNKNOWN : state; in mux_control_set()
155 if (mux->idle_state == mux->cached_state) in mux_chip_register()
303 if (mux->cached_state == state) in __mux_control_select()
399 mux->idle_state != mux->cached_state) in mux_control_deselect()
/linux-4.19.296/drivers/iio/multiplexer/
Diio-mux.c32 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()
398 mux->cached_state = -1; in mux_probe()
/linux-4.19.296/include/linux/mux/
Ddriver.h46 int cached_state; member