Lines Matching refs:extref
981 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()
2032 struct btrfs_inode_extref *extref; in get_first_ref() local
2033 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
2035 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref()
2037 (unsigned long)&extref->name, len); in get_first_ref()
2038 parent_dir = btrfs_inode_extref_parent(path->nodes[0], extref); in get_first_ref()
3919 struct btrfs_inode_extref *extref; in is_ancestor() local
3922 extref = (struct btrfs_inode_extref *) in is_ancestor()
3925 extref); in is_ancestor()
3926 cur_offset += sizeof(*extref); in is_ancestor()
3928 extref); in is_ancestor()
7147 struct btrfs_inode_extref *extref; in compare_refs() local
7168 extref = (struct btrfs_inode_extref *)(ptr + in compare_refs()
7170 dirid = btrfs_inode_extref_parent(leaf, extref); in compare_refs()
7171 ref_name_len = btrfs_inode_extref_name_len(leaf, extref); in compare_refs()
7172 cur_offset += ref_name_len + sizeof(*extref); in compare_refs()