Home
last modified time | relevance | path

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

/fs/ext2/
Dxattr.c900 struct ext2_xattr_entry *entry1, *entry2; in ext2_xattr_cmp() local
902 entry1 = ENTRY(header1+1); in ext2_xattr_cmp()
904 while (!IS_LAST_ENTRY(entry1)) { in ext2_xattr_cmp()
907 if (entry1->e_hash != entry2->e_hash || in ext2_xattr_cmp()
908 entry1->e_name_index != entry2->e_name_index || in ext2_xattr_cmp()
909 entry1->e_name_len != entry2->e_name_len || in ext2_xattr_cmp()
910 entry1->e_value_size != entry2->e_value_size || in ext2_xattr_cmp()
911 memcmp(entry1->e_name, entry2->e_name, entry1->e_name_len)) in ext2_xattr_cmp()
913 if (entry1->e_value_block != 0 || entry2->e_value_block != 0) in ext2_xattr_cmp()
915 if (memcmp((char *)header1 + le16_to_cpu(entry1->e_value_offs), in ext2_xattr_cmp()
[all …]
/fs/ext4/
Dblock_validity.c46 static inline int can_merge(struct ext4_system_zone *entry1, in can_merge() argument
49 if ((entry1->start_blk + entry1->count) == entry2->start_blk && in can_merge()
50 entry1->ino == entry2->ino) in can_merge()
Dxattr.c3023 struct ext4_xattr_entry *entry1, *entry2; in ext4_xattr_cmp() local
3025 entry1 = ENTRY(header1+1); in ext4_xattr_cmp()
3027 while (!IS_LAST_ENTRY(entry1)) { in ext4_xattr_cmp()
3030 if (entry1->e_hash != entry2->e_hash || in ext4_xattr_cmp()
3031 entry1->e_name_index != entry2->e_name_index || in ext4_xattr_cmp()
3032 entry1->e_name_len != entry2->e_name_len || in ext4_xattr_cmp()
3033 entry1->e_value_size != entry2->e_value_size || in ext4_xattr_cmp()
3034 entry1->e_value_inum != entry2->e_value_inum || in ext4_xattr_cmp()
3035 memcmp(entry1->e_name, entry2->e_name, entry1->e_name_len)) in ext4_xattr_cmp()
3037 if (!entry1->e_value_inum && in ext4_xattr_cmp()
[all …]
/fs/xfs/libxfs/
Dxfs_attr_leaf.c2902 struct xfs_attr_leaf_entry *entry1; in xfs_attr3_leaf_flipflags() local
2938 entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index]; in xfs_attr3_leaf_flipflags()
2952 if (entry1->flags & XFS_ATTR_LOCAL) { in xfs_attr3_leaf_flipflags()
2970 ASSERT(be32_to_cpu(entry1->hashval) == be32_to_cpu(entry2->hashval)); in xfs_attr3_leaf_flipflags()
2975 ASSERT(entry1->flags & XFS_ATTR_INCOMPLETE); in xfs_attr3_leaf_flipflags()
2978 entry1->flags &= ~XFS_ATTR_INCOMPLETE; in xfs_attr3_leaf_flipflags()
2980 XFS_DA_LOGRANGE(leaf1, entry1, sizeof(*entry1))); in xfs_attr3_leaf_flipflags()
2982 ASSERT((entry1->flags & XFS_ATTR_LOCAL) == 0); in xfs_attr3_leaf_flipflags()
/fs/ocfs2/
Ddir.c3482 const struct ocfs2_dx_entry *entry1 = a; in dx_leaf_sort_cmp() local
3484 u32 major_hash1 = le32_to_cpu(entry1->dx_major_hash); in dx_leaf_sort_cmp()
3486 u32 minor_hash1 = le32_to_cpu(entry1->dx_minor_hash); in dx_leaf_sort_cmp()
3506 struct ocfs2_dx_entry *entry1 = a; in dx_leaf_sort_swap() local
3509 BUG_ON(size != sizeof(*entry1)); in dx_leaf_sort_swap()
3511 swap(*entry1, *entry2); in dx_leaf_sort_swap()