Lines Matching refs:ifp
169 struct xfs_ifork *ifp) in xfs_symlink_local_to_remote() argument
178 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote()
179 xfs_trans_log_buf(tp, bp, 0, ifp->if_bytes - 1); in xfs_symlink_local_to_remote()
188 ifp->if_bytes + sizeof(struct xfs_dsymlink_hdr)); in xfs_symlink_local_to_remote()
193 buf += xfs_symlink_hdr_set(mp, ip->i_ino, 0, ifp->if_bytes, bp); in xfs_symlink_local_to_remote()
194 memcpy(buf, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote()
196 ifp->if_bytes - 1); in xfs_symlink_local_to_remote()
207 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, XFS_DATA_FORK); in xfs_symlink_shortform_verify() local
208 char *sfp = (char *)ifp->if_u1.if_data; in xfs_symlink_shortform_verify()
209 int size = ifp->if_bytes; in xfs_symlink_shortform_verify()
212 ASSERT(ifp->if_format == XFS_DINODE_FMT_LOCAL); in xfs_symlink_shortform_verify()