Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dexport.c41 fid->root_objectid = btrfs_root_id(BTRFS_I(inode)->root); in btrfs_encode_fh()
51 if (parent_root_id != fid->root_objectid) { in btrfs_encode_fh()
80 u64 root_objectid, u64 generation) in btrfs_get_dentry() argument
89 root = btrfs_get_fs_root(fs_info, root_objectid, true); in btrfs_get_dentry()
110 u64 objectid, root_objectid; in btrfs_fh_to_parent() local
116 root_objectid = fid->root_objectid; in btrfs_fh_to_parent()
120 root_objectid = fid->parent_root_objectid; in btrfs_fh_to_parent()
127 return btrfs_get_dentry(sb, objectid, root_objectid, generation); in btrfs_fh_to_parent()
134 u64 objectid, root_objectid; in btrfs_fh_to_dentry() local
146 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
120 if (entry->root_objectid < *objectid) in root_entry_root_objectid_key_cmp()
122 else if (entry->root_objectid > *objectid) in root_entry_root_objectid_key_cmp()
132 return root_entry_root_objectid_key_cmp(&new_entry->root_objectid, existing); in root_entry_root_objectid_cmp()
146 if (ref1->root_objectid < ref2->root_objectid) in comp_refs()
148 if (ref1->root_objectid > ref2->root_objectid) in comp_refs()
247 u64 root_objectid) in add_block_entry() argument
262 re->root_objectid = root_objectid; in add_block_entry()
268 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.c57 u64 parent, u64 root_objectid,
402 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument
408 lenum = cpu_to_le64(root_objectid); in hash_extent_data_ref()
428 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument
430 if (btrfs_extent_data_ref_root(leaf, ref) != root_objectid || in match_extent_data_ref()
440 u64 root_objectid, in lookup_extent_data_ref() argument
463 key.offset = hash_extent_data_ref(root_objectid, in lookup_extent_data_ref()
503 if (match_extent_data_ref(leaf, ref, root_objectid, in lookup_extent_data_ref()
689 u64 root_objectid) in lookup_tree_block_ref() argument
707 key.offset = root_objectid; in lookup_tree_block_ref()
[all …]
H A Droot-tree.c230 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()
272 ret = btrfs_del_orphan_item(trans, tree_root, root_objectid); in btrfs_find_orphan_roots()
H A Ddefrag.c281 u64 root_objectid = 0; in btrfs_run_defrag_inodes() local
295 defrag = btrfs_pick_defrag_inode(fs_info, root_objectid, first_ino); in btrfs_run_defrag_inodes()
297 if (root_objectid || first_ino) { in btrfs_run_defrag_inodes()
298 root_objectid = 0; in btrfs_run_defrag_inodes()
307 root_objectid = defrag->root; in btrfs_run_defrag_inodes()
H A Ddisk-io.c2995 u64 root_objectid = 0; in btrfs_cleanup_fs_roots() local
3004 (void **)gang, root_objectid, in btrfs_cleanup_fs_roots()
3010 root_objectid = btrfs_root_id(gang[found - 1]) + 1; in btrfs_cleanup_fs_roots()
3026 root_objectid = btrfs_root_id(gang[i]); in btrfs_cleanup_fs_roots()
3039 root_objectid++; in btrfs_cleanup_fs_roots()
4560 u64 root_objectid = 0; in btrfs_drop_all_logs() local
4565 (void **)gang, root_objectid, in btrfs_drop_all_logs()
4576 root_objectid = btrfs_root_id(gang[i]); in btrfs_drop_all_logs()
4580 root_objectid++; in btrfs_drop_all_logs()
H A Dsuper.c1204 u64 root_objectid = btrfs_root_id(BTRFS_I(root_inode)->root); in mount_subvol() local
1212 if (subvol_objectid && root_objectid != subvol_objectid) { in mount_subvol()
/linux/include/trace/events/
H A Dbtrfs.h191 __field( u64, root_objectid )
196 __entry->root_objectid = BTRFS_ROOT_TREE_OBJECTID;
200 show_root_type(__entry->root_objectid),
217 __field( u64, root_objectid )
227 __entry->root_objectid = BTRFS_I(inode)->root ?
233 show_root_type(__entry->root_objectid),
291 __field( u64, root_objectid )
300 __entry->root_objectid = btrfs_root_id(root);
309 show_root_type(__entry->root_objectid),
516 __field( u64, root_objectid )
[all …]
/linux/fs/btrfs/tests/
H A Dqgroup-tests.c17 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()
67 u64 parent, u64 root_objectid) in add_tree_ref() argument
106 key.offset = root_objectid; in add_tree_ref()
145 u64 num_bytes, u64 parent, u64 root_objectid) in remove_extent_ref() argument
184 key.offset = root_objectid; in remove_extent_ref()