Home
last modified time | relevance | path

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

/Linux-v5.10/fs/btrfs/
Dexport.c36 fid->root_objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_encode_fh()
46 if (parent_root_id != fid->root_objectid) { in btrfs_encode_fh()
61 u64 root_objectid, u32 generation, in btrfs_get_dentry() argument
71 root = btrfs_get_fs_root(fs_info, root_objectid, true); in btrfs_get_dentry()
92 u64 objectid, root_objectid; in btrfs_fh_to_parent() local
98 root_objectid = fid->root_objectid; in btrfs_fh_to_parent()
102 root_objectid = fid->parent_root_objectid; in btrfs_fh_to_parent()
109 return btrfs_get_dentry(sb, objectid, root_objectid, generation, 1); in btrfs_fh_to_parent()
116 u64 objectid, root_objectid; in btrfs_fh_to_dentry() local
128 root_objectid = fid->root_objectid; in btrfs_fh_to_dentry()
[all …]
Dref-verify.c20 u64 root_objectid; member
31 u64 root_objectid; member
126 if (entry->root_objectid > re->root_objectid) in insert_root_entry()
128 else if (entry->root_objectid < re->root_objectid) in insert_root_entry()
142 if (ref1->root_objectid < ref2->root_objectid) in comp_refs()
144 if (ref1->root_objectid > ref2->root_objectid) in comp_refs()
195 if (entry->root_objectid < objectid) in lookup_root_entry()
197 else if (entry->root_objectid > objectid) in lookup_root_entry()
262 u64 root_objectid) in add_block_entry() argument
277 re->root_objectid = root_objectid; in add_block_entry()
[all …]
Dexport.h12 u64 root_objectid; member
22 u64 root_objectid, u32 generation,
Dextent-tree.c43 u64 root_objectid, u64 owner_objectid,
50 u64 parent, u64 root_objectid,
438 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument
444 lenum = cpu_to_le64(root_objectid); in hash_extent_data_ref()
464 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument
466 if (btrfs_extent_data_ref_root(leaf, ref) != root_objectid || in match_extent_data_ref()
476 u64 root_objectid, in lookup_extent_data_ref() argument
494 key.offset = hash_extent_data_ref(root_objectid, in lookup_extent_data_ref()
534 if (match_extent_data_ref(leaf, ref, root_objectid, in lookup_extent_data_ref()
552 u64 root_objectid, u64 owner, in insert_extent_data_ref() argument
[all …]
Droot-tree.c226 u64 root_objectid; in btrfs_find_orphan_roots() local
251 root_objectid = key.offset; in btrfs_find_orphan_roots()
254 root = btrfs_get_fs_root(fs_info, root_objectid, false); in btrfs_find_orphan_roots()
271 root_objectid); in btrfs_find_orphan_roots()
Dbackref.c137 u64 root_objectid; member
706 if (sc && sc->root_objectid && in resolve_indirect_refs()
707 ref->root_id != sc->root_objectid) { in resolve_indirect_refs()
1317 if (sc && sc->root_objectid &&
1318 ref->root_id != sc->root_objectid) {
1529 .root_objectid = root->root_key.objectid,
Ddisk-io.c3958 u64 root_objectid = 0; in btrfs_cleanup_fs_roots() local
3967 (void **)gang, root_objectid, in btrfs_cleanup_fs_roots()
3973 root_objectid = gang[ret - 1]->root_key.objectid + 1; in btrfs_cleanup_fs_roots()
3989 root_objectid = gang[i]->root_key.objectid; in btrfs_cleanup_fs_roots()
3995 root_objectid++; in btrfs_cleanup_fs_roots()
4269 u64 root_objectid = 0; in btrfs_drop_all_logs() local
4274 (void **)gang, root_objectid, in btrfs_drop_all_logs()
4285 root_objectid = gang[i]->root_key.objectid; in btrfs_drop_all_logs()
4289 root_objectid++; in btrfs_drop_all_logs()
Dtree-checker.c1436 u64 root_objectid; in check_extent_data_ref() local
1442 root_objectid = btrfs_extent_data_ref_root(leaf, dref); in check_extent_data_ref()
1445 hash = hash_extent_data_ref(root_objectid, owner, offset); in check_extent_data_ref()
Dfile.c342 u64 root_objectid = 0; in btrfs_run_defrag_inodes() local
355 defrag = btrfs_pick_defrag_inode(fs_info, root_objectid, in btrfs_run_defrag_inodes()
358 if (root_objectid || first_ino) { in btrfs_run_defrag_inodes()
359 root_objectid = 0; in btrfs_run_defrag_inodes()
368 root_objectid = defrag->root; in btrfs_run_defrag_inodes()
Dsuper.c1546 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol() local
1554 if (subvol_objectid && root_objectid != subvol_objectid) { in mount_subvol()
Dctree.h2519 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset);
2564 u64 parent, u64 root_objectid,
2578 u64 root_objectid, u64 owner, u64 offset,
/Linux-v5.10/include/trace/events/
Dbtrfs.h190 __field( u64, root_objectid )
195 __entry->root_objectid = root->root_key.objectid;
199 show_root_type(__entry->root_objectid),
216 __field( u64, root_objectid )
226 __entry->root_objectid =
232 show_root_type(__entry->root_objectid),
291 __field( u64, root_objectid )
304 __entry->root_objectid = root->root_key.objectid;
320 show_root_type(__entry->root_objectid),
529 __field( u64, root_objectid )
[all …]
/Linux-v5.10/fs/btrfs/tests/
Dqgroup-tests.c15 u64 num_bytes, u64 parent, u64 root_objectid) in insert_normal_tree_ref() argument
61 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); in insert_normal_tree_ref()
68 u64 parent, u64 root_objectid) in add_tree_ref() argument
109 key.offset = root_objectid; in add_tree_ref()
152 u64 num_bytes, u64 parent, u64 root_objectid) in remove_extent_ref() argument
193 key.offset = root_objectid; in remove_extent_ref()