Home
last modified time | relevance | path

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

/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, u64 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 …]
Dextent-tree.c45 u64 root_objectid, u64 owner_objectid,
52 u64 parent, u64 root_objectid,
405 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument
411 lenum = cpu_to_le64(root_objectid); in hash_extent_data_ref()
431 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument
433 if (btrfs_extent_data_ref_root(leaf, ref) != root_objectid || in match_extent_data_ref()
443 u64 root_objectid, in lookup_extent_data_ref() argument
461 key.offset = hash_extent_data_ref(root_objectid, in lookup_extent_data_ref()
501 if (match_extent_data_ref(leaf, ref, root_objectid, in lookup_extent_data_ref()
519 u64 root_objectid, u64 owner, in insert_extent_data_ref() argument
[all …]
Dexport.h12 u64 root_objectid; member
22 u64 root_objectid, u64 generation,
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.c138 u64 root_objectid; member
726 if (sc && sc->root_objectid && in resolve_indirect_refs()
727 ref->root_id != sc->root_objectid) { in resolve_indirect_refs()
1359 if (sc && sc->root_objectid &&
1360 ref->root_id != sc->root_objectid) {
1579 .root_objectid = root->root_key.objectid,
Ddisk-io.c4273 u64 root_objectid = 0; in btrfs_cleanup_fs_roots() local
4282 (void **)gang, root_objectid, in btrfs_cleanup_fs_roots()
4288 root_objectid = gang[ret - 1]->root_key.objectid + 1; in btrfs_cleanup_fs_roots()
4304 root_objectid = gang[i]->root_key.objectid; in btrfs_cleanup_fs_roots()
4310 root_objectid++; in btrfs_cleanup_fs_roots()
4632 u64 root_objectid = 0; in btrfs_drop_all_logs() local
4637 (void **)gang, root_objectid, in btrfs_drop_all_logs()
4648 root_objectid = gang[i]->root_key.objectid; in btrfs_drop_all_logs()
4652 root_objectid++; in btrfs_drop_all_logs()
Dfile.c344 u64 root_objectid = 0; in btrfs_run_defrag_inodes() local
357 defrag = btrfs_pick_defrag_inode(fs_info, root_objectid, in btrfs_run_defrag_inodes()
360 if (root_objectid || first_ino) { in btrfs_run_defrag_inodes()
361 root_objectid = 0; in btrfs_run_defrag_inodes()
370 root_objectid = defrag->root; in btrfs_run_defrag_inodes()
Dsuper.c1628 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol() local
1636 if (subvol_objectid && root_objectid != subvol_objectid) { in mount_subvol()
Dctree.h2687 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset);
2742 u64 parent, u64 root_objectid,
2756 u64 root_objectid, u64 owner, u64 offset,
/fs/btrfs/tests/
Dqgroup-tests.c15 u64 num_bytes, u64 parent, u64 root_objectid) in insert_normal_tree_ref() argument
60 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); in insert_normal_tree_ref()
67 u64 parent, u64 root_objectid) in add_tree_ref() argument
107 key.offset = root_objectid; in add_tree_ref()
149 u64 num_bytes, u64 parent, u64 root_objectid) in remove_extent_ref() argument
189 key.offset = root_objectid; in remove_extent_ref()