Lines Matching refs:extref
1061 struct btrfs_inode_extref *extref;
1122 extref = btrfs_lookup_inode_extref(NULL, root, path, name,
1125 if (IS_ERR(extref)) {
1126 return PTR_ERR(extref);
1127 } else if (extref) {
1141 extref = (struct btrfs_inode_extref *)(base + cur_offset);
1143 if (btrfs_inode_extref_parent(leaf, extref) != parent_objectid)
1146 ret = read_alloc_one_name(leaf, &extref->name,
1147 btrfs_inode_extref_name_len(leaf, extref),
1182 cur_offset += victim_name.len + sizeof(*extref);
1217 struct btrfs_inode_extref *extref;
1220 extref = (struct btrfs_inode_extref *)ref_ptr;
1222 ret = read_alloc_one_name(eb, &extref->name,
1223 btrfs_inode_extref_name_len(eb, extref), name);
1228 *index = btrfs_inode_extref_index(eb, extref);
1230 *parent_objectid = btrfs_inode_extref_parent(eb, extref);
1494 struct btrfs_inode_extref *extref;
1499 path, &extref, &offset);
1509 extref = (struct btrfs_inode_extref *) (ptr + cur_offset);
1510 name_len = btrfs_inode_extref_name_len(leaf, extref);
1514 cur_offset += name_len + sizeof(*extref);
5291 struct btrfs_inode_extref *extref;
5293 extref = (struct btrfs_inode_extref *)(ptr +
5295 parent = btrfs_inode_extref_parent(eb, extref);
5296 this_name_len = btrfs_inode_extref_name_len(eb, extref);
5297 name_ptr = (unsigned long)&extref->name;
5298 this_len = sizeof(*extref) + this_name_len;
6774 struct btrfs_inode_extref *extref;
6776 extref = (struct btrfs_inode_extref *)
6779 leaf, extref);
6780 cur_offset += sizeof(*extref);
6782 extref);