Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Dexport.c34 fid->root_objectid = BTRFS_I(inode)->root->objectid; in btrfs_encode_fh()
44 if (parent_root_id != fid->root_objectid) { in btrfs_encode_fh()
59 u64 root_objectid, u32 generation, in btrfs_get_dentry() argument
72 key.objectid = root_objectid; in btrfs_get_dentry()
111 u64 objectid, root_objectid; in btrfs_fh_to_parent() local
117 root_objectid = fid->root_objectid; in btrfs_fh_to_parent()
121 root_objectid = fid->parent_root_objectid; in btrfs_fh_to_parent()
128 return btrfs_get_dentry(sb, objectid, root_objectid, generation, 1); in btrfs_fh_to_parent()
135 u64 objectid, root_objectid; in btrfs_fh_to_dentry() local
147 root_objectid = fid->root_objectid; in btrfs_fh_to_dentry()
[all …]
Dexport.h10 u64 root_objectid; member
Dextent-tree.c83 u64 root_objectid, u64 owner_objectid,
91 u64 parent, u64 root_objectid,
96 u64 parent, u64 root_objectid,
1123 static u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument
1129 lenum = cpu_to_le64(root_objectid); in hash_extent_data_ref()
1149 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument
1151 if (btrfs_extent_data_ref_root(leaf, ref) != root_objectid || in match_extent_data_ref()
1162 u64 root_objectid, in lookup_extent_data_ref() argument
1179 key.offset = hash_extent_data_ref(root_objectid, in lookup_extent_data_ref()
1230 if (match_extent_data_ref(leaf, ref, root_objectid, in lookup_extent_data_ref()
[all …]
Dbackref.h72 struct btrfs_fs_info *fs_info, u64 root_objectid,
Dbackref.c427 u64 root_objectid) in __resolve_indirect_refs() argument
452 if (root_objectid && ref->root_id != root_objectid) { in __resolve_indirect_refs()
932 u64 root_objectid, u64 inum) argument
1055 root_objectid);
1065 if (root_objectid && ref->root_id != root_objectid) {
1265 struct btrfs_fs_info *fs_info, u64 root_objectid, argument
1290 roots, NULL, root_objectid, inum);
Drelocation.c569 static int is_cowonly_root(u64 root_objectid) in is_cowonly_root() argument
571 if (root_objectid == BTRFS_ROOT_TREE_OBJECTID || in is_cowonly_root()
572 root_objectid == BTRFS_EXTENT_TREE_OBJECTID || in is_cowonly_root()
573 root_objectid == BTRFS_CHUNK_TREE_OBJECTID || in is_cowonly_root()
574 root_objectid == BTRFS_DEV_TREE_OBJECTID || in is_cowonly_root()
575 root_objectid == BTRFS_TREE_LOG_OBJECTID || in is_cowonly_root()
576 root_objectid == BTRFS_CSUM_TREE_OBJECTID || in is_cowonly_root()
577 root_objectid == BTRFS_UUID_TREE_OBJECTID || in is_cowonly_root()
578 root_objectid == BTRFS_QUOTA_TREE_OBJECTID) in is_cowonly_root()
584 u64 root_objectid) in read_fs_root() argument
[all …]
Dfile.c366 u64 root_objectid = 0; in btrfs_run_defrag_inodes() local
379 defrag = btrfs_pick_defrag_inode(fs_info, root_objectid, in btrfs_run_defrag_inodes()
382 if (root_objectid || first_ino) { in btrfs_run_defrag_inodes()
383 root_objectid = 0; in btrfs_run_defrag_inodes()
392 root_objectid = defrag->root; in btrfs_run_defrag_inodes()
Dctree.h3424 u64 root_objectid,
3433 u64 root_objectid, u64 owner,
3438 u64 root_objectid, u64 owner, u64 offset,
3453 u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid,
3467 u64 root_objectid, u64 owner, u64 offset);
Ddisk-io.c3737 u64 root_objectid = 0; in btrfs_cleanup_fs_roots() local
3747 (void **)gang, root_objectid, in btrfs_cleanup_fs_roots()
3753 root_objectid = gang[ret - 1]->root_key.objectid + 1; in btrfs_cleanup_fs_roots()
3769 root_objectid = gang[i]->root_key.objectid; in btrfs_cleanup_fs_roots()
3775 root_objectid++; in btrfs_cleanup_fs_roots()
Dsuper.c1343 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol() local
1351 if (subvol_objectid && root_objectid != subvol_objectid) { in mount_subvol()
Dinode.c9258 u64 root_objectid; in btrfs_rename() local
9361 root_objectid = BTRFS_I(old_inode)->root->root_key.objectid; in btrfs_rename()
9362 ret = btrfs_unlink_subvol(trans, root, old_dir, root_objectid, in btrfs_rename()
9383 root_objectid = BTRFS_I(new_inode)->location.objectid; in btrfs_rename()
9385 root_objectid, in btrfs_rename()
/linux-4.4.14/include/trace/events/
Dbtrfs.h77 __field( u64, root_objectid )
82 __entry->root_objectid = root->root_key.objectid;
86 show_root_type(__entry->root_objectid),
103 __field( u64, root_objectid )
113 __entry->root_objectid =
119 show_root_type(__entry->root_objectid),
178 __field( u64, root_objectid )
190 __entry->root_objectid = root->root_key.objectid;
205 show_root_type(__entry->root_objectid),
245 __field( u64, root_objectid )
[all …]
/linux-4.4.14/fs/btrfs/tests/
Dqgroup-tests.c35 u64 num_bytes, u64 parent, u64 root_objectid) in insert_normal_tree_ref() argument
81 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); in insert_normal_tree_ref()
88 u64 parent, u64 root_objectid) in add_tree_ref() argument
129 key.offset = root_objectid; in add_tree_ref()
172 u64 num_bytes, u64 parent, u64 root_objectid) in remove_extent_ref() argument
213 key.offset = root_objectid; in remove_extent_ref()