Home
last modified time | relevance | path

Searched refs:entry1 (Results 1 – 6 of 6) sorted by relevance

/fs/ext2/
Dxattr.c859 struct ext2_xattr_entry *entry1, *entry2; in ext2_xattr_cmp() local
861 entry1 = ENTRY(header1+1); in ext2_xattr_cmp()
863 while (!IS_LAST_ENTRY(entry1)) { in ext2_xattr_cmp()
866 if (entry1->e_hash != entry2->e_hash || in ext2_xattr_cmp()
867 entry1->e_name_index != entry2->e_name_index || in ext2_xattr_cmp()
868 entry1->e_name_len != entry2->e_name_len || in ext2_xattr_cmp()
869 entry1->e_value_size != entry2->e_value_size || in ext2_xattr_cmp()
870 memcmp(entry1->e_name, entry2->e_name, entry1->e_name_len)) in ext2_xattr_cmp()
872 if (entry1->e_value_block != 0 || entry2->e_value_block != 0) in ext2_xattr_cmp()
874 if (memcmp((char *)header1 + le16_to_cpu(entry1->e_value_offs), in ext2_xattr_cmp()
[all …]
/fs/ext4/
Dblock_validity.c43 static inline int can_merge(struct ext4_system_zone *entry1, in can_merge() argument
46 if ((entry1->start_blk + entry1->count) == entry2->start_blk) in can_merge()
Dxattr.c1651 struct ext4_xattr_entry *entry1, *entry2; in ext4_xattr_cmp() local
1653 entry1 = ENTRY(header1+1); in ext4_xattr_cmp()
1655 while (!IS_LAST_ENTRY(entry1)) { in ext4_xattr_cmp()
1658 if (entry1->e_hash != entry2->e_hash || in ext4_xattr_cmp()
1659 entry1->e_name_index != entry2->e_name_index || in ext4_xattr_cmp()
1660 entry1->e_name_len != entry2->e_name_len || in ext4_xattr_cmp()
1661 entry1->e_value_size != entry2->e_value_size || in ext4_xattr_cmp()
1662 memcmp(entry1->e_name, entry2->e_name, entry1->e_name_len)) in ext4_xattr_cmp()
1664 if (entry1->e_value_block != 0 || entry2->e_value_block != 0) in ext4_xattr_cmp()
1666 if (memcmp((char *)header1 + le16_to_cpu(entry1->e_value_offs), in ext4_xattr_cmp()
[all …]
Dmballoc.c4577 static int can_merge(struct ext4_free_data *entry1, in can_merge() argument
4580 if ((entry1->efd_tid == entry2->efd_tid) && in can_merge()
4581 (entry1->efd_group == entry2->efd_group) && in can_merge()
4582 ((entry1->efd_start_cluster + entry1->efd_count) == entry2->efd_start_cluster)) in can_merge()
/fs/xfs/libxfs/
Dxfs_attr_leaf.c2678 struct xfs_attr_leaf_entry *entry1; in xfs_attr3_leaf_flipflags() local
2714 entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index]; in xfs_attr3_leaf_flipflags()
2728 if (entry1->flags & XFS_ATTR_LOCAL) { in xfs_attr3_leaf_flipflags()
2746 ASSERT(be32_to_cpu(entry1->hashval) == be32_to_cpu(entry2->hashval)); in xfs_attr3_leaf_flipflags()
2751 ASSERT(entry1->flags & XFS_ATTR_INCOMPLETE); in xfs_attr3_leaf_flipflags()
2754 entry1->flags &= ~XFS_ATTR_INCOMPLETE; in xfs_attr3_leaf_flipflags()
2756 XFS_DA_LOGRANGE(leaf1, entry1, sizeof(*entry1))); in xfs_attr3_leaf_flipflags()
2758 ASSERT((entry1->flags & XFS_ATTR_LOCAL) == 0); in xfs_attr3_leaf_flipflags()
/fs/ocfs2/
Ddir.c3510 const struct ocfs2_dx_entry *entry1 = a; in dx_leaf_sort_cmp() local
3512 u32 major_hash1 = le32_to_cpu(entry1->dx_major_hash); in dx_leaf_sort_cmp()
3514 u32 minor_hash1 = le32_to_cpu(entry1->dx_minor_hash); in dx_leaf_sort_cmp()
3534 struct ocfs2_dx_entry *entry1 = a; in dx_leaf_sort_swap() local
3537 BUG_ON(size != sizeof(*entry1)); in dx_leaf_sort_swap()
3539 swap(*entry1, *entry2); in dx_leaf_sort_swap()