Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/tpm2/
H A Dtpm2_tests.py16 self.root_key = self.client.create_root_key()
19 self.client.flush_context(self.root_key)
26 blob = self.client.seal(self.root_key, data, auth, None)
27 result = self.client.unseal(self.root_key, blob, auth, None)
55 blob = self.client.seal(self.root_key, data, auth, policy_dig)
63 result = self.client.unseal(self.root_key, blob, auth, handle)
75 blob = self.client.seal(self.root_key, data, auth, None)
77 result = self.client.unseal(self.root_key, blob,
102 blob = self.client.seal(self.root_key, data, auth, policy_dig)
116 result = self.client.unseal(self.root_key, blob, auth, handle)
[all …]
/linux/fs/btrfs/tests/
H A Dqgroup-tests.c483 root->root_key.objectid = BTRFS_EXTENT_TREE_OBJECTID; in btrfs_test_qgroups()
484 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_test_qgroups()
485 root->root_key.offset = 0; in btrfs_test_qgroups()
517 tmp_root->root_key.objectid = BTRFS_FS_TREE_OBJECTID; in btrfs_test_qgroups()
533 tmp_root->root_key.objectid = BTRFS_FIRST_FREE_OBJECTID; in btrfs_test_qgroups()
H A Dfree-space-tests.c1035 root->root_key.objectid = BTRFS_EXTENT_TREE_OBJECTID; in btrfs_test_free_space_cache()
1036 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_test_free_space_cache()
1037 root->root_key.offset = 0; in btrfs_test_free_space_cache()
H A Draid-stripe-tree-tests.c1106 root->root_key.objectid = BTRFS_RAID_STRIPE_TREE_OBJECTID; in run_test()
1107 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in run_test()
1108 root->root_key.offset = 0; in run_test()
/linux/fs/btrfs/
H A Droot-tree.h35 struct btrfs_key *root_key);
H A Droot-tree.c59 * root_key: the root key of the tree we look for
69 struct btrfs_key *root_key) in btrfs_find_root() argument
110 if (root_key) in btrfs_find_root()
111 memcpy(root_key, &found_key, sizeof(found_key)); in btrfs_find_root()
H A Ddisk-io.c640 root->root_key.objectid = objectid; in btrfs_alloc_root()
721 return btrfs_comp_cpu_keys(&a->root_key, &b->root_key); in btrfs_global_root_insert()
729 return btrfs_comp_cpu_keys(key, &root->root_key); in btrfs_global_root_delete()
745 btrfs_root_id(root), root->root_key.offset); in btrfs_global_root()
837 root->root_key.objectid = objectid; in btrfs_create_tree()
838 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_create_tree()
839 root->root_key.offset = 0; in btrfs_create_tree()
872 ret = btrfs_insert_root(trans, tree_root, &root->root_key, &root->root_item); in alloc_log_tree()
892 root->root_key in btrfs_alloc_log_tree_node()
[all...]
H A Drelocation.c638 struct btrfs_key root_key; in create_reloc_root()
645 root_key.objectid = BTRFS_TREE_RELOC_OBJECTID; in create_reloc_root()
646 root_key.type = BTRFS_ROOT_ITEM_KEY; in create_reloc_root()
647 root_key.offset = objectid; in create_reloc_root()
721 &root_key, root_item); in btrfs_init_reloc_root()
725 reloc_root = btrfs_read_tree_root(fs_info->tree_root, &root_key); in btrfs_init_reloc_root()
859 &reloc_root->root_key, root_item); in replace_file_extents()
1789 root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in prepare_to_merge()
1809 root->reloc_root->root_key.type, in merge_reloc_roots()
1810 root->reloc_root->root_key in merge_reloc_roots()
590 struct btrfs_key root_key; create_reloc_root() local
[all...]
H A Dtransaction.c1335 &root->root_key, in update_cowonly_root()
1552 &root->root_key, in commit_fs_roots()
H A Dioctl.c1358 &root->root_key, &root->root_item); in btrfs_ioctl_subvol_setflags()
2842 btrfs_cpu_key_to_disk(&disk_key, &new_root->root_key); in btrfs_ioctl_space_info()
3932 &root->root_key, &root->root_item); in _btrfs_ioctl_set_received_subvol()
H A Dfree-space-tree.c1305 ret = btrfs_del_root(trans, &free_space_root->root_key); in btrfs_delete_free_space_tree()
H A Dextent-tree.c319 * (root_key.objectid, inode objectid, offset in file, 1)
6415 &root->root_key, in btrfs_drop_snapshot()
6452 ret = btrfs_del_root(trans, &root->root_key); in btrfs_drop_snapshot()
6459 ret = btrfs_find_root(tree_root, &root->root_key, path, in btrfs_drop_snapshot()
H A Dtree-log.c3176 &log->root_key, root_item);
3179 &log->root_key, root_item); in update_log_root()
H A Dqgroup.c1419 ret = btrfs_del_root(trans, &quota_root->root_key); in btrfs_quota_disable()
H A Dinode.c6719 memcpy(&key, &inode->root->root_key, sizeof(key)); in btrfs_create_new_inode()
/linux/lib/
H A Dtest_objagg.c628 const struct tokey *root_key; in obj_to_key_id() local
632 root_key = objagg_obj_root_priv(objagg_obj); in obj_to_key_id()
633 key_id = root_key->id; in obj_to_key_id()