Lines Matching full:ifp
169 struct xfs_ifork *ifp; in xrep_symlink_salvage_inline() local
172 ifp = xfs_ifork_ptr(ip, XFS_DATA_FORK); in xrep_symlink_salvage_inline()
173 if (!ifp->if_data) in xrep_symlink_salvage_inline()
181 old_target = ifp->if_data; in xrep_symlink_salvage_inline()
187 strncpy(target_buf, ifp->if_data, nr); in xrep_symlink_salvage_inline()
250 struct xfs_ifork *ifp, in xrep_symlink_local_to_remote() argument
256 xfs_symlink_local_to_remote(tp, bp, ip, ifp, NULL); in xrep_symlink_local_to_remote()
263 sizeof(struct xfs_dsymlink_hdr) + ifp->if_bytes - 1); in xrep_symlink_local_to_remote()
306 struct xfs_ifork *ifp; in xrep_symlink_swap_prep() local
308 ifp = xfs_ifork_ptr(sc->ip, XFS_DATA_FORK); in xrep_symlink_swap_prep()
309 xfs_idestroy_fork(ifp); in xrep_symlink_swap_prep()
310 ifp->if_format = XFS_DINODE_FMT_EXTENTS; in xrep_symlink_swap_prep()
311 ifp->if_nextents = 0; in xrep_symlink_swap_prep()
312 ifp->if_bytes = 0; in xrep_symlink_swap_prep()
313 ifp->if_data = NULL; in xrep_symlink_swap_prep()
314 ifp->if_height = 0; in xrep_symlink_swap_prep()
363 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->tempip, XFS_DATA_FORK); in xrep_symlink_reset_fork() local
367 if (xfs_ifork_has_extents(ifp)) { in xrep_symlink_reset_fork()
376 xfs_idestroy_fork(ifp); in xrep_symlink_reset_fork()