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()
205 struct xfs_dinode *dip; in xlog_recover_inode_commit_pass2() local
242 dip = xfs_buf_offset(bp, in_f->ilf_boffset); in xlog_recover_inode_commit_pass2()
248 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2()
251 __func__, dip, bp, in_f->ilf_ino); in xlog_recover_inode_commit_pass2()
280 if (dip->di_version >= 3) { in xlog_recover_inode_commit_pass2()
281 xfs_lsn_t lsn = be64_to_cpu(dip->di_lsn); in xlog_recover_inode_commit_pass2()
299 ldip->di_flushiter < be16_to_cpu(dip->di_flushiter)) { in xlog_recover_inode_commit_pass2()
304 if (be16_to_cpu(dip->di_flushiter) == DI_MAX_FLUSH && in xlog_recover_inode_commit_pass2()
326 __func__, item, dip, bp, in_f->ilf_ino); in xlog_recover_inode_commit_pass2()
340 __func__, item, dip, bp, in_f->ilf_ino); in xlog_recover_inode_commit_pass2()
352 __func__, item, dip, bp, in_f->ilf_ino, in xlog_recover_inode_commit_pass2()
365 item, dip, bp, in_f->ilf_ino, ldip->di_forkoff); in xlog_recover_inode_commit_pass2()
391 xfs_log_dinode_to_disk(ldip, dip, current_lsn); in xlog_recover_inode_commit_pass2()
395 xfs_dinode_put_rdev(dip, in_f->ilf_u.ilfu_rdev); in xlog_recover_inode_commit_pass2()
409 memcpy(XFS_DFORK_DPTR(dip), src, len); in xlog_recover_inode_commit_pass2()
414 (struct xfs_bmdr_block *)XFS_DFORK_DPTR(dip), in xlog_recover_inode_commit_pass2()
415 XFS_DFORK_DSIZE(dip, mp)); in xlog_recover_inode_commit_pass2()
444 dest = XFS_DFORK_APTR(dip); in xlog_recover_inode_commit_pass2()
445 ASSERT(len <= XFS_DFORK_ASIZE(dip, mp)); in xlog_recover_inode_commit_pass2()
450 dest = XFS_DFORK_APTR(dip); in xlog_recover_inode_commit_pass2()
453 XFS_DFORK_ASIZE(dip, mp)); in xlog_recover_inode_commit_pass2()
467 (dip->di_mode != 0)) in xlog_recover_inode_commit_pass2()
468 error = xfs_recover_inode_owner_change(mp, dip, in_f, in xlog_recover_inode_commit_pass2()
471 xfs_dinode_calc_crc(log->l_mp, dip); in xlog_recover_inode_commit_pass2()