Lines Matching refs:extref
891 struct btrfs_inode_extref *extref; in iterate_inode_ref() local
927 elem_size = sizeof(*extref); in iterate_inode_ref()
940 extref = (struct btrfs_inode_extref *)(ptr + cur); in iterate_inode_ref()
941 name_len = btrfs_inode_extref_name_len(eb, extref); in iterate_inode_ref()
942 name_off = (unsigned long)&extref->name; in iterate_inode_ref()
943 index = btrfs_inode_extref_index(eb, extref); in iterate_inode_ref()
944 dir = btrfs_inode_extref_parent(eb, extref); in iterate_inode_ref()
1782 struct btrfs_inode_extref *extref; in get_first_ref() local
1783 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1785 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref()
1787 (unsigned long)&extref->name, len); in get_first_ref()
1788 parent_dir = btrfs_inode_extref_parent(path->nodes[0], extref); in get_first_ref()
3654 struct btrfs_inode_extref *extref; in is_ancestor() local
3657 extref = (struct btrfs_inode_extref *) in is_ancestor()
3660 extref); in is_ancestor()
3661 cur_offset += sizeof(*extref); in is_ancestor()
3663 extref); in is_ancestor()
6602 struct btrfs_inode_extref *extref; in compare_refs() local
6623 extref = (struct btrfs_inode_extref *)(ptr + in compare_refs()
6625 dirid = btrfs_inode_extref_parent(leaf, extref); in compare_refs()
6626 ref_name_len = btrfs_inode_extref_name_len(leaf, extref); in compare_refs()
6627 cur_offset += ref_name_len + sizeof(*extref); in compare_refs()