Lines Matching refs:root_objectid
56 u64 root_objectid, u64 owner_objectid,
63 u64 parent, u64 root_objectid,
742 bool metadata, u64 root_objectid) in add_pinned_bytes() argument
748 if (root_objectid == BTRFS_CHUNK_TREE_OBJECTID) in add_pinned_bytes()
1096 static u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument
1102 lenum = cpu_to_le64(root_objectid); in hash_extent_data_ref()
1122 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument
1124 if (btrfs_extent_data_ref_root(leaf, ref) != root_objectid || in match_extent_data_ref()
1134 u64 root_objectid, in lookup_extent_data_ref() argument
1152 key.offset = hash_extent_data_ref(root_objectid, in lookup_extent_data_ref()
1192 if (match_extent_data_ref(leaf, ref, root_objectid, in lookup_extent_data_ref()
1210 u64 root_objectid, u64 owner, in insert_extent_data_ref() argument
1227 key.offset = hash_extent_data_ref(root_objectid, in insert_extent_data_ref()
1253 if (match_extent_data_ref(leaf, ref, root_objectid, in insert_extent_data_ref()
1269 root_objectid); in insert_extent_data_ref()
1377 u64 root_objectid) in lookup_tree_block_ref() argument
1389 key.offset = root_objectid; in lookup_tree_block_ref()
1401 u64 root_objectid) in insert_tree_block_ref() argument
1412 key.offset = root_objectid; in insert_tree_block_ref()
1477 u64 parent, u64 root_objectid, in lookup_inline_extent_backref() argument
1605 if (match_extent_data_ref(leaf, dref, root_objectid, in lookup_inline_extent_backref()
1611 hash_extent_data_ref(root_objectid, owner, offset)) in lookup_inline_extent_backref()
1624 if (root_objectid == ref_offset) { in lookup_inline_extent_backref()
1628 if (ref_offset < root_objectid) in lookup_inline_extent_backref()
1669 u64 parent, u64 root_objectid, in setup_inline_extent_backref() argument
1709 btrfs_set_extent_data_ref_root(leaf, dref, root_objectid); in setup_inline_extent_backref()
1721 btrfs_set_extent_inline_ref_offset(leaf, iref, root_objectid); in setup_inline_extent_backref()
1730 u64 root_objectid, u64 owner, u64 offset) in lookup_extent_backref() argument
1735 num_bytes, parent, root_objectid, in lookup_extent_backref()
1745 root_objectid); in lookup_extent_backref()
1748 root_objectid, owner, offset); in lookup_extent_backref()
1828 u64 root_objectid, u64 owner, in insert_inline_extent_backref() argument
1836 num_bytes, parent, root_objectid, in insert_inline_extent_backref()
1844 root_objectid, owner, offset, in insert_inline_extent_backref()
1853 u64 bytenr, u64 parent, u64 root_objectid, in insert_extent_backref() argument
1860 root_objectid); in insert_extent_backref()
1863 root_objectid, owner, offset, in insert_extent_backref()
2030 u64 root_objectid, u64 owner, u64 offset) in btrfs_inc_extent_ref() argument
2037 root_objectid == BTRFS_TREE_LOG_OBJECTID); in btrfs_inc_extent_ref()
2039 btrfs_ref_tree_mod(root, bytenr, num_bytes, parent, root_objectid, in btrfs_inc_extent_ref()
2045 root_objectid, (int)owner, in btrfs_inc_extent_ref()
2051 root_objectid, owner, offset, in btrfs_inc_extent_ref()
2059 add_pinned_bytes(fs_info, -num_bytes, metadata, root_objectid); in btrfs_inc_extent_ref()
2101 u64 parent, u64 root_objectid, in __btrfs_inc_extent_ref() argument
2122 parent, root_objectid, owner, in __btrfs_inc_extent_ref()
2146 ret = insert_extent_backref(trans, path, bytenr, parent, root_objectid, in __btrfs_inc_extent_ref()
6674 u64 root_objectid, u64 owner_objectid, in __btrfs_free_extent() argument
6711 parent, root_objectid, owner_objectid, in __btrfs_free_extent()
6799 bytenr, parent, root_objectid, owner_objectid, in __btrfs_free_extent()
7048 u64 bytenr, u64 num_bytes, u64 parent, u64 root_objectid, in btrfs_free_extent() argument
7058 if (root_objectid != BTRFS_TREE_LOG_OBJECTID) in btrfs_free_extent()
7060 root_objectid, owner, offset, in btrfs_free_extent()
7067 if (root_objectid == BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_extent()
7076 root_objectid, (int)owner, in btrfs_free_extent()
7082 root_objectid, owner, offset, in btrfs_free_extent()
7090 add_pinned_bytes(fs_info, num_bytes, metadata, root_objectid); in btrfs_free_extent()
7874 u64 parent, u64 root_objectid, in alloc_reserved_file_extent() argument
7924 btrfs_set_extent_data_ref_root(leaf, ref, root_objectid); in alloc_reserved_file_extent()
8074 u64 root_objectid, u64 owner, u64 offset, in btrfs_alloc_logged_file_extent() argument
8105 ret = alloc_reserved_file_extent(trans, 0, root_objectid, 0, owner, in btrfs_alloc_logged_file_extent()
8228 u64 parent, u64 root_objectid, in btrfs_alloc_tree_block() argument
8246 level, root_objectid); in btrfs_alloc_tree_block()
8263 root_objectid); in btrfs_alloc_tree_block()
8269 if (root_objectid == BTRFS_TREE_RELOC_OBJECTID) { in btrfs_alloc_tree_block()
8276 if (root_objectid != BTRFS_TREE_LOG_OBJECTID) { in btrfs_alloc_tree_block()
8293 root_objectid, level, 0, in btrfs_alloc_tree_block()
8297 root_objectid, level, in btrfs_alloc_tree_block()