Lines Matching full:ifp
170 struct xfs_ifork *ifp; in xrep_symlink_salvage_inline() local
173 ifp = xfs_ifork_ptr(ip, XFS_DATA_FORK); in xrep_symlink_salvage_inline()
174 if (!ifp->if_data) in xrep_symlink_salvage_inline()
182 old_target = ifp->if_data; in xrep_symlink_salvage_inline()
188 strncpy(target_buf, ifp->if_data, nr); in xrep_symlink_salvage_inline()
251 struct xfs_ifork *ifp, in xrep_symlink_local_to_remote() argument
257 xfs_symlink_local_to_remote(tp, bp, ip, ifp, NULL); in xrep_symlink_local_to_remote()
264 sizeof(struct xfs_dsymlink_hdr) + ifp->if_bytes - 1); in xrep_symlink_local_to_remote()
307 struct xfs_ifork *ifp; in xrep_symlink_swap_prep() local
309 ifp = xfs_ifork_ptr(sc->ip, XFS_DATA_FORK); in xrep_symlink_swap_prep()
310 xfs_idestroy_fork(ifp); in xrep_symlink_swap_prep()
311 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xrep_symlink_swap_prep()
312 ifp->if_nextents = 0; in xrep_symlink_swap_prep()
313 ifp->if_bytes = 0; in xrep_symlink_swap_prep()
314 ifp->if_data = NULL; in xrep_symlink_swap_prep()
315 ifp->if_height = 0; in xrep_symlink_swap_prep()
364 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->tempip, XFS_DATA_FORK); in xrep_symlink_reset_fork() local
368 if (xfs_ifork_has_extents(ifp)) { in xrep_symlink_reset_fork()
377 xfs_idestroy_fork(ifp); in xrep_symlink_reset_fork()