• Home
  • Raw
  • Download

Lines Matching refs:objectid

149 		if (block_group->key.objectid < cache->key.objectid) {  in btrfs_add_block_group_cache()
151 } else if (block_group->key.objectid > cache->key.objectid) { in btrfs_add_block_group_cache()
185 end = cache->key.objectid + cache->key.offset - 1; in block_group_cache_tree_search()
186 start = cache->key.objectid; in block_group_cache_tree_search()
189 if (!contains && (!ret || start < ret->key.objectid)) in block_group_cache_tree_search()
226 start = cache->key.objectid; in free_excluded_extents()
243 if (cache->key.objectid < BTRFS_SUPER_INFO_OFFSET) { in exclude_super_stripes()
244 stripe_len = BTRFS_SUPER_INFO_OFFSET - cache->key.objectid; in exclude_super_stripes()
246 ret = add_excluded_extent(root, cache->key.objectid, in exclude_super_stripes()
254 cache->key.objectid, bytenr, in exclude_super_stripes()
364 last = max_t(u64, block_group->key.objectid, BTRFS_SUPER_INFO_OFFSET); in caching_thread()
376 key.objectid = last; in caching_thread()
418 if (key.objectid < block_group->key.objectid) { in caching_thread()
423 if (key.objectid >= block_group->key.objectid + in caching_thread()
430 key.objectid); in caching_thread()
431 last = key.objectid + key.offset; in caching_thread()
443 block_group->key.objectid + in caching_thread()
484 caching_ctl->progress = cache->key.objectid; in cache_block_group()
684 last = cache->key.objectid + cache->key.offset; in btrfs_find_block_group()
691 group_start = cache->key.objectid; in btrfs_find_block_group()
727 key.objectid = start; in btrfs_lookup_extent()
764 key.objectid = bytenr; in btrfs_lookup_extent_info()
989 BUG_ON(key.objectid != found_key.objectid); in convert_extent_item_v0()
1085 key.objectid = bytenr; in lookup_extent_data_ref()
1135 if (key.objectid != bytenr || in lookup_extent_data_ref()
1170 key.objectid = bytenr; in insert_extent_data_ref()
1344 key.objectid = bytenr; in lookup_tree_block_ref()
1377 key.objectid = bytenr; in insert_tree_block_ref()
1465 key.objectid = bytenr; in lookup_inline_extent_backref()
1579 key.objectid == bytenr && in lookup_inline_extent_backref()
1968 ins.objectid = node->bytenr; in run_delayed_data_ref()
1985 ref->objectid, ref->offset, in run_delayed_data_ref()
1990 ref_root, ref->objectid, in run_delayed_data_ref()
1996 ref_root, ref->objectid, in run_delayed_data_ref()
2043 key.objectid = node->bytenr; in run_delayed_extent_op()
2096 ins.objectid = node->bytenr; in run_delayed_tree_ref()
2534 u64 objectid, u64 offset, u64 bytenr) in check_delayed_ref() argument
2588 if (data_ref->root != root->root_key.objectid || in check_delayed_ref()
2589 data_ref->objectid != objectid || data_ref->offset != offset) in check_delayed_ref()
2603 u64 objectid, u64 offset, u64 bytenr) in check_committed_ref() argument
2614 key.objectid = bytenr; in check_committed_ref()
2631 if (key.objectid != bytenr || key.type != BTRFS_EXTENT_ITEM_KEY) in check_committed_ref()
2661 root->root_key.objectid || in check_committed_ref()
2662 btrfs_extent_data_ref_objectid(leaf, ref) != objectid || in check_committed_ref()
2673 u64 objectid, u64 offset, u64 bytenr) in btrfs_cross_ref_exist() argument
2684 ret = check_committed_ref(trans, root, path, objectid, in btrfs_cross_ref_exist()
2689 ret2 = check_delayed_ref(trans, root, path, objectid, in btrfs_cross_ref_exist()
2702 if (root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID) in btrfs_cross_ref_exist()
2759 parent, ref_root, key.objectid, in __btrfs_mod_ref()
2979 last = cache->key.objectid + cache->key.offset; in btrfs_write_dirty_block_groups()
3012 last = cache->key.objectid + cache->key.offset; in btrfs_write_dirty_block_groups()
3064 last = cache->key.objectid + cache->key.offset; in btrfs_write_dirty_block_groups()
3286 BTRFS_I(inode)->location.objectid == BTRFS_FREE_INO_OBJECTID) { in btrfs_check_data_free_space()
4685 byte_in_group = bytenr - cache->key.objectid; in update_block_group()
4737 bytenr = cache->key.objectid; in first_logical_byte()
4903 start >= cache->key.objectid + cache->key.offset) { in unpin_extent_range()
4910 len = cache->key.objectid + cache->key.offset - start; in unpin_extent_range()
5011 if (key.objectid != bytenr) in __btrfs_free_extent()
5037 key.objectid = bytenr; in __btrfs_free_extent()
5082 key.objectid = bytenr; in __btrfs_free_extent()
5260 if (root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block()
5263 parent, root->root_key.objectid, in btrfs_free_tree_block()
5275 if (root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block()
5450 ins->objectid = 0; in find_free_extent()
5537 search_start = block_group->key.objectid; in find_free_extent()
5594 last_ptr, num_bytes, used_block_group->key.objectid); in find_free_extent()
5721 used_block_group->key.objectid + used_block_group->key.offset) { in find_free_extent()
5739 ins->objectid = search_start; in find_free_extent()
5762 if (!ins->objectid && loop >= LOOP_CACHING_WAIT && have_caching_bg) in find_free_extent()
5765 if (!ins->objectid && ++index < BTRFS_NR_RAID_TYPES) in find_free_extent()
5776 if (!ins->objectid && loop < LOOP_NO_EMPTY_SIZE) { in find_free_extent()
5812 } else if (!ins->objectid) { in find_free_extent()
5814 } else if (ins->objectid) { in find_free_extent()
5854 (unsigned long long)cache->key.objectid, in dump_space_info()
5922 trace_btrfs_reserved_extent_alloc(root, ins->objectid, ins->offset); in btrfs_reserve_extent()
6029 ret = update_block_group(trans, root, ins->objectid, ins->offset, 1); in alloc_reserved_file_extent()
6032 "%llu\n", (unsigned long long)ins->objectid, in alloc_reserved_file_extent()
6093 ret = update_block_group(trans, root, ins->objectid, ins->offset, 1); in alloc_reserved_tree_block()
6096 "%llu\n", (unsigned long long)ins->objectid, in alloc_reserved_tree_block()
6112 ret = btrfs_add_delayed_data_ref(root->fs_info, trans, ins->objectid, in btrfs_alloc_reserved_file_extent()
6132 u64 start = ins->objectid; in btrfs_alloc_logged_file_extent()
6135 block_group = btrfs_lookup_block_group(root->fs_info, ins->objectid); in btrfs_alloc_logged_file_extent()
6160 num_bytes = ins->objectid + ins->offset - in btrfs_alloc_logged_file_extent()
6190 btrfs_set_buffer_lockdep_class(root->root_key.objectid, buf, level); in btrfs_init_new_buffer()
6198 if (root->root_key.objectid == BTRFS_TREE_LOG_OBJECTID) { in btrfs_init_new_buffer()
6307 buf = btrfs_init_new_buffer(trans, root, ins.objectid, in btrfs_alloc_free_block()
6313 parent = ins.objectid; in btrfs_alloc_free_block()
6332 ins.objectid, in btrfs_alloc_free_block()
6460 btrfs_header_owner(eb) != root->root_key.objectid) in walk_down_proc()
6639 BUG_ON(root->root_key.objectid != in do_walk_down()
6645 root->root_key.objectid, level - 1, 0, 0); in do_walk_down()
6743 BUG_ON(root->root_key.objectid != in walk_up_proc()
6749 BUG_ON(root->root_key.objectid != in walk_up_proc()
6995 if (root->root_key.objectid != BTRFS_TREE_RELOC_OBJECTID) { in btrfs_drop_snapshot()
6996 ret = btrfs_find_last_root(tree_root, root->root_key.objectid, in btrfs_drop_snapshot()
7009 root->root_key.objectid); in btrfs_drop_snapshot()
7059 BUG_ON(root->root_key.objectid != BTRFS_TREE_RELOC_OBJECTID); in btrfs_drop_subtree()
7477 if (found_key.objectid >= key->objectid && in find_first_block_group()
7517 last = block_group->key.objectid + block_group->key.offset; in btrfs_put_block_group_cache()
7617 key.objectid = 0; in btrfs_read_block_groups()
7667 key.objectid = found_key.objectid + found_key.offset; in btrfs_read_block_groups()
7696 found_key.objectid, in btrfs_read_block_groups()
7697 found_key.objectid + in btrfs_read_block_groups()
7717 if (btrfs_chunk_readonly(root, cache->key.objectid)) in btrfs_read_block_groups()
7767 cache->key.objectid = chunk_offset; in btrfs_make_block_group()
7910 key.objectid = BTRFS_FREE_SPACE_OBJECTID; in btrfs_remove_block_group()
7911 key.offset = block_group->key.objectid; in btrfs_remove_block_group()
8040 if (cache->key.objectid >= (range->start + range->len)) { in btrfs_trim_fs()
8045 start = max(range->start, cache->key.objectid); in btrfs_trim_fs()
8047 cache->key.objectid + cache->key.offset); in btrfs_trim_fs()