Home
last modified time | relevance | path

Searched refs:pending_snapshot (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/fs/btrfs/
H A Dioctl.c781 struct btrfs_pending_snapshot *pending_snapshot; in create_snapshot() local
805 pending_snapshot = kzalloc(sizeof(*pending_snapshot), GFP_KERNEL); in create_snapshot()
806 if (!pending_snapshot) in create_snapshot()
809 ret = get_anon_bdev(&pending_snapshot->anon_dev); in create_snapshot()
812 pending_snapshot->root_item = kzalloc(sizeof(struct btrfs_root_item), in create_snapshot()
814 pending_snapshot->path = btrfs_alloc_path(); in create_snapshot()
815 if (!pending_snapshot->root_item || !pending_snapshot->path) { in create_snapshot()
820 btrfs_init_block_rsv(&pending_snapshot in create_snapshot()
[all...]
H A Dtransaction.h130 struct btrfs_pending_snapshot *pending_snapshot; member
H A Dtransaction.c2132 if (!trans->pending_snapshot) in add_pending_snapshot()
2138 list_add(&trans->pending_snapshot->list, &cur_trans->pending_snapshots); in add_pending_snapshot()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dioctl.c797 struct btrfs_pending_snapshot *pending_snapshot; in create_snapshot() local
813 pending_snapshot = kzalloc(sizeof(*pending_snapshot), GFP_KERNEL); in create_snapshot()
814 if (!pending_snapshot) in create_snapshot()
817 ret = get_anon_bdev(&pending_snapshot->anon_dev); in create_snapshot()
820 pending_snapshot->root_item = kzalloc(sizeof(struct btrfs_root_item), in create_snapshot()
822 pending_snapshot->path = btrfs_alloc_path(); in create_snapshot()
823 if (!pending_snapshot->root_item || !pending_snapshot->path) { in create_snapshot()
828 btrfs_init_block_rsv(&pending_snapshot in create_snapshot()
[all...]

Completed in 9 milliseconds