Searched refs:pending_snapshot (Results 1 – 3 of 3) sorted by relevance
710 struct btrfs_pending_snapshot *pending_snapshot; in create_snapshot() local736 pending_snapshot = kzalloc_obj(*pending_snapshot); in create_snapshot()737 if (!pending_snapshot) in create_snapshot()740 ret = get_anon_bdev(&pending_snapshot->anon_dev); in create_snapshot()743 pending_snapshot->root_item = kzalloc_obj(struct btrfs_root_item); in create_snapshot()744 pending_snapshot->path = btrfs_alloc_path(); in create_snapshot()745 if (!pending_snapshot->root_item || !pending_snapshot->path) { in create_snapshot()750 block_rsv = &pending_snapshot->block_rsv; in create_snapshot()764 pending_snapshot->dentry = dentry; in create_snapshot()765 pending_snapshot->root = root; in create_snapshot()[all …]
149 struct btrfs_pending_snapshot *pending_snapshot; member
2197 if (!trans->pending_snapshot) in add_pending_snapshot()2204 list_add(&trans->pending_snapshot->list, &cur_trans->pending_snapshots); in add_pending_snapshot()