pending_snapshot 762 fs/btrfs/ioctl.c struct btrfs_pending_snapshot *pending_snapshot; pending_snapshot 776 fs/btrfs/ioctl.c pending_snapshot = kzalloc(sizeof(*pending_snapshot), GFP_KERNEL); pending_snapshot 777 fs/btrfs/ioctl.c if (!pending_snapshot) pending_snapshot 780 fs/btrfs/ioctl.c pending_snapshot->root_item = kzalloc(sizeof(struct btrfs_root_item), pending_snapshot 782 fs/btrfs/ioctl.c pending_snapshot->path = btrfs_alloc_path(); pending_snapshot 783 fs/btrfs/ioctl.c if (!pending_snapshot->root_item || !pending_snapshot->path) { pending_snapshot 813 fs/btrfs/ioctl.c btrfs_init_block_rsv(&pending_snapshot->block_rsv, pending_snapshot 824 fs/btrfs/ioctl.c &pending_snapshot->block_rsv, 8, pending_snapshot 829 fs/btrfs/ioctl.c pending_snapshot->dentry = dentry; pending_snapshot 830 fs/btrfs/ioctl.c pending_snapshot->root = root; pending_snapshot 831 fs/btrfs/ioctl.c pending_snapshot->readonly = readonly; pending_snapshot 832 fs/btrfs/ioctl.c pending_snapshot->dir = dir; pending_snapshot 833 fs/btrfs/ioctl.c pending_snapshot->inherit = inherit; pending_snapshot 842 fs/btrfs/ioctl.c list_add(&pending_snapshot->list, pending_snapshot 856 fs/btrfs/ioctl.c ret = pending_snapshot->error; pending_snapshot 860 fs/btrfs/ioctl.c ret = btrfs_orphan_cleanup(pending_snapshot->snap); pending_snapshot 873 fs/btrfs/ioctl.c btrfs_subvolume_release_metadata(fs_info, &pending_snapshot->block_rsv); pending_snapshot 880 fs/btrfs/ioctl.c kfree(pending_snapshot->root_item); pending_snapshot 881 fs/btrfs/ioctl.c btrfs_free_path(pending_snapshot->path); pending_snapshot 882 fs/btrfs/ioctl.c kfree(pending_snapshot);