Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
Dexport.c38 fid->root_objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_encode_fh()
48 if (parent_root_id != fid->root_objectid) { in btrfs_encode_fh()
75 u64 root_objectid, u64 generation) in btrfs_get_dentry() argument
84 root = btrfs_get_fs_root(fs_info, root_objectid, true); in btrfs_get_dentry()
105 u64 objectid, root_objectid; in btrfs_fh_to_parent() local
111 root_objectid = fid->root_objectid; in btrfs_fh_to_parent()
115 root_objectid = fid->parent_root_objectid; in btrfs_fh_to_parent()
122 return btrfs_get_dentry(sb, objectid, root_objectid, generation); in btrfs_fh_to_parent()
129 u64 objectid, root_objectid; in btrfs_fh_to_dentry() local
141 root_objectid = fid->root_objectid; in btrfs_fh_to_dentry()
[all …]
Dref-verify.c23 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 …]
Dexport.h12 u64 root_objectid; member
22 u64 root_objectid, u64 generation);
Dextent-tree.h92 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset);
112 u64 parent, u64 root_objectid,
126 u64 root_objectid, u64 owner, u64 offset,
Dextent-tree.c51 u64 root_objectid, u64 owner_objectid,
58 u64 parent, u64 root_objectid,
395 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument
401 lenum = cpu_to_le64(root_objectid); in hash_extent_data_ref()
421 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument
423 if (btrfs_extent_data_ref_root(leaf, ref) != root_objectid || in match_extent_data_ref()
433 u64 root_objectid, in lookup_extent_data_ref() argument
451 key.offset = hash_extent_data_ref(root_objectid, in lookup_extent_data_ref()
491 if (match_extent_data_ref(leaf, ref, root_objectid, in lookup_extent_data_ref()
509 u64 root_objectid, u64 owner, in insert_extent_data_ref() argument
[all …]
Droot-tree.c229 u64 root_objectid; in btrfs_find_orphan_roots() local
254 root_objectid = key.offset; in btrfs_find_orphan_roots()
257 root = btrfs_get_fs_root(fs_info, root_objectid, false); in btrfs_find_orphan_roots()
274 root_objectid); in btrfs_find_orphan_roots()
Ddefrag.c302 u64 root_objectid = 0; in btrfs_run_defrag_inodes() local
314 defrag = btrfs_pick_defrag_inode(fs_info, root_objectid, first_ino); in btrfs_run_defrag_inodes()
316 if (root_objectid || first_ino) { in btrfs_run_defrag_inodes()
317 root_objectid = 0; in btrfs_run_defrag_inodes()
326 root_objectid = defrag->root; in btrfs_run_defrag_inodes()
Ddisk-io.c2877 u64 root_objectid = 0; in btrfs_cleanup_fs_roots() local
2886 (void **)gang, root_objectid, in btrfs_cleanup_fs_roots()
2892 root_objectid = gang[ret - 1]->root_key.objectid + 1; in btrfs_cleanup_fs_roots()
2908 root_objectid = gang[i]->root_key.objectid; in btrfs_cleanup_fs_roots()
2914 root_objectid++; in btrfs_cleanup_fs_roots()
4521 u64 root_objectid = 0; in btrfs_drop_all_logs() local
4526 (void **)gang, root_objectid, in btrfs_drop_all_logs()
4537 root_objectid = gang[i]->root_key.objectid; in btrfs_drop_all_logs()
4541 root_objectid++; in btrfs_drop_all_logs()
Dsuper.c1405 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol() local
1413 if (subvol_objectid && root_objectid != subvol_objectid) { in mount_subvol()
/linux-6.6.21/include/trace/events/
Dbtrfs.h192 __field( u64, root_objectid )
197 __entry->root_objectid = BTRFS_ROOT_TREE_OBJECTID;
201 show_root_type(__entry->root_objectid),
218 __field( u64, root_objectid )
228 __entry->root_objectid =
234 show_root_type(__entry->root_objectid),
293 __field( u64, root_objectid )
306 __entry->root_objectid = root->root_key.objectid;
322 show_root_type(__entry->root_objectid),
532 __field( u64, root_objectid )
[all …]
/linux-6.6.21/fs/btrfs/tests/
Dqgroup-tests.c17 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()