Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/tpm2/
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-6.12.1/fs/btrfs/tests/
Dqgroup-tests.c492 root->root_key.objectid = BTRFS_EXTENT_TREE_OBJECTID; in btrfs_test_qgroups()
493 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_test_qgroups()
494 root->root_key.offset = 0; in btrfs_test_qgroups()
526 tmp_root->root_key.objectid = BTRFS_FS_TREE_OBJECTID; in btrfs_test_qgroups()
542 tmp_root->root_key.objectid = BTRFS_FIRST_FREE_OBJECTID; in btrfs_test_qgroups()
Dfree-space-tree-tests.c450 root->root_key.objectid = BTRFS_FREE_SPACE_TREE_OBJECTID; in run_test()
451 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in run_test()
452 root->root_key.offset = 0; in run_test()
Dfree-space-tests.c1039 root->root_key.objectid = BTRFS_EXTENT_TREE_OBJECTID; in btrfs_test_free_space_cache()
1040 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_test_free_space_cache()
1041 root->root_key.offset = 0; in btrfs_test_free_space_cache()
/linux-6.12.1/include/trace/events/
Dbtrfs.h227 BTRFS_I(inode)->root->root_key.objectid;
299 __entry->root_objectid = root->root_key.objectid;
378 __entry->root_obj = bi->root->root_key.objectid;
429 __entry->root_obj = bi->root->root_key.objectid;
529 __entry->root_objectid = inode->root->root_key.objectid;
666 __entry->root_objectid = inode->root->root_key.objectid;
708 BTRFS_I(inode)->root->root_key.objectid;
752 __entry->root_objectid = inode->root->root_key.objectid;
783 BTRFS_I(inode)->root->root_key.objectid;
1054 __entry->root_objectid = fs_info->chunk_root->root_key.objectid;
[all …]
/linux-6.12.1/fs/btrfs/
Droot-tree.h35 struct btrfs_key *root_key);
Droot-tree.c69 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()
Dctree.h179 struct btrfs_key root_key; member
340 return root->root_key.objectid; in btrfs_root_id()
737 return root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID; in btrfs_is_data_reloc_root()
Drelocation.c675 struct btrfs_key root_key; in create_reloc_root() local
683 root_key.objectid = BTRFS_TREE_RELOC_OBJECTID; in create_reloc_root()
684 root_key.type = BTRFS_ROOT_ITEM_KEY; in create_reloc_root()
685 root_key.offset = objectid; in create_reloc_root()
742 &root_key, root_item); in create_reloc_root()
748 reloc_root = btrfs_read_tree_root(fs_info->tree_root, &root_key); in create_reloc_root()
878 &reloc_root->root_key, root_item); in btrfs_update_reloc_root()
1804 root = btrfs_get_fs_root(fs_info, reloc_root->root_key.offset, in prepare_to_merge()
1824 root->reloc_root->root_key.type, in prepare_to_merge()
1825 root->reloc_root->root_key.offset, in prepare_to_merge()
[all …]
Ddisk-io.c651 memset(&root->root_key, 0, sizeof(root->root_key)); in __setup_root()
655 root->root_key.objectid = objectid; in __setup_root()
753 return btrfs_comp_cpu_keys(&a->root_key, &b->root_key); in global_root_cmp()
761 return btrfs_comp_cpu_keys(key, &root->root_key); in global_root_key_cmp()
777 btrfs_root_id(root), root->root_key.offset); in btrfs_global_root_insert()
870 root->root_key.objectid = objectid; in btrfs_create_tree()
871 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_create_tree()
872 root->root_key.offset = 0; in btrfs_create_tree()
929 root->root_key.objectid = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree()
930 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in alloc_log_tree()
[all …]
Dbtrfs_inode.h364 u64 h = objectid ^ (root->root_key.objectid * GOLDEN_RATIO_PRIME); in btrfs_inode_hash()
Dextent-tree.c5311 if (!wc->update_ref || generation <= root->root_key.offset) in visit_node_for_delete()
5366 generation <= root->root_key.offset) in reada_walk_down()
5541 exists = btrfs_find_delayed_tree_ref(head, root->root_key.objectid, parent); in check_ref_exists()
5709 generation <= root->root_key.offset) { in do_walk_down()
6192 &root->root_key, in btrfs_drop_snapshot()
6229 ret = btrfs_del_root(trans, &root->root_key); in btrfs_drop_snapshot()
6236 ret = btrfs_find_root(tree_root, &root->root_key, path, in btrfs_drop_snapshot()
Dtransaction.c1302 &root->root_key, in update_cowonly_root()
1512 &root->root_key, in commit_fs_roots()
Dioctl.c1525 &root->root_key, &root->root_item); in btrfs_ioctl_subvol_setflags()
3011 btrfs_cpu_key_to_disk(&disk_key, &new_root->root_key); in btrfs_ioctl_default_subvol()
4139 &root->root_key, &root->root_item); in _btrfs_ioctl_set_received_subvol()
Dfree-space-tree.c1287 ret = btrfs_del_root(trans, &free_space_root->root_key); in btrfs_delete_free_space_tree()
Dtree-log.c2793 &log->root_key, root_item); in update_log_root()
2796 &log->root_key, root_item); in update_log_root()
Dqgroup.c1421 ret = btrfs_del_root(trans, &quota_root->root_key); in btrfs_quota_disable()
Dinode.c6493 memcpy(&key, &inode->root->root_key, sizeof(key)); in btrfs_add_link()
7874 stat->subvol = BTRFS_I(inode)->root->root_key.objectid; in btrfs_getattr()
/linux-6.12.1/lib/
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()
/linux-6.12.1/fs/reiserfs/
Dreiserfs.h1629 extern struct reiserfs_key root_key;