Home
last modified time | relevance | path

Searched refs:buffer_tree (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/md/
H A Ddm-bufio.c378 struct buffer_tree { struct
394 struct buffer_tree trees[] __counted_by(num_locks); argument
405 static inline struct buffer_tree *cache_get_tree(struct dm_buffer_cache *bc, in cache_get_tree()
413 struct buffer_tree *tree) in cache_read_lock()
423 struct buffer_tree *tree) in cache_read_unlock()
433 struct buffer_tree *tree) in cache_write_lock()
443 struct buffer_tree *tree) in cache_write_unlock()
621 struct buffer_tree *tree, sector_t block) in cache_get()
706 static void cache_mark(struct dm_buffer_cache *bc, struct buffer_tree *tree, in cache_mark()
842 static bool cache_insert(struct dm_buffer_cache *bc, struct buffer_tree *tree, in cache_insert()
[all …]
/linux/fs/btrfs/
H A Dextent_io.c2152 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in lock_extent_buffer_for_io()
2253 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in buffer_tree_set_mark()
2265 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in buffer_tree_clear_mark()
2277 XA_STATE(xas, &fs_info->buffer_tree, start); in buffer_tree_tag_for_writeback()
2359 XA_STATE(xas, &fs_info->buffer_tree, *start); in buffer_tree_get_ebs_tag()
2390 eb = xa_load(&fs_info->buffer_tree, index); in find_extent_buffer_nolock()
3546 xa_lock_irq(&fs_info->buffer_tree); in alloc_test_extent_buffer()
3547 exists = __xa_cmpxchg(&fs_info->buffer_tree, start >> fs_info->nodesize_bits, in alloc_test_extent_buffer()
3551 xa_unlock_irq(&fs_info->buffer_tree); in alloc_test_extent_buffer()
3558 xa_unlock_irq(&fs_info->buffer_tree); in alloc_test_extent_buffer()
[all …]
H A Dfs.h856 struct xarray buffer_tree; member
H A Ddisk-io.c2781 xa_init_flags(&fs_info->buffer_tree, XA_FLAGS_LOCK_IRQ | XA_FLAGS_ACCOUNT); in btrfs_init_fs_info()
2782 lockdep_set_class(&fs_info->buffer_tree.xa_lock, &buffer_xa_class); in btrfs_init_fs_info()
3316 xa_for_each(&fs_info->buffer_tree, index, eb) { in invalidate_and_check_btree_folios()
H A Dzoned.c2499 xa_for_each_start(&fs_info->buffer_tree, index, eb, start) { in wait_eb_writebacks()