Lines Matching refs:extref
873 struct btrfs_inode_extref *extref; in iterate_inode_ref() local
909 elem_size = sizeof(*extref); in iterate_inode_ref()
922 extref = (struct btrfs_inode_extref *)(ptr + cur); in iterate_inode_ref()
923 name_len = btrfs_inode_extref_name_len(eb, extref); in iterate_inode_ref()
924 name_off = (unsigned long)&extref->name; in iterate_inode_ref()
925 index = btrfs_inode_extref_index(eb, extref); in iterate_inode_ref()
926 dir = btrfs_inode_extref_parent(eb, extref); in iterate_inode_ref()
1762 struct btrfs_inode_extref *extref; in get_first_ref() local
1763 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref()
1765 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref()
1767 (unsigned long)&extref->name, len); in get_first_ref()
1768 parent_dir = btrfs_inode_extref_parent(path->nodes[0], extref); in get_first_ref()
3617 struct btrfs_inode_extref *extref; in is_ancestor() local
3620 extref = (struct btrfs_inode_extref *) in is_ancestor()
3623 extref); in is_ancestor()
3624 cur_offset += sizeof(*extref); in is_ancestor()
3626 extref); in is_ancestor()
6357 struct btrfs_inode_extref *extref; in compare_refs() local
6378 extref = (struct btrfs_inode_extref *)(ptr + in compare_refs()
6380 dirid = btrfs_inode_extref_parent(leaf, extref); in compare_refs()
6381 ref_name_len = btrfs_inode_extref_name_len(leaf, extref); in compare_refs()
6382 cur_offset += ref_name_len + sizeof(*extref); in compare_refs()