Lines Matching refs:dip

77 	struct xfs_dinode	*dip,  in xfs_recover_inode_owner_change()  argument
91 ASSERT(dip->di_version >= 3); in xfs_recover_inode_owner_change()
93 error = xfs_inode_from_disk(ip, dip); in xfs_recover_inode_owner_change()
279 struct xfs_dinode *dip; in xlog_recover_inode_commit_pass2() local
318 dip = xfs_buf_offset(bp, in_f->ilf_boffset); in xlog_recover_inode_commit_pass2()
324 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2()
327 __func__, dip, bp, in_f->ilf_ino); in xlog_recover_inode_commit_pass2()
356 if (dip->di_version >= 3) { in xlog_recover_inode_commit_pass2()
357 xfs_lsn_t lsn = be64_to_cpu(dip->di_lsn); in xlog_recover_inode_commit_pass2()
375 if (ldip->di_flushiter < be16_to_cpu(dip->di_flushiter)) { in xlog_recover_inode_commit_pass2()
380 if (be16_to_cpu(dip->di_flushiter) == DI_MAX_FLUSH && in xlog_recover_inode_commit_pass2()
456 xfs_log_dinode_to_disk(ldip, dip, current_lsn); in xlog_recover_inode_commit_pass2()
460 xfs_dinode_put_rdev(dip, in_f->ilf_u.ilfu_rdev); in xlog_recover_inode_commit_pass2()
474 memcpy(XFS_DFORK_DPTR(dip), src, len); in xlog_recover_inode_commit_pass2()
479 (struct xfs_bmdr_block *)XFS_DFORK_DPTR(dip), in xlog_recover_inode_commit_pass2()
480 XFS_DFORK_DSIZE(dip, mp)); in xlog_recover_inode_commit_pass2()
509 dest = XFS_DFORK_APTR(dip); in xlog_recover_inode_commit_pass2()
510 ASSERT(len <= XFS_DFORK_ASIZE(dip, mp)); in xlog_recover_inode_commit_pass2()
515 dest = XFS_DFORK_APTR(dip); in xlog_recover_inode_commit_pass2()
518 XFS_DFORK_ASIZE(dip, mp)); in xlog_recover_inode_commit_pass2()
532 (dip->di_mode != 0)) in xlog_recover_inode_commit_pass2()
533 error = xfs_recover_inode_owner_change(mp, dip, in_f, in xlog_recover_inode_commit_pass2()
536 xfs_dinode_calc_crc(log->l_mp, dip); in xlog_recover_inode_commit_pass2()
537 fa = xfs_dinode_verify(log->l_mp, in_f->ilf_ino, dip); in xlog_recover_inode_commit_pass2()
541 XFS_ERRLEVEL_LOW, mp, dip, sizeof(*dip)); in xlog_recover_inode_commit_pass2()