Lines Matching defs:cache
100 * cache which maps the logical address (bytenr) of leaves to an array
183 * So keep a small cache with the lookup results for the extent pointed
184 * by the last few file extent items. This cache is checked, with a
329 * Backref cache related structures
336 * Represent a tree block in the backref cache
363 /* 1 if no child node is in the cache */
380 * For generic purpose backref cache, where we only care if it's a reloc
408 /* Red black tree of all backref nodes in the cache */
429 /* List of unchecked backref edges during backref cache build */
432 /* List of useless backref nodes during backref cache build */
438 * Whether this cache is for relocation
440 * Reloction backref cache require more info for reloc root compared
441 * to generic backref cache.
447 struct btrfs_backref_cache *cache, int is_reloc);
449 struct btrfs_backref_cache *cache, u64 bytenr, int level);
451 struct btrfs_backref_cache *cache);
469 static inline void btrfs_backref_free_node(struct btrfs_backref_cache *cache,
476 cache->nr_nodes--;
482 static inline void btrfs_backref_free_edge(struct btrfs_backref_cache *cache,
486 cache->nr_edges--;
511 * Drop the backref node from cache without cleaning up its children
530 void btrfs_backref_cleanup_node(struct btrfs_backref_cache *cache,
533 void btrfs_backref_release_cache(struct btrfs_backref_cache *cache);
539 "Inconsistency in backref cache found at offset %llu",
544 struct btrfs_backref_cache *cache,
550 int btrfs_backref_finish_upper_links(struct btrfs_backref_cache *cache,
553 void btrfs_backref_error_cleanup(struct btrfs_backref_cache *cache,