Home
last modified time | relevance | path

Searched refs:pending_snapshot (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dioctl.c769 struct btrfs_pending_snapshot *pending_snapshot; in create_snapshot() local
790 pending_snapshot = kzalloc(sizeof(*pending_snapshot), GFP_KERNEL); in create_snapshot()
791 if (!pending_snapshot) in create_snapshot()
794 ret = get_anon_bdev(&pending_snapshot->anon_dev); in create_snapshot()
797 pending_snapshot->root_item = kzalloc(sizeof(struct btrfs_root_item), in create_snapshot()
799 pending_snapshot->path = btrfs_alloc_path(); in create_snapshot()
800 if (!pending_snapshot->root_item || !pending_snapshot->path) { in create_snapshot()
805 btrfs_init_block_rsv(&pending_snapshot->block_rsv, in create_snapshot()
814 &pending_snapshot->block_rsv, in create_snapshot()
819 pending_snapshot->dentry = dentry; in create_snapshot()
[all …]
Dtransaction.h127 struct btrfs_pending_snapshot *pending_snapshot; member
Dtransaction.c2074 if (!trans->pending_snapshot) in add_pending_snapshot()
2080 list_add(&trans->pending_snapshot->list, &cur_trans->pending_snapshots); in add_pending_snapshot()