Lines Matching refs:pending
70 unsigned int pending:1; member
100 struct list_head pending[BTRFS_MAX_LEVEL]; member
205 INIT_LIST_HEAD(&cache->pending[i]); in backref_cache_init()
231 ASSERT(list_empty(&cache->pending[i])); in backref_cache_cleanup()
499 BUG_ON(node->pending); in update_backref_cache()
508 list_for_each_entry(node, &cache->pending[level], list) { in update_backref_cache()
509 BUG_ON(!node->pending); in update_backref_cache()
2920 if (!upper->pending) in do_relocation()
2928 if (!err && node->pending) { in do_relocation()
2931 node->pending = 0; in do_relocation()
2961 while (!list_empty(&cache->pending[level])) { in finish_pending_nodes()
2962 node = list_entry(cache->pending[level].next, in finish_pending_nodes()
2965 BUG_ON(!node->pending); in finish_pending_nodes()
2973 list_splice_init(&list, &cache->pending[level]); in finish_pending_nodes()
4737 if (!node->pending) { in btrfs_reloc_cow_block()
4739 &rc->backref_cache.pending[level]); in btrfs_reloc_cow_block()
4740 node->pending = 1; in btrfs_reloc_cow_block()
4759 void btrfs_reloc_pre_snapshot(struct btrfs_pending_snapshot *pending, in btrfs_reloc_pre_snapshot() argument
4762 struct btrfs_root *root = pending->root; in btrfs_reloc_pre_snapshot()
4791 struct btrfs_pending_snapshot *pending) in btrfs_reloc_post_snapshot() argument
4793 struct btrfs_root *root = pending->root; in btrfs_reloc_post_snapshot()
4806 ret = btrfs_block_rsv_migrate(&pending->block_rsv, in btrfs_reloc_post_snapshot()
4813 new_root = pending->snap; in btrfs_reloc_post_snapshot()