Lines Matching refs:extref
888 struct btrfs_inode_extref *extref; in iterate_inode_ref() local
924 elem_size = sizeof(*extref); in iterate_inode_ref()
937 extref = (struct btrfs_inode_extref *)(ptr + cur); in iterate_inode_ref()
938 name_len = btrfs_inode_extref_name_len(eb, extref); in iterate_inode_ref()
939 name_off = (unsigned long)&extref->name; in iterate_inode_ref()
940 index = btrfs_inode_extref_index(eb, extref); in iterate_inode_ref()
941 dir = btrfs_inode_extref_parent(eb, extref); in iterate_inode_ref()
1755 struct btrfs_inode_extref *extref; in get_first_ref() local
1756 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1758 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref()
1760 (unsigned long)&extref->name, len); in get_first_ref()
1761 parent_dir = btrfs_inode_extref_parent(path->nodes[0], extref); in get_first_ref()
3615 struct btrfs_inode_extref *extref; in is_ancestor() local
3618 extref = (struct btrfs_inode_extref *) in is_ancestor()
3621 extref); in is_ancestor()
3622 cur_offset += sizeof(*extref); in is_ancestor()
3624 extref); in is_ancestor()
6386 struct btrfs_inode_extref *extref; in compare_refs() local
6407 extref = (struct btrfs_inode_extref *)(ptr + in compare_refs()
6409 dirid = btrfs_inode_extref_parent(leaf, extref); in compare_refs()
6410 ref_name_len = btrfs_inode_extref_name_len(leaf, extref); in compare_refs()
6411 cur_offset += ref_name_len + sizeof(*extref); in compare_refs()