Searched refs:extref (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | print-tree.c | 310 struct btrfs_inode_extref *extref; in print_inode_extref_item() local 313 extref = btrfs_item_ptr(eb, i, struct btrfs_inode_extref); in print_inode_extref_item() 315 const u64 index = btrfs_inode_extref_index(eb, extref); in print_inode_extref_item() 316 const u32 name_len = btrfs_inode_extref_name_len(eb, extref); in print_inode_extref_item() 317 const u64 parent = btrfs_inode_extref_parent(eb, extref); in print_inode_extref_item() 318 const u32 len = sizeof(*extref) + name_len; in print_inode_extref_item() 322 extref = (struct btrfs_inode_extref *)((char *)extref + len); in print_inode_extref_item()
|
| H A D | tree-log.c | 1255 struct btrfs_inode_extref *extref; in unlink_extrefs_not_in_log() local 1259 extref = (struct btrfs_inode_extref *)(base + cur_offset); in unlink_extrefs_not_in_log() 1260 victim_name.len = btrfs_inode_extref_name_len(leaf, extref); in unlink_extrefs_not_in_log() 1262 if (btrfs_inode_extref_parent(leaf, extref) != btrfs_ino(dir)) in unlink_extrefs_not_in_log() 1265 ret = read_alloc_one_name(leaf, &extref->name, victim_name.len, in unlink_extrefs_not_in_log() 1293 cur_offset += victim_name.len + sizeof(*extref); in unlink_extrefs_not_in_log() 1320 struct btrfs_inode_extref *extref; in __add_inode_ref() local 1351 extref = btrfs_lookup_inode_extref(root, wc->subvol_path, name, in __add_inode_ref() 1353 if (IS_ERR(extref)) { in __add_inode_ref() 1354 return PTR_ERR(extref); in __add_inode_ref() 1404 struct btrfs_inode_extref *extref; extref_get_fields() local 1752 struct btrfs_inode_extref *extref; count_inode_extrefs() local 5758 struct btrfs_inode_extref *extref; btrfs_check_ref_name_override() local 7336 struct btrfs_inode_extref *extref; btrfs_log_all_parents() local [all...] |
| H A D | backref.c | 2047 struct btrfs_inode_extref *extref; in btrfs_find_one_extref() local 2097 extref = (struct btrfs_inode_extref *)ptr; in btrfs_find_one_extref() 2098 *ret_extref = extref; in btrfs_find_one_extref() 2108 * this iterates to turn a name (from iref/extref) into a full filesystem path. 2655 struct btrfs_inode_extref *extref; in iterate_inode_extrefs() local 2661 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref, in iterate_inode_extrefs() 2686 extref = (struct btrfs_inode_extref *)(ptr + cur_offset); in iterate_inode_extrefs() 2687 parent = btrfs_inode_extref_parent(eb, extref); in iterate_inode_extrefs() 2688 name_len = btrfs_inode_extref_name_len(eb, extref); in iterate_inode_extrefs() 2690 (unsigned long)&extref in iterate_inode_extrefs() [all...] |
| H A D | send.c | 984 struct btrfs_inode_extref *extref; in iterate_inode_ref() local 1014 elem_size = sizeof(*extref); in iterate_inode_ref() 1026 extref = (struct btrfs_inode_extref *)(ptr + cur); in iterate_inode_ref() 1027 name_len = btrfs_inode_extref_name_len(eb, extref); in iterate_inode_ref() 1028 name_off = (unsigned long)&extref->name; in iterate_inode_ref() 1029 dir = btrfs_inode_extref_parent(eb, extref); in iterate_inode_ref() 1997 struct btrfs_inode_extref *extref; in get_first_ref() local 1998 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 2000 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref() 2002 (unsigned long)&extref in get_first_ref() 3840 struct btrfs_inode_extref *extref; is_ancestor() local 7070 struct btrfs_inode_extref *extref; compare_refs() local [all...] |
| H A D | tree-checker.c | 2018 struct btrfs_inode_extref *extref = (struct btrfs_inode_extref *)ptr; in check_raid_stripe_extent() 2022 if (unlikely(ptr + sizeof(*extref) > end)) { in check_raid_stripe_extent() 2024 "inode extref overflow, ptr %lu end %lu inode_extref size %zu", in check_raid_stripe_extent() 2025 ptr, end, sizeof(*extref)); in check_raid_stripe_extent() 2029 parent = btrfs_inode_extref_parent(leaf, extref); 2033 "invalid parent for extref key, have %llu expect [%llu, %lld]", in check_remap_key() 2039 namelen = btrfs_inode_extref_name_len(leaf, extref); in check_remap_key() 2042 "invalid inode extref name length, has %u expect [1, %u]", in check_remap_key() 2047 if (unlikely(ptr + sizeof(*extref) + namelen > end)) { in check_remap_key() 2049 "inode extref overflo in check_remap_key() 1971 struct btrfs_inode_extref *extref = (struct btrfs_inode_extref *)ptr; check_inode_extref() local [all...] |
| H A D | inode.c | 4128 struct btrfs_inode_extref *extref; in btrfs_read_locked_inode() 4130 extref = (struct btrfs_inode_extref *)ptr; in btrfs_read_locked_inode() 4131 inode->dir_index = btrfs_inode_extref_index(leaf, extref); in btrfs_read_locked_inode() 4216 struct btrfs_inode_extref *extref; btrfs_read_locked_inode() local
|