| /linux-6.15/tools/testing/selftests/tpm2/ |
| H A D | tpm2_tests.py | 16 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.15/fs/btrfs/tests/ |
| H A D | qgroup-tests.c | 492 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()
|
| H A D | free-space-tree-tests.c | 450 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()
|
| H A D | free-space-tests.c | 1039 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()
|
| H A D | raid-stripe-tree-tests.c | 1106 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-6.15/include/trace/events/ |
| H A D | btrfs.h | 228 BTRFS_I(inode)->root->root_key.objectid; 300 __entry->root_objectid = root->root_key.objectid; 379 __entry->root_obj = bi->root->root_key.objectid; 430 __entry->root_obj = bi->root->root_key.objectid; 709 BTRFS_I(inode)->root->root_key.objectid; 784 BTRFS_I(inode)->root->root_key.objectid; 1100 __entry->root_objectid = root->root_key.objectid; 1676 BTRFS_I(inode)->root->root_key.objectid; 1869 __entry->refroot = root->root_key.objectid; 1891 __entry->refroot = root->root_key.objectid; [all …]
|
| /linux-6.15/fs/btrfs/ |
| H A D | ctree.h | 178 struct btrfs_key root_key; member 339 return root->root_key.objectid; in btrfs_root_id() 388 return root->root_key.offset; in btrfs_root_origin_generation() 741 return root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID; in btrfs_is_data_reloc_root()
|
| H A D | root-tree.h | 35 struct btrfs_key *root_key);
|
| H A D | root-tree.c | 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 D | relocation.c | 581 struct btrfs_key root_key; in create_reloc_root() local 590 root_key.type = BTRFS_ROOT_ITEM_KEY; in create_reloc_root() 591 root_key.offset = objectid; in create_reloc_root() 648 &root_key, root_item); in create_reloc_root() 784 &reloc_root->root_key, root_item); in btrfs_update_reloc_root() 1724 root->reloc_root->root_key.type, in prepare_to_merge() 1729 reloc_root->root_key.type, in prepare_to_merge() 1730 reloc_root->root_key.offset, in prepare_to_merge() 1738 reloc_root->root_key.type, in prepare_to_merge() 1739 reloc_root->root_key.offset, in prepare_to_merge() [all …]
|
| H A D | disk-io.c | 649 memset(&root->root_key, 0, sizeof(root->root_key)); in __setup_root() 653 root->root_key.objectid = objectid; in __setup_root() 751 return btrfs_comp_cpu_keys(&a->root_key, &b->root_key); in global_root_cmp() 868 root->root_key.objectid = objectid; in btrfs_create_tree() 869 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_create_tree() 870 root->root_key.offset = 0; in btrfs_create_tree() 927 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in alloc_log_tree() 928 root->root_key.offset = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree() 1003 log_root->root_key.offset = btrfs_root_id(root); in btrfs_add_log_tree() 1039 &root->root_item, &root->root_key); in read_tree_root_path() [all …]
|
| H A D | btrfs_inode.h | 365 u64 h = objectid ^ (root->root_key.objectid * GOLDEN_RATIO_PRIME); in btrfs_inode_hash()
|
| H A D | transaction.c | 1307 &root->root_key, in update_cowonly_root() 1517 &root->root_key, in commit_fs_roots()
|
| H A D | extent-tree.c | 5517 exists = btrfs_find_delayed_tree_ref(head, root->root_key.objectid, parent); in check_ref_exists() 6166 &root->root_key, in btrfs_drop_snapshot() 6203 ret = btrfs_del_root(trans, &root->root_key); in btrfs_drop_snapshot() 6210 ret = btrfs_find_root(tree_root, &root->root_key, path, in btrfs_drop_snapshot()
|
| H A D | free-space-tree.c | 1277 ret = btrfs_del_root(trans, &free_space_root->root_key); in btrfs_delete_free_space_tree()
|
| H A D | ioctl.c | 1430 &root->root_key, &root->root_item); in btrfs_ioctl_subvol_setflags() 2925 btrfs_cpu_key_to_disk(&disk_key, &new_root->root_key); in btrfs_ioctl_default_subvol() 4051 &root->root_key, &root->root_item); in _btrfs_ioctl_set_received_subvol()
|
| H A D | tree-log.c | 2774 &log->root_key, root_item); in update_log_root() 2777 &log->root_key, root_item); in update_log_root()
|
| H A D | inode.c | 2902 BTRFS_I(inode)->root->root_key.objectid, in btrfs_writepage_cow_fixup() 6567 memcpy(&key, &inode->root->root_key, sizeof(key)); in btrfs_add_link() 7946 stat->subvol = BTRFS_I(inode)->root->root_key.objectid; in btrfs_getattr()
|
| H A D | extent_io.c | 1747 inode->root->root_key.objectid, in extent_writepage()
|
| H A D | qgroup.c | 1401 ret = btrfs_del_root(trans, "a_root->root_key); in btrfs_quota_disable()
|
| /linux-6.15/lib/ |
| H A D | test_objagg.c | 628 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()
|