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

/linux-4.4.14/fs/btrfs/
H A Dexport.h10 u64 root_objectid; member in struct:btrfs_fid
H A Dexport.c34 fid->root_objectid = BTRFS_I(inode)->root->objectid; btrfs_encode_fh()
44 if (parent_root_id != fid->root_objectid) { btrfs_encode_fh()
59 u64 root_objectid, u32 generation, btrfs_get_dentry()
72 key.objectid = root_objectid; btrfs_get_dentry()
111 u64 objectid, root_objectid; btrfs_fh_to_parent() local
117 root_objectid = fid->root_objectid; btrfs_fh_to_parent()
121 root_objectid = fid->parent_root_objectid; btrfs_fh_to_parent()
128 return btrfs_get_dentry(sb, objectid, root_objectid, generation, 1); btrfs_fh_to_parent()
135 u64 objectid, root_objectid; btrfs_fh_to_dentry() local
147 root_objectid = fid->root_objectid; btrfs_fh_to_dentry()
150 return btrfs_get_dentry(sb, objectid, root_objectid, generation, 1); btrfs_fh_to_dentry()
58 btrfs_get_dentry(struct super_block *sb, u64 objectid, u64 root_objectid, u32 generation, int check_generation) btrfs_get_dentry() argument
H A Dbackref.h72 struct btrfs_fs_info *fs_info, u64 root_objectid,
H A 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) hash_extent_data_ref() argument
1129 lenum = cpu_to_le64(root_objectid); hash_extent_data_ref()
1149 u64 root_objectid, u64 owner, u64 offset) match_extent_data_ref()
1151 if (btrfs_extent_data_ref_root(leaf, ref) != root_objectid || match_extent_data_ref()
1162 u64 root_objectid, lookup_extent_data_ref()
1179 key.offset = hash_extent_data_ref(root_objectid, lookup_extent_data_ref()
1230 if (match_extent_data_ref(leaf, ref, root_objectid, lookup_extent_data_ref()
1249 u64 root_objectid, u64 owner, insert_extent_data_ref()
1265 key.offset = hash_extent_data_ref(root_objectid, insert_extent_data_ref()
1291 if (match_extent_data_ref(leaf, ref, root_objectid, insert_extent_data_ref()
1307 root_objectid); insert_extent_data_ref()
1427 u64 root_objectid) lookup_tree_block_ref()
1438 key.offset = root_objectid; lookup_tree_block_ref()
1460 u64 root_objectid) insert_tree_block_ref()
1471 key.offset = root_objectid; insert_tree_block_ref()
1536 u64 parent, u64 root_objectid, lookup_inline_extent_backref()
1663 if (match_extent_data_ref(leaf, dref, root_objectid, lookup_inline_extent_backref()
1669 hash_extent_data_ref(root_objectid, owner, offset)) lookup_inline_extent_backref()
1682 if (root_objectid == ref_offset) { lookup_inline_extent_backref()
1686 if (ref_offset < root_objectid) lookup_inline_extent_backref()
1727 u64 parent, u64 root_objectid, setup_inline_extent_backref()
1767 btrfs_set_extent_data_ref_root(leaf, dref, root_objectid); setup_inline_extent_backref()
1779 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); setup_inline_extent_backref()
1789 u64 root_objectid, u64 owner, u64 offset) lookup_extent_backref()
1795 root_objectid, owner, offset, 0); lookup_extent_backref()
1804 root_objectid); lookup_extent_backref()
1807 root_objectid, owner, offset); lookup_extent_backref()
1884 u64 root_objectid, u64 owner, insert_inline_extent_backref()
1893 root_objectid, owner, offset, 1); insert_inline_extent_backref()
1900 root_objectid, owner, offset, insert_inline_extent_backref()
1910 u64 bytenr, u64 parent, u64 root_objectid, insert_extent_backref()
1917 parent, root_objectid); insert_extent_backref()
1920 parent, root_objectid, insert_extent_backref()
2075 u64 root_objectid, u64 owner, u64 offset) btrfs_inc_extent_ref()
2081 root_objectid == BTRFS_TREE_LOG_OBJECTID); btrfs_inc_extent_ref()
2086 parent, root_objectid, (int)owner, btrfs_inc_extent_ref()
2090 num_bytes, parent, root_objectid, btrfs_inc_extent_ref()
2100 u64 parent, u64 root_objectid, __btrfs_inc_extent_ref()
2123 root_objectid, owner, offset, __btrfs_inc_extent_ref()
2148 path, bytenr, parent, root_objectid, __btrfs_inc_extent_ref()
6393 u64 owner, u64 root_objectid) add_pinned_bytes()
6399 if (root_objectid == BTRFS_CHUNK_TREE_OBJECTID) add_pinned_bytes()
6416 u64 root_objectid, u64 owner_objectid, __btrfs_free_extent()
6455 root_objectid, owner_objectid, __btrfs_free_extent()
6547 bytenr, parent, root_objectid, owner_objectid, __btrfs_free_extent()
6636 root_objectid); __btrfs_free_extent()
6812 u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, btrfs_free_extent()
6821 add_pinned_bytes(root->fs_info, num_bytes, owner, root_objectid); btrfs_free_extent()
6827 if (root_objectid == BTRFS_TREE_LOG_OBJECTID) { btrfs_free_extent()
6835 parent, root_objectid, (int)owner, btrfs_free_extent()
6840 parent, root_objectid, owner, btrfs_free_extent()
7619 u64 parent, u64 root_objectid, alloc_reserved_file_extent()
7669 btrfs_set_extent_data_ref_root(leaf, ref, root_objectid); alloc_reserved_file_extent()
7690 u64 parent, u64 root_objectid, alloc_reserved_tree_block()
7752 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); alloc_reserved_tree_block()
7772 u64 root_objectid, u64 owner, btrfs_alloc_reserved_file_extent()
7778 BUG_ON(root_objectid == BTRFS_TREE_LOG_OBJECTID); btrfs_alloc_reserved_file_extent()
7782 root_objectid, owner, offset, btrfs_alloc_reserved_file_extent()
7795 u64 root_objectid, u64 owner, u64 offset, btrfs_alloc_logged_file_extent()
7818 ret = alloc_reserved_file_extent(trans, root, 0, root_objectid, btrfs_alloc_logged_file_extent()
7931 u64 parent, u64 root_objectid, btrfs_alloc_tree_block()
7968 if (root_objectid == BTRFS_TREE_RELOC_OBJECTID) { btrfs_alloc_tree_block()
7975 if (root_objectid != BTRFS_TREE_LOG_OBJECTID) { btrfs_alloc_tree_block()
7996 parent, root_objectid, level, btrfs_alloc_tree_block()
1147 match_extent_data_ref(struct extent_buffer *leaf, struct btrfs_extent_data_ref *ref, u64 root_objectid, u64 owner, u64 offset) match_extent_data_ref() argument
1158 lookup_extent_data_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 bytenr, u64 parent, u64 root_objectid, u64 owner, u64 offset) lookup_extent_data_ref() argument
1245 insert_extent_data_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 bytenr, u64 parent, u64 root_objectid, u64 owner, u64 offset, int refs_to_add) insert_extent_data_ref() argument
1423 lookup_tree_block_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 bytenr, u64 parent, u64 root_objectid) lookup_tree_block_ref() argument
1456 insert_tree_block_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 bytenr, u64 parent, u64 root_objectid) insert_tree_block_ref() argument
1531 lookup_inline_extent_backref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_extent_inline_ref **ref_ret, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset, int insert) lookup_inline_extent_backref() argument
1724 setup_inline_extent_backref(struct btrfs_root *root, struct btrfs_path *path, struct btrfs_extent_inline_ref *iref, u64 parent, u64 root_objectid, u64 owner, u64 offset, int refs_to_add, struct btrfs_delayed_extent_op *extent_op) setup_inline_extent_backref() argument
1784 lookup_extent_backref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_extent_inline_ref **ref_ret, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset) lookup_extent_backref() argument
1880 insert_inline_extent_backref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset, int refs_to_add, struct btrfs_delayed_extent_op *extent_op) insert_inline_extent_backref() argument
1907 insert_extent_backref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 bytenr, u64 parent, u64 root_objectid, u64 owner, u64 offset, int refs_to_add) insert_extent_backref() argument
2072 btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset) btrfs_inc_extent_ref() argument
2097 __btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_delayed_ref_node *node, u64 parent, u64 root_objectid, u64 owner, u64 offset, int refs_to_add, struct btrfs_delayed_extent_op *extent_op) __btrfs_inc_extent_ref() argument
6392 add_pinned_bytes(struct btrfs_fs_info *fs_info, u64 num_bytes, u64 owner, u64 root_objectid) add_pinned_bytes() argument
6413 __btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_delayed_ref_node *node, u64 parent, u64 root_objectid, u64 owner_objectid, u64 owner_offset, int refs_to_drop, struct btrfs_delayed_extent_op *extent_op) __btrfs_free_extent() argument
6811 btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, u64 owner, u64 offset) btrfs_free_extent() argument
7617 alloc_reserved_file_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 parent, u64 root_objectid, u64 flags, u64 owner, u64 offset, struct btrfs_key *ins, int ref_mod) alloc_reserved_file_extent() argument
7688 alloc_reserved_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 parent, u64 root_objectid, u64 flags, struct btrfs_disk_key *key, int level, struct btrfs_key *ins) alloc_reserved_tree_block() argument
7770 btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 root_objectid, u64 owner, u64 offset, u64 ram_bytes, struct btrfs_key *ins) btrfs_alloc_reserved_file_extent() argument
7793 btrfs_alloc_logged_file_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 root_objectid, u64 owner, u64 offset, struct btrfs_key *ins) btrfs_alloc_logged_file_extent() argument
7929 btrfs_alloc_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 parent, u64 root_objectid, struct btrfs_disk_key *key, int level, u64 hint, u64 empty_size) btrfs_alloc_tree_block() argument
H A Dbackref.c427 u64 root_objectid) __resolve_indirect_refs()
452 if (root_objectid && ref->root_id != root_objectid) { list_for_each_entry_safe()
932 u64 root_objectid, u64 inum)
1055 root_objectid);
1065 if (root_objectid && ref->root_id != root_objectid) {
1265 struct btrfs_fs_info *fs_info, u64 root_objectid, btrfs_check_shared()
1290 roots, NULL, root_objectid, inum); btrfs_check_shared()
423 __resolve_indirect_refs(struct btrfs_fs_info *fs_info, struct btrfs_path *path, u64 time_seq, struct list_head *head, const u64 *extent_item_pos, u64 total_refs, u64 root_objectid) __resolve_indirect_refs() argument
928 find_parent_nodes(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 bytenr, u64 time_seq, struct ulist *refs, struct ulist *roots, const u64 *extent_item_pos, u64 root_objectid, u64 inum) find_parent_nodes() argument
1264 btrfs_check_shared(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 root_objectid, u64 inum, u64 bytenr) btrfs_check_shared() argument
H A Drelocation.c569 static int is_cowonly_root(u64 root_objectid) is_cowonly_root() argument
571 if (root_objectid == BTRFS_ROOT_TREE_OBJECTID || is_cowonly_root()
572 root_objectid == BTRFS_EXTENT_TREE_OBJECTID || is_cowonly_root()
573 root_objectid == BTRFS_CHUNK_TREE_OBJECTID || is_cowonly_root()
574 root_objectid == BTRFS_DEV_TREE_OBJECTID || is_cowonly_root()
575 root_objectid == BTRFS_TREE_LOG_OBJECTID || is_cowonly_root()
576 root_objectid == BTRFS_CSUM_TREE_OBJECTID || is_cowonly_root()
577 root_objectid == BTRFS_UUID_TREE_OBJECTID || is_cowonly_root()
578 root_objectid == BTRFS_QUOTA_TREE_OBJECTID) is_cowonly_root()
584 u64 root_objectid) read_fs_root()
588 key.objectid = root_objectid; read_fs_root()
590 if (is_cowonly_root(root_objectid)) read_fs_root()
605 u64 root_objectid = btrfs_ref_root_v0(leaf, ref0); find_tree_root() local
608 BUG_ON(root_objectid == BTRFS_TREE_RELOC_OBJECTID); find_tree_root()
610 root = read_fs_root(rc->extent_root->fs_info, root_objectid); find_tree_root()
583 read_fs_root(struct btrfs_fs_info *fs_info, u64 root_objectid) read_fs_root() argument
H A Dfile.c366 u64 root_objectid = 0; btrfs_run_defrag_inodes() local
379 defrag = btrfs_pick_defrag_inode(fs_info, root_objectid, btrfs_run_defrag_inodes()
382 if (root_objectid || first_ino) { btrfs_run_defrag_inodes()
383 root_objectid = 0; btrfs_run_defrag_inodes()
392 root_objectid = defrag->root; btrfs_run_defrag_inodes()
H A 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);
H A Ddisk-io.c3737 u64 root_objectid = 0; btrfs_cleanup_fs_roots() local
3747 (void **)gang, root_objectid, btrfs_cleanup_fs_roots()
3753 root_objectid = gang[ret - 1]->root_key.objectid + 1; btrfs_cleanup_fs_roots()
3769 root_objectid = gang[i]->root_key.objectid; btrfs_cleanup_fs_roots()
3775 root_objectid++; btrfs_cleanup_fs_roots()
H A Dsuper.c1343 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; mount_subvol() local
1351 if (subvol_objectid && root_objectid != subvol_objectid) { mount_subvol()
H A Dinode.c9258 u64 root_objectid; btrfs_rename() local
9361 root_objectid = BTRFS_I(old_inode)->root->root_key.objectid; btrfs_rename()
9362 ret = btrfs_unlink_subvol(trans, root, old_dir, root_objectid, btrfs_rename()
9383 root_objectid = BTRFS_I(new_inode)->location.objectid; btrfs_rename()
9385 root_objectid, btrfs_rename()
/linux-4.4.14/include/trace/events/
H A 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 )
258 __entry->root_objectid =
266 show_root_type(__entry->root_objectid),
323 __field( u64, root_objectid )
337 __entry->root_objectid =
345 show_root_type(__entry->root_objectid),
374 __field( u64, root_objectid )
383 __entry->root_objectid =
389 show_root_type(__entry->root_objectid),
405 __field( u64, root_objectid )
415 __entry->root_objectid =
420 show_root_type(__entry->root_objectid),
646 __field( u64, root_objectid )
655 __entry->root_objectid = root->root_key.objectid;
660 show_root_type(__entry->root_objectid),
691 __field( u64, root_objectid )
700 __entry->root_objectid = root->root_key.objectid;
710 show_root_type(__entry->root_objectid),
753 __field( u64, root_objectid )
759 __entry->root_objectid = root->root_key.objectid;
765 show_root_type(__entry->root_objectid),
792 __field( u64, root_objectid )
799 __entry->root_objectid = root->root_key.objectid;
806 "flags = %Lu(%s)", show_root_type(__entry->root_objectid),
821 __field( u64, root_objectid )
829 __entry->root_objectid = root->root_key.objectid;
838 show_root_type(__entry->root_objectid), __entry->bg_objectid,
/linux-4.4.14/fs/btrfs/tests/
H A Dqgroup-tests.c35 u64 num_bytes, u64 parent, u64 root_objectid) insert_normal_tree_ref()
81 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); insert_normal_tree_ref()
88 u64 parent, u64 root_objectid) add_tree_ref()
129 key.offset = root_objectid; add_tree_ref()
172 u64 num_bytes, u64 parent, u64 root_objectid) remove_extent_ref()
213 key.offset = root_objectid; remove_extent_ref()
34 insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid) insert_normal_tree_ref() argument
87 add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid) add_tree_ref() argument
171 remove_extent_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid) remove_extent_ref() argument

Completed in 1987 milliseconds