/linux/fs/btrfs/ |
H A D | export.c | 37 fid->root_objectid = btrfs_root_id(BTRFS_I(inode)->root); in btrfs_encode_fh() 47 if (parent_root_id != fid->root_objectid) { in btrfs_encode_fh() 74 u64 root_objectid, u64 generation) in btrfs_get_dentry() argument 83 root = btrfs_get_fs_root(fs_info, root_objectid, true); in btrfs_get_dentry() 104 u64 objectid, root_objectid; in btrfs_fh_to_parent() local 110 root_objectid = fid->root_objectid; in btrfs_fh_to_parent() 114 root_objectid = fid->parent_root_objectid; in btrfs_fh_to_parent() 121 return btrfs_get_dentry(sb, objectid, root_objectid, generation); in btrfs_fh_to_parent() 128 u64 objectid, root_objectid; in btrfs_fh_to_dentry() local 140 root_objectid = fid->root_objectid; in btrfs_fh_to_dentry() [all …]
|
H A D | ref-verify.c | 23 u64 root_objectid; member 34 u64 root_objectid; member 129 if (entry->root_objectid > re->root_objectid) in insert_root_entry() 131 else if (entry->root_objectid < re->root_objectid) in insert_root_entry() 145 if (ref1->root_objectid < ref2->root_objectid) in comp_refs() 147 if (ref1->root_objectid > ref2->root_objectid) in comp_refs() 198 if (entry->root_objectid < objectid) in lookup_root_entry() 200 else if (entry->root_objectid > objectid) in lookup_root_entry() 265 u64 root_objectid) in add_block_entry() argument 280 re->root_objectid = root_objectid; in add_block_entry() [all …]
|
H A D | export.h | 16 u64 root_objectid; member 26 u64 root_objectid, u64 generation);
|
H A D | extent-tree.h | 103 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset); 124 u64 parent, u64 root_objectid, 139 u64 root_objectid, u64 owner, u64 offset,
|
H A D | extent-tree.c | 55 u64 parent, u64 root_objectid, 392 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument 398 lenum = cpu_to_le64(root_objectid); in hash_extent_data_ref() 418 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument 420 if (btrfs_extent_data_ref_root(leaf, ref) != root_objectid || in match_extent_data_ref() 430 u64 root_objectid, in lookup_extent_data_ref() argument 447 key.offset = hash_extent_data_ref(root_objectid, in lookup_extent_data_ref() 487 if (match_extent_data_ref(leaf, ref, root_objectid, in lookup_extent_data_ref() 670 u64 root_objectid) in lookup_tree_block_ref() argument 682 key.offset = root_objectid; in lookup_tree_block_ref() [all …]
|
H A D | root-tree.c | 235 u64 root_objectid; in btrfs_find_orphan_roots() local 260 root_objectid = key.offset; in btrfs_find_orphan_roots() 263 root = btrfs_get_fs_root(fs_info, root_objectid, false); in btrfs_find_orphan_roots() 280 root_objectid); in btrfs_find_orphan_roots()
|
H A D | defrag.c | 290 u64 root_objectid = 0; in btrfs_run_defrag_inodes() local 304 defrag = btrfs_pick_defrag_inode(fs_info, root_objectid, first_ino); in btrfs_run_defrag_inodes() 306 if (root_objectid || first_ino) { in btrfs_run_defrag_inodes() 307 root_objectid = 0; in btrfs_run_defrag_inodes() 316 root_objectid = defrag->root; in btrfs_run_defrag_inodes()
|
H A D | disk-io.c | 2924 u64 root_objectid = 0; in btrfs_cleanup_fs_roots() local 2933 (void **)gang, root_objectid, in btrfs_cleanup_fs_roots() 2939 root_objectid = btrfs_root_id(gang[found - 1]) + 1; in btrfs_cleanup_fs_roots() 2955 root_objectid = btrfs_root_id(gang[i]); in btrfs_cleanup_fs_roots() 2968 root_objectid++; in btrfs_cleanup_fs_roots() 4469 u64 root_objectid = 0; in btrfs_drop_all_logs() local 4474 (void **)gang, root_objectid, in btrfs_drop_all_logs() 4485 root_objectid = btrfs_root_id(gang[i]); in btrfs_drop_all_logs() 4489 root_objectid++; in btrfs_drop_all_logs()
|
H A D | super.c | 1192 u64 root_objectid = btrfs_root_id(BTRFS_I(root_inode)->root); in mount_subvol() local 1200 if (subvol_objectid && root_objectid != subvol_objectid) { in mount_subvol()
|
/linux/include/trace/events/ |
H A D | btrfs.h | 190 __field( u64, root_objectid ) 195 __entry->root_objectid = BTRFS_ROOT_TREE_OBJECTID; 199 show_root_type(__entry->root_objectid), 216 __field( u64, root_objectid ) 226 __entry->root_objectid = 232 show_root_type(__entry->root_objectid), 290 __field( u64, root_objectid ) 299 __entry->root_objectid = root->root_key.objectid; 308 show_root_type(__entry->root_objectid), 515 __field( u64, root_objectid ) [all …]
|
/linux/fs/btrfs/tests/ |
H A D | qgroup-tests.c | 17 u64 num_bytes, u64 parent, u64 root_objectid) in insert_normal_tree_ref() argument 62 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); in insert_normal_tree_ref() 69 u64 parent, u64 root_objectid) in add_tree_ref() argument 109 key.offset = root_objectid; in add_tree_ref() 151 u64 num_bytes, u64 parent, u64 root_objectid) in remove_extent_ref() argument 191 key.offset = root_objectid; in remove_extent_ref()
|