Searched refs:buffer_tree (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/btrfs/tests/ |
| H A D | btrfs-tests.c | 169 xa_lock_irq(&fs_info->buffer_tree); in btrfs_free_dummy_fs_info() 170 xa_for_each(&fs_info->buffer_tree, index, eb) { in btrfs_free_dummy_fs_info() 171 xa_unlock_irq(&fs_info->buffer_tree); in btrfs_free_dummy_fs_info() 173 xa_lock_irq(&fs_info->buffer_tree); in btrfs_free_dummy_fs_info() 175 xa_unlock_irq(&fs_info->buffer_tree); in btrfs_free_dummy_fs_info()
|
| /linux/drivers/md/ |
| H A D | dm-bufio.c | 378 struct buffer_tree { struct 394 struct buffer_tree trees[]; 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 D | extent_io.c | 1953 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in lock_extent_buffer_for_io() 2054 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in buffer_tree_set_mark() 2066 XA_STATE(xas, &fs_info->buffer_tree, eb->start >> fs_info->nodesize_bits); in buffer_tree_clear_mark() 2078 XA_STATE(xas, &fs_info->buffer_tree, start); in buffer_tree_tag_for_writeback() 2160 XA_STATE(xas, &fs_info->buffer_tree, *start); in buffer_tree_get_ebs_tag() 2191 eb = xa_load(&fs_info->buffer_tree, index); in find_extent_buffer_nolock() 3223 xa_lock_irq(&fs_info->buffer_tree); in alloc_test_extent_buffer() 3224 exists = __xa_cmpxchg(&fs_info->buffer_tree, start >> fs_info->nodesize_bits, in alloc_test_extent_buffer() 3228 xa_unlock_irq(&fs_info->buffer_tree); in alloc_test_extent_buffer() 3235 xa_unlock_irq(&fs_info->buffer_tree); in alloc_test_extent_buffer() [all …]
|
| H A D | fs.h | 843 struct xarray buffer_tree; member
|
| H A D | disk-io.c | 2770 xa_init_flags(&fs_info->buffer_tree, XA_FLAGS_LOCK_IRQ | XA_FLAGS_ACCOUNT); in btrfs_init_fs_info() 2771 lockdep_set_class(&fs_info->buffer_tree.xa_lock, &buffer_xa_class); in btrfs_init_fs_info()
|
| H A D | zoned.c | 2468 xa_for_each_start(&fs_info->buffer_tree, index, eb, start) { in wait_eb_writebacks()
|