Home
last modified time | relevance | path

Searched refs:sfe (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/xfs/
Dxfs_attr_list.c62 xfs_attr_sf_entry_t *sfe; in xfs_attr_shortform_list() local
91 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 …]
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_attr_leaf.c568 xfs_attr_sf_entry_t *sfe; in xfs_attr_shortform_add() local
583 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 …]