Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/btrfs/
H A 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 …]
H A 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 …]
H A Dexport.h12 u64 root_objectid; member
22 u64 root_objectid, u64 generation,
H A Dextent-tree.c43 u64 root_objectid, u64 owner_objectid,
50 u64 parent, u64 root_objectid,
403 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument
409 lenum = cpu_to_le64(root_objectid); in hash_extent_data_ref()
429 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument
431 if (btrfs_extent_data_ref_root(leaf, ref) != root_objectid || in match_extent_data_ref()
441 u64 root_objectid, in lookup_extent_data_ref() argument
459 key.offset = hash_extent_data_ref(root_objectid, in lookup_extent_data_ref()
499 if (match_extent_data_ref(leaf, ref, root_objectid, in lookup_extent_data_ref()
517 u64 root_objectid, u64 owner, in insert_extent_data_ref() argument
[all …]
H A 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()
H A Dbackref.c137 u64 root_objectid; member
721 if (sc && sc->root_objectid && in resolve_indirect_refs()
722 ref->root_id != sc->root_objectid) { in resolve_indirect_refs()
1354 if (sc && sc->root_objectid &&
1355 ref->root_id != sc->root_objectid) {
1570 .root_objectid = root->root_key.objectid,
H A Ddisk-io.c4005 u64 root_objectid = 0; in btrfs_cleanup_fs_roots() local
4014 (void **)gang, root_objectid, in btrfs_cleanup_fs_roots()
4020 root_objectid = gang[ret - 1]->root_key.objectid + 1; in btrfs_cleanup_fs_roots()
4036 root_objectid = gang[i]->root_key.objectid; in btrfs_cleanup_fs_roots()
4042 root_objectid++; in btrfs_cleanup_fs_roots()
4341 u64 root_objectid = 0; in btrfs_drop_all_logs() local
4346 (void **)gang, root_objectid, in btrfs_drop_all_logs()
4357 root_objectid = gang[i]->root_key.objectid; in btrfs_drop_all_logs()
4361 root_objectid++; in btrfs_drop_all_logs()
H A 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()
H A Dsuper.c1571 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol() local
1579 if (subvol_objectid && root_objectid != subvol_objectid) { in mount_subvol()
H A Dctree.h2527 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset);
2572 u64 parent, u64 root_objectid,
2586 u64 root_objectid, u64 owner, u64 offset,
/OK3568_Linux_fs/kernel/include/trace/events/
H A 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 …]
/OK3568_Linux_fs/kernel/fs/btrfs/tests/
H A 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()