Searched refs:extref (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | tree-log.c | 1276 struct btrfs_inode_extref *extref; in unlink_extrefs_not_in_log() local 1280 extref = (struct btrfs_inode_extref *)(base + cur_offset); in unlink_extrefs_not_in_log() 1281 victim_name.len = btrfs_inode_extref_name_len(leaf, extref); in unlink_extrefs_not_in_log() 1283 if (btrfs_inode_extref_parent(leaf, extref) != btrfs_ino(dir)) in unlink_extrefs_not_in_log() 1286 ret = read_alloc_one_name(leaf, &extref->name, victim_name.len, in unlink_extrefs_not_in_log() 1314 cur_offset += victim_name.len + sizeof(*extref); in unlink_extrefs_not_in_log() 1341 struct btrfs_inode_extref *extref; in __add_inode_ref() local 1372 extref = btrfs_lookup_inode_extref(root, wc->subvol_path, name, in __add_inode_ref() 1374 if (IS_ERR(extref)) { in __add_inode_ref() 1375 return PTR_ERR(extref); in __add_inode_ref() [all …]
|
| H A D | send.c | 982 struct btrfs_inode_extref *extref; in iterate_inode_ref() local 1015 elem_size = sizeof(*extref); in iterate_inode_ref() 1027 extref = (struct btrfs_inode_extref *)(ptr + cur); in iterate_inode_ref() 1028 name_len = btrfs_inode_extref_name_len(eb, extref); in iterate_inode_ref() 1029 name_off = (unsigned long)&extref->name; in iterate_inode_ref() 1030 dir = btrfs_inode_extref_parent(eb, extref); in iterate_inode_ref() 2003 struct btrfs_inode_extref *extref; in get_first_ref() local 2004 extref = btrfs_item_ptr(path->nodes[0], path->slots[0], in get_first_ref() 2006 len = btrfs_inode_extref_name_len(path->nodes[0], extref); in get_first_ref() 2008 (unsigned long)&extref->name, len); in get_first_ref() [all …]
|
| H A D | tree-checker.c | 1796 struct btrfs_inode_extref *extref = (struct btrfs_inode_extref *)ptr; in check_inode_extref() local 1799 if (unlikely(ptr + sizeof(*extref) > end)) { in check_inode_extref() 1802 ptr, end, sizeof(*extref)); in check_inode_extref() 1806 namelen = btrfs_inode_extref_name_len(leaf, extref); in check_inode_extref() 1807 if (unlikely(ptr + sizeof(*extref) + namelen > end)) { in check_inode_extref() 1813 ptr += sizeof(*extref) + namelen; in check_inode_extref()
|
| H A D | inode.c | 4107 struct btrfs_inode_extref *extref; in btrfs_read_locked_inode() local 4109 extref = (struct btrfs_inode_extref *)ptr; in btrfs_read_locked_inode() 4110 inode->dir_index = btrfs_inode_extref_index(leaf, extref); in btrfs_read_locked_inode()
|