Lines Matching refs:iref
1369 struct btrfs_extent_inline_ref *iref; in check_extent_item() local
1376 if (unlikely(ptr + sizeof(*iref) > end)) { in check_extent_item()
1379 ptr, sizeof(*iref), end); in check_extent_item()
1382 iref = (struct btrfs_extent_inline_ref *)ptr; in check_extent_item()
1383 inline_type = btrfs_extent_inline_ref_type(leaf, iref); in check_extent_item()
1384 inline_offset = btrfs_extent_inline_ref_offset(leaf, iref); in check_extent_item()
1413 dref = (struct btrfs_extent_data_ref *)(&iref->offset); in check_extent_item()
1426 sref = (struct btrfs_shared_data_ref *)(iref + 1); in check_extent_item()
1556 struct btrfs_inode_ref *iref; in check_inode_ref() local
1563 if (unlikely(btrfs_item_size(leaf, slot) <= sizeof(*iref))) { in check_inode_ref()
1567 sizeof(*iref), BTRFS_LEAF_DATA_SIZE(leaf->fs_info)); in check_inode_ref()
1576 if (unlikely(ptr + sizeof(iref) > end)) { in check_inode_ref()
1579 ptr, end, sizeof(iref)); in check_inode_ref()
1583 iref = (struct btrfs_inode_ref *)ptr; in check_inode_ref()
1584 namelen = btrfs_inode_ref_name_len(leaf, iref); in check_inode_ref()
1585 if (unlikely(ptr + sizeof(*iref) + namelen > end)) { in check_inode_ref()
1597 ptr += sizeof(*iref) + namelen; in check_inode_ref()