Searched refs:dref (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/btrfs/ |
D | print-tree.c | 83 struct btrfs_extent_data_ref *dref; in print_extent_item() local 142 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in print_extent_item() 143 print_extent_data_ref(eb, dref); in print_extent_item() 217 struct btrfs_extent_data_ref *dref; in btrfs_print_leaf() local 273 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf() 275 print_extent_data_ref(l, dref); in btrfs_print_leaf()
|
D | ref-verify.c | 385 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() 502 struct btrfs_extent_data_ref *dref; in process_leaf() local 529 dref = btrfs_item_ptr(leaf, i, in process_leaf() [all …]
|
D | tree-checker.c | 1319 struct btrfs_extent_data_ref *dref; in check_extent_item() local 1361 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in check_extent_item() 1362 dref_offset = btrfs_extent_data_ref_offset(leaf, dref); in check_extent_item() 1369 inline_refs += btrfs_extent_data_ref_count(leaf, dref); in check_extent_item() 1440 struct btrfs_extent_data_ref *dref; in check_extent_data_ref() local 1444 if (btrfs_item_size_nr(leaf, slot) % sizeof(*dref) != 0) { in check_extent_data_ref() 1448 sizeof(*dref), key->type); in check_extent_data_ref() 1457 for (; ptr < end; ptr += sizeof(*dref)) { in check_extent_data_ref() 1464 dref = (struct btrfs_extent_data_ref *)ptr; in check_extent_data_ref() 1465 offset = btrfs_extent_data_ref_offset(leaf, dref); in check_extent_data_ref()
|
D | backref.c | 1045 struct btrfs_extent_data_ref *dref; in add_inline_refs() local 1049 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in add_inline_refs() 1050 count = btrfs_extent_data_ref_count(leaf, dref); in add_inline_refs() 1052 dref); in add_inline_refs() 1054 key.offset = btrfs_extent_data_ref_offset(leaf, dref); in add_inline_refs() 1062 root = btrfs_extent_data_ref_root(leaf, dref); in add_inline_refs() 1145 struct btrfs_extent_data_ref *dref; in add_keyed_refs() local 1149 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs() 1151 count = btrfs_extent_data_ref_count(leaf, dref); in add_keyed_refs() 1153 dref); in add_keyed_refs() [all …]
|
D | extent-tree.c | 910 struct btrfs_extent_data_ref *dref; in lookup_inline_extent_backref() local 911 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in lookup_inline_extent_backref() 912 if (match_extent_data_ref(leaf, dref, root_objectid, in lookup_inline_extent_backref() 917 if (hash_extent_data_ref_item(leaf, dref) < in lookup_inline_extent_backref() 1014 struct btrfs_extent_data_ref *dref; in setup_inline_extent_backref() local 1015 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in setup_inline_extent_backref() 1016 btrfs_set_extent_data_ref_root(leaf, dref, root_objectid); in setup_inline_extent_backref() 1017 btrfs_set_extent_data_ref_objectid(leaf, dref, owner); in setup_inline_extent_backref() 1018 btrfs_set_extent_data_ref_offset(leaf, dref, offset); in setup_inline_extent_backref() 1019 btrfs_set_extent_data_ref_count(leaf, dref, refs_to_add); in setup_inline_extent_backref() [all …]
|