Home
last modified time | relevance | path

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

/linux-6.15/fs/btrfs/
H A Dexport.c37 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 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()
265 u64 root_objectid) in add_block_entry() argument
280 re->root_objectid = root_objectid; in add_block_entry()
286 if (root_objectid) { in add_block_entry()
305 if (root_objectid) in add_block_entry()
[all …]
H A Dexport.h16 u64 root_objectid; member
26 u64 root_objectid, u64 generation);
H A Dextent-tree.h102 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset);
122 u64 parent, u64 root_objectid,
137 u64 root_objectid, u64 owner, u64 offset,
H A Dextent-tree.c55 u64 parent, u64 root_objectid,
394 lenum = cpu_to_le64(root_objectid); in hash_extent_data_ref()
426 u64 root_objectid, in lookup_extent_data_ref() argument
664 u64 root_objectid) in lookup_tree_block_ref() argument
676 key.offset = root_objectid; in lookup_tree_block_ref()
764 u64 parent, u64 root_objectid, in lookup_inline_extent_backref() argument
1068 root_objectid); in lookup_extent_backref()
1198 u64 root_objectid, u64 owner, in insert_inline_extent_backref() argument
4949 .root = root_objectid, in btrfs_alloc_logged_file_extent()
5133 root_objectid, nest); in btrfs_alloc_tree_block()
[all …]
H A Droot-tree.c234 u64 root_objectid; in btrfs_find_orphan_roots() local
259 root_objectid = key.offset; in btrfs_find_orphan_roots()
262 root = btrfs_get_fs_root(fs_info, root_objectid, false); in btrfs_find_orphan_roots()
279 root_objectid); in btrfs_find_orphan_roots()
H A Ddefrag.c290 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 Ddisk-io.c3000 u64 root_objectid = 0; in btrfs_cleanup_fs_roots() local
3009 (void **)gang, root_objectid, in btrfs_cleanup_fs_roots()
3015 root_objectid = btrfs_root_id(gang[found - 1]) + 1; in btrfs_cleanup_fs_roots()
3031 root_objectid = btrfs_root_id(gang[i]); in btrfs_cleanup_fs_roots()
3044 root_objectid++; in btrfs_cleanup_fs_roots()
4566 u64 root_objectid = 0; in btrfs_drop_all_logs() local
4571 (void **)gang, root_objectid, in btrfs_drop_all_logs()
4582 root_objectid = btrfs_root_id(gang[i]); in btrfs_drop_all_logs()
4586 root_objectid++; in btrfs_drop_all_logs()
H A Dsuper.c1195 u64 root_objectid = btrfs_root_id(BTRFS_I(root_inode)->root); in mount_subvol() local
1203 if (subvol_objectid && root_objectid != subvol_objectid) { in mount_subvol()
/linux-6.15/include/trace/events/
H A Dbtrfs.h191 __field( u64, root_objectid )
217 __field( u64, root_objectid )
227 __entry->root_objectid =
291 __field( u64, root_objectid )
516 __field( u64, root_objectid )
659 __field( u64, root_objectid )
708 __entry->root_objectid =
783 __entry->root_objectid =
1251 __field( u64, root_objectid )
1279 __field( u64, root_objectid )
[all …]
/linux-6.15/fs/btrfs/tests/
H A 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()