Searched refs:sfep (Results 1 – 5 of 5) sorted by relevance
/fs/xfs/ |
D | xfs_dir2_sf.c | 41 xfs_dir2_sf_entry_t *sfep, 113 struct xfs_dir2_sf_entry *sfep) in xfs_dir2_sfe_inop() argument 115 return (xfs_dir2_inou_t *)&sfep->name[sfep->namelen]; in xfs_dir2_sfe_inop() 121 struct xfs_dir2_sf_entry *sfep) in xfs_dir2_sfe_get_ino() argument 123 return xfs_dir2_sf_get_ino(hdr, xfs_dir2_sfe_inop(sfep)); in xfs_dir2_sfe_get_ino() 129 struct xfs_dir2_sf_entry *sfep, in xfs_dir2_sfe_put_ino() argument 132 xfs_dir2_sf_put_ino(hdr, xfs_dir2_sfe_inop(sfep), ino); in xfs_dir2_sfe_put_ino() 239 xfs_dir2_sf_entry_t *sfep; /* shortform entry */ in xfs_dir2_block_to_sf() local 283 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_block_to_sf() 314 sfep->namelen = dep->namelen; in xfs_dir2_block_to_sf() [all …]
|
D | xfs_attr_sf.h | 62 #define XFS_ATTR_SF_ENTSIZE(sfep) /* space an entry uses */ \ argument 63 ((int)sizeof(xfs_attr_sf_entry_t)-1 + (sfep)->namelen+(sfep)->valuelen) 64 #define XFS_ATTR_SF_NEXTENTRY(sfep) /* next entry in struct */ \ argument 65 ((xfs_attr_sf_entry_t *)((char *)(sfep) + XFS_ATTR_SF_ENTSIZE(sfep)))
|
D | xfs_dir2_format.h | 154 xfs_dir2_sf_get_offset(xfs_dir2_sf_entry_t *sfep) in xfs_dir2_sf_get_offset() argument 156 return get_unaligned_be16(&sfep->offset.i); in xfs_dir2_sf_get_offset() 160 xfs_dir2_sf_put_offset(xfs_dir2_sf_entry_t *sfep, xfs_dir2_data_aoff_t off) in xfs_dir2_sf_put_offset() argument 162 put_unaligned_be16(off, &sfep->offset.i); in xfs_dir2_sf_put_offset() 184 struct xfs_dir2_sf_entry *sfep) in xfs_dir2_sf_nextentry() argument 187 ((char *)sfep + xfs_dir2_sf_entsize(hdr, sfep->namelen)); in xfs_dir2_sf_nextentry()
|
D | xfs_dir2_block.c | 1164 xfs_dir2_sf_entry_t *sfep; /* sf entry pointer */ in xfs_dir2_sf_to_block() local 1281 sfep = NULL; in xfs_dir2_sf_to_block() 1283 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_sf_to_block() 1292 if (sfep == NULL) in xfs_dir2_sf_to_block() 1295 newoffset = xfs_dir2_sf_get_offset(sfep); in xfs_dir2_sf_to_block() 1314 dep->inumber = cpu_to_be64(xfs_dir2_sfe_get_ino(sfp, sfep)); in xfs_dir2_sf_to_block() 1315 dep->namelen = sfep->namelen; in xfs_dir2_sf_to_block() 1316 memcpy(dep->name, sfep->name, dep->namelen); in xfs_dir2_sf_to_block() 1320 name.name = sfep->name; in xfs_dir2_sf_to_block() 1321 name.len = sfep->namelen; in xfs_dir2_sf_to_block() [all …]
|
D | xfs_dir2_priv.h | 149 struct xfs_dir2_sf_entry *sfep);
|