Home
last modified time | relevance | path

Searched refs:backref_cache (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Drelocation.c137 struct btrfs_backref_cache backref_cache; member
331 struct btrfs_backref_cache *cache = &rc->backref_cache; in handle_useless_nodes()
409 struct btrfs_backref_cache *cache = &rc->backref_cache; in build_backref_tree()
489 struct btrfs_backref_cache *cache = &rc->backref_cache; in clone_backref_node()
2170 &rc->backref_cache.changed); in select_reloc_root()
2193 rc->backref_cache.path[next->level] = next; in select_reloc_root()
2357 rc->backref_cache.path[node->level] = node; in do_relocation()
2478 list_move_tail(&node->list, &rc->backref_cache.changed); in do_relocation()
2508 struct btrfs_backref_cache *cache = &rc->backref_cache; in finish_pending_nodes()
2676 list_add_tail(&node->list, &rc->backref_cache.changed); in relocate_tree_block()
[all …]
H A Dsend.c303 struct btrfs_lru_cache backref_cache; member
1422 if (btrfs_lru_cache_size(&sctx->backref_cache) == 0) in lookup_backref_cache()
1437 btrfs_lru_cache_clear(&sctx->backref_cache); in lookup_backref_cache()
1441 raw_entry = btrfs_lru_cache_lookup(&sctx->backref_cache, key, 0); in lookup_backref_cache()
1506 ret = btrfs_lru_cache_store(&sctx->backref_cache, &new_entry->entry, in store_backref_cache()
1520 if (btrfs_lru_cache_size(&sctx->backref_cache) == 1) in store_backref_cache()
8203 btrfs_lru_cache_init(&sctx->backref_cache, SEND_MAX_BACKREF_CACHE_SIZE); in btrfs_ioctl_send()
8480 btrfs_lru_cache_clear(&sctx->backref_cache); in btrfs_ioctl_send()