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

/linux-master/fs/btrfs/
H A Dinode-item.c48 struct btrfs_inode_extref *extref; local
65 extref = (struct btrfs_inode_extref *) (ptr + cur_offset);
66 name_ptr = (unsigned long)(&extref->name);
67 ref_name_len = btrfs_inode_extref_name_len(leaf, extref);
70 btrfs_inode_extref_parent(leaf, extref) == ref_objectid &&
73 return extref;
75 cur_offset += ref_name_len + sizeof(*extref);
80 /* Returns NULL if no extref found */
114 struct btrfs_inode_extref *extref; local
117 int del_len = name->len + sizeof(*extref);
259 struct btrfs_inode_extref *extref; local
[all...]
H A Dtree-log.c1061 struct btrfs_inode_extref *extref; local
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; local
1494 struct btrfs_inode_extref *extref; local
5291 struct btrfs_inode_extref *extref; local
6774 struct btrfs_inode_extref *extref; local
[all...]
H A Dsend.c1000 struct btrfs_inode_extref *extref; local
1035 elem_size = sizeof(*extref);
1048 extref = (struct btrfs_inode_extref *)(ptr + cur);
1049 name_len = btrfs_inode_extref_name_len(eb, extref);
1050 name_off = (unsigned long)&extref->name;
1051 index = btrfs_inode_extref_index(eb, extref);
1052 dir = btrfs_inode_extref_parent(eb, extref);
2069 struct btrfs_inode_extref *extref; local
2070 extref = btrfs_item_ptr(path->nodes[0], path->slots[0],
2072 len = btrfs_inode_extref_name_len(path->nodes[0], extref);
3937 struct btrfs_inode_extref *extref; local
7173 struct btrfs_inode_extref *extref; local
[all...]
H A Dbackref.c2057 struct btrfs_inode_extref *extref; local
2107 extref = (struct btrfs_inode_extref *)ptr;
2108 *ret_extref = extref;
2118 * this iterates to turn a name (from iref/extref) into a full filesystem path.
2658 struct btrfs_inode_extref *extref; local
2664 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref,
2689 extref = (struct btrfs_inode_extref *)(ptr + cur_offset);
2690 parent = btrfs_inode_extref_parent(eb, extref);
2691 name_len = btrfs_inode_extref_name_len(eb, extref);
2693 (unsigned long)&extref
[all...]
H A Dinode.c3907 struct btrfs_inode_extref *extref; local
3909 extref = (struct btrfs_inode_extref *)ptr;
3911 extref);

Completed in 289 milliseconds