Searched defs:extref (Results 1 - 5 of 5) sorted by relevance

/fs/btrfs/
H A Dinode-item.c59 struct btrfs_inode_extref *extref; local
77 extref = (struct btrfs_inode_extref *) (ptr + cur_offset);
78 name_ptr = (unsigned long)(&extref->name);
79 ref_name_len = btrfs_inode_extref_name_len(leaf, extref);
82 btrfs_inode_extref_parent(leaf, extref) == ref_objectid &&
85 *extref_ret = extref;
89 cur_offset += ref_name_len + sizeof(*extref);
94 /* Returns NULL if no extref found */
105 struct btrfs_inode_extref *extref; local
116 if (!btrfs_find_name_in_ext_backref(path, ref_objectid, name, name_len, &extref))
129 struct btrfs_inode_extref *extref; local
275 struct btrfs_inode_extref *extref; local
[all...]
H A Dbackref.c1276 struct btrfs_inode_extref *extref; local
1326 extref = (struct btrfs_inode_extref *)ptr;
1327 *ret_extref = extref;
1337 * this iterates to turn a name (from iref/extref) into a full filesystem path.
1780 struct btrfs_inode_extref *extref; local
1787 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref,
1817 extref = (struct btrfs_inode_extref *)(ptr + cur_offset);
1818 parent = btrfs_inode_extref_parent(eb, extref);
1819 name_len = btrfs_inode_extref_name_len(eb, extref);
1821 (unsigned long)&extref
[all...]
H A Dtree-log.c914 struct btrfs_inode_extref *extref; local
986 extref = btrfs_lookup_inode_extref(NULL, root, path, name, namelen,
989 if (!IS_ERR_OR_NULL(extref)) {
1001 extref = (struct btrfs_inode_extref *)base + cur_offset;
1003 victim_name_len = btrfs_inode_extref_name_len(leaf, extref);
1005 if (btrfs_inode_extref_parent(leaf, extref) != parent_objectid)
1011 read_extent_buffer(leaf, victim_name, (unsigned long)&extref->name,
1050 cur_offset += victim_name_len + sizeof(*extref);
1083 struct btrfs_inode_extref *extref; local
1085 extref
1278 struct btrfs_inode_extref *extref; local
[all...]
H A Dsend.c856 struct btrfs_inode_extref *extref; local
892 elem_size = sizeof(*extref);
905 extref = (struct btrfs_inode_extref *)(ptr + cur);
906 name_len = btrfs_inode_extref_name_len(eb, extref);
907 name_off = (unsigned long)&extref->name;
908 index = btrfs_inode_extref_index(eb, extref);
909 dir = btrfs_inode_extref_parent(eb, extref);
1729 struct btrfs_inode_extref *extref; local
1730 extref = btrfs_item_ptr(path->nodes[0], path->slots[0],
1732 len = btrfs_inode_extref_name_len(path->nodes[0], extref);
5326 struct btrfs_inode_extref *extref; local
[all...]
H A Dinode.c3562 struct btrfs_inode_extref *extref; local
3564 extref = (struct btrfs_inode_extref *)ptr;
3566 extref);

Completed in 106 milliseconds