Home
last modified time | relevance | path

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

/fs/ext2/
Dxattr.c846 struct ext2_xattr_entry *entry1, *entry2; in ext2_xattr_cmp() local
848 entry1 = ENTRY(header1+1); in ext2_xattr_cmp()
850 while (!IS_LAST_ENTRY(entry1)) { in ext2_xattr_cmp()
853 if (entry1->e_hash != entry2->e_hash || in ext2_xattr_cmp()
854 entry1->e_name_index != entry2->e_name_index || in ext2_xattr_cmp()
855 entry1->e_name_len != entry2->e_name_len || in ext2_xattr_cmp()
856 entry1->e_value_size != entry2->e_value_size || in ext2_xattr_cmp()
857 memcmp(entry1->e_name, entry2->e_name, entry1->e_name_len)) in ext2_xattr_cmp()
859 if (entry1->e_value_block != 0 || entry2->e_value_block != 0) in ext2_xattr_cmp()
861 if (memcmp((char *)header1 + le16_to_cpu(entry1->e_value_offs), in ext2_xattr_cmp()
[all …]
/fs/ext4/
Dblock_validity.c44 static inline int can_merge(struct ext4_system_zone *entry1, in can_merge() argument
47 if ((entry1->start_blk + entry1->count) == entry2->start_blk && in can_merge()
48 entry1->ino == entry2->ino) in can_merge()
Dxattr.c1600 struct ext4_xattr_entry *entry1, *entry2; in ext4_xattr_cmp() local
1602 entry1 = ENTRY(header1+1); in ext4_xattr_cmp()
1604 while (!IS_LAST_ENTRY(entry1)) { in ext4_xattr_cmp()
1607 if (entry1->e_hash != entry2->e_hash || in ext4_xattr_cmp()
1608 entry1->e_name_index != entry2->e_name_index || in ext4_xattr_cmp()
1609 entry1->e_name_len != entry2->e_name_len || in ext4_xattr_cmp()
1610 entry1->e_value_size != entry2->e_value_size || in ext4_xattr_cmp()
1611 memcmp(entry1->e_name, entry2->e_name, entry1->e_name_len)) in ext4_xattr_cmp()
1613 if (entry1->e_value_block != 0 || entry2->e_value_block != 0) in ext4_xattr_cmp()
1615 if (memcmp((char *)header1 + le16_to_cpu(entry1->e_value_offs), in ext4_xattr_cmp()
[all …]
Dmballoc.c4599 static int can_merge(struct ext4_free_data *entry1, in can_merge() argument
4602 if ((entry1->efd_tid == entry2->efd_tid) && in can_merge()
4603 (entry1->efd_group == entry2->efd_group) && in can_merge()
4604 ((entry1->efd_start_cluster + entry1->efd_count) == entry2->efd_start_cluster)) in can_merge()
/fs/xfs/libxfs/
Dxfs_attr_leaf.c2673 struct xfs_attr_leaf_entry *entry1; in xfs_attr3_leaf_flipflags() local
2709 entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index]; in xfs_attr3_leaf_flipflags()
2723 if (entry1->flags & XFS_ATTR_LOCAL) { in xfs_attr3_leaf_flipflags()
2741 ASSERT(be32_to_cpu(entry1->hashval) == be32_to_cpu(entry2->hashval)); in xfs_attr3_leaf_flipflags()
2746 ASSERT(entry1->flags & XFS_ATTR_INCOMPLETE); in xfs_attr3_leaf_flipflags()
2749 entry1->flags &= ~XFS_ATTR_INCOMPLETE; in xfs_attr3_leaf_flipflags()
2751 XFS_DA_LOGRANGE(leaf1, entry1, sizeof(*entry1))); in xfs_attr3_leaf_flipflags()
2753 ASSERT((entry1->flags & XFS_ATTR_LOCAL) == 0); in xfs_attr3_leaf_flipflags()
/fs/ocfs2/
Ddir.c3509 const struct ocfs2_dx_entry *entry1 = a; in dx_leaf_sort_cmp() local
3511 u32 major_hash1 = le32_to_cpu(entry1->dx_major_hash); in dx_leaf_sort_cmp()
3513 u32 minor_hash1 = le32_to_cpu(entry1->dx_minor_hash); in dx_leaf_sort_cmp()
3533 struct ocfs2_dx_entry *entry1 = a; in dx_leaf_sort_swap() local
3536 BUG_ON(size != sizeof(*entry1)); in dx_leaf_sort_swap()
3538 swap(*entry1, *entry2); in dx_leaf_sort_swap()