Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Dinode-item.c45 struct btrfs_inode_extref *extref; in btrfs_find_name_in_ext_backref() local
62 extref = (struct btrfs_inode_extref *) (ptr + cur_offset); in btrfs_find_name_in_ext_backref()
63 name_ptr = (unsigned long)(&extref->name); in btrfs_find_name_in_ext_backref()
64 ref_name_len = btrfs_inode_extref_name_len(leaf, extref); in btrfs_find_name_in_ext_backref()
67 btrfs_inode_extref_parent(leaf, extref) == ref_objectid && in btrfs_find_name_in_ext_backref()
70 *extref_ret = extref; in btrfs_find_name_in_ext_backref()
74 cur_offset += ref_name_len + sizeof(*extref); in btrfs_find_name_in_ext_backref()
90 struct btrfs_inode_extref *extref; in btrfs_lookup_inode_extref() local
103 &extref)) in btrfs_lookup_inode_extref()
105 return extref; in btrfs_lookup_inode_extref()
[all …]
Dtree-log.c994 struct btrfs_inode_extref *extref; in __add_inode_ref() local
1065 extref = btrfs_lookup_inode_extref(NULL, root, path, name, namelen, in __add_inode_ref()
1068 if (!IS_ERR_OR_NULL(extref)) { in __add_inode_ref()
1080 extref = (struct btrfs_inode_extref *)(base + cur_offset); in __add_inode_ref()
1082 victim_name_len = btrfs_inode_extref_name_len(leaf, extref); in __add_inode_ref()
1084 if (btrfs_inode_extref_parent(leaf, extref) != parent_objectid) in __add_inode_ref()
1090 read_extent_buffer(leaf, victim_name, (unsigned long)&extref->name, in __add_inode_ref()
1127 cur_offset += victim_name_len + sizeof(*extref); in __add_inode_ref()
1160 struct btrfs_inode_extref *extref; in extref_get_fields() local
1162 extref = (struct btrfs_inode_extref *)ref_ptr; in extref_get_fields()
[all …]
Dbackref.c1531 struct btrfs_inode_extref *extref; local
1581 extref = (struct btrfs_inode_extref *)ptr;
1582 *ret_extref = extref;
2061 struct btrfs_inode_extref *extref; local
2067 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref,
2096 extref = (struct btrfs_inode_extref *)(ptr + cur_offset);
2097 parent = btrfs_inode_extref_parent(eb, extref);
2098 name_len = btrfs_inode_extref_name_len(eb, extref);
2100 (unsigned long)&extref->name, eb, ctx);
2104 cur_offset += btrfs_inode_extref_name_len(eb, extref);
[all …]
Dsend.c873 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()
[all …]
Dinode.c3700 struct btrfs_inode_extref *extref; in btrfs_read_locked_inode() local
3702 extref = (struct btrfs_inode_extref *)ptr; in btrfs_read_locked_inode()
3704 extref); in btrfs_read_locked_inode()