Lines Matching refs:i_d
164 if ((ip->i_d.di_mode & S_IFMT) != (tip->i_d.di_mode & S_IFMT)) { in xfs_swapext()
170 if ((ip->i_d.di_flags & XFS_DIFLAG_REALTIME) != in xfs_swapext()
171 (tip->i_d.di_flags & XFS_DIFLAG_REALTIME)) { in xfs_swapext()
177 if (ip->i_d.di_format == XFS_DINODE_FMT_LOCAL || in xfs_swapext()
178 tip->i_d.di_format == XFS_DINODE_FMT_LOCAL) { in xfs_swapext()
195 sx.sx_length != ip->i_d.di_size || in xfs_swapext()
196 sx.sx_length != tip->i_d.di_size) { in xfs_swapext()
218 if ((sbp->bs_ctime.tv_sec != ip->i_d.di_ctime.t_sec) || in xfs_swapext()
219 (sbp->bs_ctime.tv_nsec != ip->i_d.di_ctime.t_nsec) || in xfs_swapext()
220 (sbp->bs_mtime.tv_sec != ip->i_d.di_mtime.t_sec) || in xfs_swapext()
221 (sbp->bs_mtime.tv_nsec != ip->i_d.di_mtime.t_nsec)) { in xfs_swapext()
264 if ( ((XFS_IFORK_Q(ip) != 0) && (ip->i_d.di_anextents > 0)) && in xfs_swapext()
265 (ip->i_d.di_aformat != XFS_DINODE_FMT_LOCAL)) { in xfs_swapext()
274 if ( ((XFS_IFORK_Q(tip) != 0) && (tip->i_d.di_anextents > 0)) && in xfs_swapext()
275 (tip->i_d.di_aformat != XFS_DINODE_FMT_LOCAL)) { in xfs_swapext()
298 tmp = (__uint64_t)ip->i_d.di_nblocks; in xfs_swapext()
299 ip->i_d.di_nblocks = tip->i_d.di_nblocks - taforkblks + aforkblks; in xfs_swapext()
300 tip->i_d.di_nblocks = tmp + taforkblks - aforkblks; in xfs_swapext()
302 tmp = (__uint64_t) ip->i_d.di_nextents; in xfs_swapext()
303 ip->i_d.di_nextents = tip->i_d.di_nextents; in xfs_swapext()
304 tip->i_d.di_nextents = tmp; in xfs_swapext()
306 tmp = (__uint64_t) ip->i_d.di_format; in xfs_swapext()
307 ip->i_d.di_format = tip->i_d.di_format; in xfs_swapext()
308 tip->i_d.di_format = tmp; in xfs_swapext()
312 switch(ip->i_d.di_format) { in xfs_swapext()
318 if (ip->i_d.di_nextents <= XFS_INLINE_EXTS) { in xfs_swapext()
331 switch(tip->i_d.di_format) { in xfs_swapext()
337 if (tip->i_d.di_nextents <= XFS_INLINE_EXTS) { in xfs_swapext()