Searched refs:sfe (Results 1 – 2 of 2) sorted by relevance
62 xfs_attr_sf_entry_t *sfe; in xfs_attr_shortform_list() local91 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { in xfs_attr_shortform_list()93 sfe->flags, in xfs_attr_shortform_list()94 sfe->nameval, in xfs_attr_shortform_list()95 (int)sfe->namelen, in xfs_attr_shortform_list()96 (int)sfe->valuelen); in xfs_attr_shortform_list()103 sfe = XFS_ATTR_SF_NEXTENTRY(sfe); in xfs_attr_shortform_list()124 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { in xfs_attr_shortform_list()126 ((char *)sfe < (char *)sf) || in xfs_attr_shortform_list()127 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list()[all …]
568 xfs_attr_sf_entry_t *sfe; in xfs_attr_shortform_add() local583 sfe = &sf->list[0]; in xfs_attr_shortform_add()584 for (i = 0; i < sf->hdr.count; sfe = XFS_ATTR_SF_NEXTENTRY(sfe), i++) { in xfs_attr_shortform_add()586 if (sfe->namelen != args->namelen) in xfs_attr_shortform_add()588 if (memcmp(args->name, sfe->nameval, args->namelen) != 0) in xfs_attr_shortform_add()590 if (!xfs_attr_namesp_match(args->flags, sfe->flags)) in xfs_attr_shortform_add()596 offset = (char *)sfe - (char *)sf; in xfs_attr_shortform_add()600 sfe = (xfs_attr_sf_entry_t *)((char *)sf + offset); in xfs_attr_shortform_add()602 sfe->namelen = args->namelen; in xfs_attr_shortform_add()603 sfe->valuelen = args->valuelen; in xfs_attr_shortform_add()[all …]