Home
last modified time | relevance | path

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

/fs/btrfs/
Dtransaction.c892 struct btrfs_root_item *new_root_item; in create_pending_snapshot() local
910 new_root_item = kmalloc(sizeof(*new_root_item), GFP_NOFS); in create_pending_snapshot()
911 if (!new_root_item) { in create_pending_snapshot()
982 memcpy(new_root_item, &root->root_item, sizeof(*new_root_item)); in create_pending_snapshot()
983 btrfs_check_and_init_root_item(new_root_item); in create_pending_snapshot()
985 root_flags = btrfs_root_flags(new_root_item); in create_pending_snapshot()
990 btrfs_set_root_flags(new_root_item, root_flags); in create_pending_snapshot()
1013 btrfs_set_root_node(new_root_item, tmp); in create_pending_snapshot()
1016 ret = btrfs_insert_root(trans, tree_root, &key, new_root_item); in create_pending_snapshot()
1045 kfree(new_root_item); in create_pending_snapshot()