Home
last modified time | relevance | path

Searched refs:dref (Results 1 – 5 of 5) sorted by relevance

/fs/btrfs/
Dprint-tree.c84 struct btrfs_extent_data_ref *dref; in print_extent_item() local
143 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in print_extent_item()
144 print_extent_data_ref(eb, dref); in print_extent_item()
209 struct btrfs_extent_data_ref *dref; in btrfs_print_leaf() local
264 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf()
266 print_extent_data_ref(l, dref); in btrfs_print_leaf()
Dref-verify.c385 struct btrfs_extent_data_ref *dref, in add_extent_data_ref() argument
391 u64 ref_root = btrfs_extent_data_ref_root(leaf, dref); in add_extent_data_ref()
392 u64 owner = btrfs_extent_data_ref_objectid(leaf, dref); in add_extent_data_ref()
393 u64 offset = btrfs_extent_data_ref_offset(leaf, dref); in add_extent_data_ref()
394 u32 num_refs = btrfs_extent_data_ref_count(leaf, dref); in add_extent_data_ref()
435 struct btrfs_extent_data_ref *dref; in process_extent_item() local
475 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in process_extent_item()
476 ret = add_extent_data_ref(fs_info, leaf, dref, in process_extent_item()
503 struct btrfs_extent_data_ref *dref; in process_leaf() local
530 dref = btrfs_item_ptr(leaf, i, in process_leaf()
[all …]
Dtree-checker.c1384 struct btrfs_extent_data_ref *dref; in check_extent_item() local
1427 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in check_extent_item()
1428 dref_offset = btrfs_extent_data_ref_offset(leaf, dref); in check_extent_item()
1436 inline_refs += btrfs_extent_data_ref_count(leaf, dref); in check_extent_item()
1528 struct btrfs_extent_data_ref *dref; in check_extent_data_ref() local
1532 if (unlikely(btrfs_item_size(leaf, slot) % sizeof(*dref) != 0)) { in check_extent_data_ref()
1536 sizeof(*dref), key->type); in check_extent_data_ref()
1545 for (; ptr < end; ptr += sizeof(*dref)) { in check_extent_data_ref()
1552 dref = (struct btrfs_extent_data_ref *)ptr; in check_extent_data_ref()
1553 offset = btrfs_extent_data_ref_offset(leaf, dref); in check_extent_data_ref()
Dbackref.c1048 struct btrfs_extent_data_ref *dref; in add_inline_refs() local
1052 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in add_inline_refs()
1053 count = btrfs_extent_data_ref_count(leaf, dref); in add_inline_refs()
1055 dref); in add_inline_refs()
1057 key.offset = btrfs_extent_data_ref_offset(leaf, dref); in add_inline_refs()
1065 root = btrfs_extent_data_ref_root(leaf, dref); in add_inline_refs()
1148 struct btrfs_extent_data_ref *dref; in add_keyed_refs() local
1152 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs()
1154 count = btrfs_extent_data_ref_count(leaf, dref); in add_keyed_refs()
1156 dref); in add_keyed_refs()
[all …]
Dextent-tree.c927 struct btrfs_extent_data_ref *dref; in lookup_inline_extent_backref() local
928 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in lookup_inline_extent_backref()
929 if (match_extent_data_ref(leaf, dref, root_objectid, in lookup_inline_extent_backref()
934 if (hash_extent_data_ref_item(leaf, dref) < in lookup_inline_extent_backref()
1032 struct btrfs_extent_data_ref *dref; in setup_inline_extent_backref() local
1033 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in setup_inline_extent_backref()
1034 btrfs_set_extent_data_ref_root(leaf, dref, root_objectid); in setup_inline_extent_backref()
1035 btrfs_set_extent_data_ref_objectid(leaf, dref, owner); in setup_inline_extent_backref()
1036 btrfs_set_extent_data_ref_offset(leaf, dref, offset); in setup_inline_extent_backref()
1037 btrfs_set_extent_data_ref_count(leaf, dref, refs_to_add); in setup_inline_extent_backref()
[all …]