Searched refs:sfep (Results 1 - 8 of 8) sorted by relevance

/linux-master/fs/xfs/libxfs/
H A Dxfs_attr_sf.h31 static inline int xfs_attr_sf_entsize(struct xfs_attr_sf_entry *sfep) argument
33 return struct_size(sfep, nameval, sfep->namelen + sfep->valuelen);
43 /* next entry after sfep */
45 xfs_attr_sf_nextentry(struct xfs_attr_sf_entry *sfep) argument
47 return (void *)sfep + xfs_attr_sf_entsize(sfep);
H A Dxfs_dir2_sf.c23 xfs_dir2_sf_entry_t *sfep,
60 struct xfs_dir2_sf_entry *sfep)
62 return (void *)sfep + xfs_dir2_sf_entsize(mp, hdr, sfep->namelen);
75 struct xfs_dir2_sf_entry *sfep)
77 uint8_t *from = sfep->name + sfep->namelen;
91 struct xfs_dir2_sf_entry *sfep,
94 uint8_t *to = sfep->name + sfep
57 xfs_dir2_sf_nextentry( struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep) argument
72 xfs_dir2_sf_get_ino( struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep) argument
88 xfs_dir2_sf_put_ino( struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep, xfs_ino_t ino) argument
134 xfs_dir2_sf_get_ftype( struct xfs_mount *mp, struct xfs_dir2_sf_entry *sfep) argument
149 xfs_dir2_sf_put_ftype( struct xfs_mount *mp, struct xfs_dir2_sf_entry *sfep, uint8_t ftype) argument
267 struct xfs_dir2_sf_entry *sfep; /* shortform entry */ local
375 xfs_dir2_sf_entry_t *sfep = NULL; /* shortform entry */ local
455 xfs_dir2_sf_addname_easy( xfs_da_args_t *args, xfs_dir2_sf_entry_t *sfep, xfs_dir2_data_aoff_t offset, int new_isize) argument
520 xfs_dir2_sf_entry_t *sfep; /* entry in new dir */ local
603 xfs_dir2_sf_entry_t *sfep; /* shortform entry */ local
671 xfs_dir2_sf_entry_t *sfep; /* shortform dir entry */ local
703 struct xfs_dir2_sf_entry *sfep; local
849 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ local
928 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ local
1026 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ local
1143 xfs_dir2_sf_entry_t *sfep; /* new sf entry */ local
1215 xfs_dir2_sf_entry_t *sfep; /* new sf entry */ local
[all...]
H A Dxfs_dir2_priv.h162 struct xfs_dir2_sf_entry *sfep);
166 struct xfs_dir2_sf_entry *sfep);
168 struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep);
183 struct xfs_dir2_sf_entry *sfep, xfs_ino_t ino);
185 struct xfs_dir2_sf_entry *sfep, uint8_t ftype);
H A Dxfs_dir2_block.c1093 xfs_dir2_sf_entry_t *sfep; /* sf entry pointer */ local
1203 sfep = NULL;
1205 sfep = xfs_dir2_sf_firstentry(sfp);
1213 * sfep is null when we reach the end of the list.
1215 if (sfep == NULL)
1218 newoffset = xfs_dir2_sf_get_offset(sfep);
1238 dep->inumber = cpu_to_be64(xfs_dir2_sf_get_ino(mp, sfp, sfep));
1239 dep->namelen = sfep->namelen;
1241 xfs_dir2_sf_get_ftype(mp, sfep));
1242 memcpy(dep->name, sfep
[all...]
H A Dxfs_da_format.h240 xfs_dir2_sf_get_offset(xfs_dir2_sf_entry_t *sfep) argument
242 return get_unaligned_be16(sfep->offset);
246 xfs_dir2_sf_put_offset(xfs_dir2_sf_entry_t *sfep, xfs_dir2_data_aoff_t off) argument
248 put_unaligned_be16(off, sfep->offset);
H A Dxfs_attr_leaf.c979 struct xfs_attr_sf_entry *sfep = xfs_attr_sf_firstentry(sfp); local
1001 if (((char *)sfep + sizeof(*sfep)) >= endp)
1005 if (sfep->namelen == 0)
1013 next_sfep = xfs_attr_sf_nextentry(sfep);
1022 if (sfep->flags & ~XFS_ATTR_NSP_ONDISK_MASK)
1030 if (hweight8(sfep->flags & XFS_ATTR_NSP_ONDISK_MASK) > 1)
1033 sfep = next_sfep;
1035 if ((void *)sfep != (void *)endp)
/linux-master/fs/xfs/
H A Dxfs_dir2_readdir.c54 xfs_dir2_sf_entry_t *sfep; /* shortform directory entry */ local
104 sfep = xfs_dir2_sf_firstentry(sfp);
109 xfs_dir2_sf_get_offset(sfep));
112 sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep);
116 ino = xfs_dir2_sf_get_ino(mp, sfp, sfep);
117 filetype = xfs_dir2_sf_get_ftype(mp, sfep);
120 !xfs_dir2_namecheck(sfep->name,
121 sfep->namelen))) {
125 if (!dir_emit(ctx, (char *)sfep
[all...]
/linux-master/fs/xfs/scrub/
H A Dreaddir.c38 struct xfs_dir2_sf_entry *sfep; local
69 sfep = xfs_dir2_sf_firstentry(sfp);
72 xfs_dir2_sf_get_offset(sfep));
73 ino = xfs_dir2_sf_get_ino(mp, sfp, sfep);
74 name.name = sfep->name;
75 name.len = sfep->namelen;
76 name.type = xfs_dir2_sf_get_ftype(mp, sfep);
82 sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep);

Completed in 169 milliseconds