Lines Matching refs:sfp
135 xfs_intino_t xfs_dir2_sf_get_inumber_arch(xfs_dir2_sf_t *sfp, xfs_dir2_inou_t *from,
137 #define XFS_DIR2_SF_GET_INUMBER_ARCH(sfp, from, arch) \ argument
138 xfs_dir2_sf_get_inumber_arch(sfp, from, arch)
141 #define XFS_DIR2_SF_GET_INUMBER_ARCH(sfp, from, arch) \ argument
142 ((sfp)->hdr.i8count == 0 ? \
148 void xfs_dir2_sf_put_inumber_arch(xfs_dir2_sf_t *sfp, xfs_ino_t *from,
150 #define XFS_DIR2_SF_PUT_INUMBER_ARCH(sfp,from,to,arch) \ argument
151 xfs_dir2_sf_put_inumber_arch(sfp,from,to,arch)
153 #define XFS_DIR2_SF_PUT_INUMBER_ARCH(sfp,from,to,arch) \ argument
154 if ((sfp)->hdr.i8count == 0) { \
183 int xfs_dir2_sf_entsize_byname(xfs_dir2_sf_t *sfp, int len);
184 #define XFS_DIR2_SF_ENTSIZE_BYNAME(sfp,len) \ argument
185 xfs_dir2_sf_entsize_byname(sfp,len)
187 #define XFS_DIR2_SF_ENTSIZE_BYNAME(sfp,len) /* space a name uses */ \ argument
189 ((sfp)->hdr.i8count == 0) * \
194 int xfs_dir2_sf_entsize_byentry(xfs_dir2_sf_t *sfp, xfs_dir2_sf_entry_t *sfep);
195 #define XFS_DIR2_SF_ENTSIZE_BYENTRY(sfp,sfep) \ argument
196 xfs_dir2_sf_entsize_byentry(sfp,sfep)
198 #define XFS_DIR2_SF_ENTSIZE_BYENTRY(sfp,sfep) /* space an entry uses */ \ argument
200 ((sfp)->hdr.i8count == 0) * \
205 xfs_dir2_sf_entry_t *xfs_dir2_sf_firstentry(xfs_dir2_sf_t *sfp);
206 #define XFS_DIR2_SF_FIRSTENTRY(sfp) xfs_dir2_sf_firstentry(sfp) argument
208 #define XFS_DIR2_SF_FIRSTENTRY(sfp) /* first entry in struct */ \ argument
210 ((char *)(sfp) + XFS_DIR2_SF_HDR_SIZE(sfp->hdr.i8count)))
214 xfs_dir2_sf_entry_t *xfs_dir2_sf_nextentry(xfs_dir2_sf_t *sfp,
216 #define XFS_DIR2_SF_NEXTENTRY(sfp,sfep) xfs_dir2_sf_nextentry(sfp,sfep) argument
218 #define XFS_DIR2_SF_NEXTENTRY(sfp,sfep) /* next entry in struct */ \ argument
220 ((char *)(sfep) + XFS_DIR2_SF_ENTSIZE_BYENTRY(sfp,sfep)))