Lines Matching defs:extref
1063 struct btrfs_inode_extref *extref;
1124 extref = btrfs_lookup_inode_extref(NULL, root, path, name,
1127 if (IS_ERR(extref)) {
1128 return PTR_ERR(extref);
1129 } else if (extref) {
1143 extref = (struct btrfs_inode_extref *)(base + cur_offset);
1145 if (btrfs_inode_extref_parent(leaf, extref) != parent_objectid)
1148 ret = read_alloc_one_name(leaf, &extref->name,
1149 btrfs_inode_extref_name_len(leaf, extref),
1184 cur_offset += victim_name.len + sizeof(*extref);
1219 struct btrfs_inode_extref *extref;
1222 extref = (struct btrfs_inode_extref *)ref_ptr;
1224 ret = read_alloc_one_name(eb, &extref->name,
1225 btrfs_inode_extref_name_len(eb, extref), name);
1230 *index = btrfs_inode_extref_index(eb, extref);
1232 *parent_objectid = btrfs_inode_extref_parent(eb, extref);
1497 struct btrfs_inode_extref *extref;
1502 &extref, &offset);
1512 extref = (struct btrfs_inode_extref *) (ptr + cur_offset);
1513 name_len = btrfs_inode_extref_name_len(leaf, extref);
1517 cur_offset += name_len + sizeof(*extref);
5234 struct btrfs_inode_extref *extref;
5236 extref = (struct btrfs_inode_extref *)(ptr +
5238 parent = btrfs_inode_extref_parent(eb, extref);
5239 this_name_len = btrfs_inode_extref_name_len(eb, extref);
5240 name_ptr = (unsigned long)&extref->name;
5241 this_len = sizeof(*extref) + this_name_len;
6717 struct btrfs_inode_extref *extref;
6719 extref = (struct btrfs_inode_extref *)
6722 leaf, extref);
6723 cur_offset += sizeof(*extref);
6725 extref);