Lines Matching refs:extref
890 struct btrfs_inode_extref *extref; in iterate_inode_ref() local
926 elem_size = sizeof(*extref); in iterate_inode_ref()
939 extref = (struct btrfs_inode_extref *)(ptr + cur); in iterate_inode_ref()
940 name_len = btrfs_inode_extref_name_len(eb, extref); in iterate_inode_ref()
941 name_off = (unsigned long)&extref->name; in iterate_inode_ref()
942 index = btrfs_inode_extref_index(eb, extref); in iterate_inode_ref()
943 dir = btrfs_inode_extref_parent(eb, extref); in iterate_inode_ref()
1781 struct btrfs_inode_extref *extref; in get_first_ref() local
1782 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1784 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref()
1786 (unsigned long)&extref->name, len); in get_first_ref()
1787 parent_dir = btrfs_inode_extref_parent(path->nodes[0], extref); in get_first_ref()
3641 struct btrfs_inode_extref *extref; in is_ancestor() local
3644 extref = (struct btrfs_inode_extref *) in is_ancestor()
3647 extref); in is_ancestor()
3648 cur_offset += sizeof(*extref); in is_ancestor()
3650 extref); in is_ancestor()
6537 struct btrfs_inode_extref *extref; in compare_refs() local
6558 extref = (struct btrfs_inode_extref *)(ptr + in compare_refs()
6560 dirid = btrfs_inode_extref_parent(leaf, extref); in compare_refs()
6561 ref_name_len = btrfs_inode_extref_name_len(leaf, extref); in compare_refs()
6562 cur_offset += ref_name_len + sizeof(*extref); in compare_refs()