Lines Matching refs:dip
2940 struct xfs_dinode *dip, in xfs_recover_inode_owner_change() argument
2954 xfs_inode_from_disk(ip, dip); in xfs_recover_inode_owner_change()
2957 error = xfs_iformat_fork(ip, dip); in xfs_recover_inode_owner_change()
2997 xfs_dinode_t *dip; in xlog_recover_inode_pass2() local
3042 dip = xfs_buf_offset(bp, in_f->ilf_boffset); in xlog_recover_inode_pass2()
3048 if (unlikely(dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC))) { in xlog_recover_inode_pass2()
3051 __func__, dip, bp, in_f->ilf_ino); in xlog_recover_inode_pass2()
3075 if (dip->di_version >= 3) { in xlog_recover_inode_pass2()
3076 xfs_lsn_t lsn = be64_to_cpu(dip->di_lsn); in xlog_recover_inode_pass2()
3094 ldip->di_flushiter < be16_to_cpu(dip->di_flushiter)) { in xlog_recover_inode_pass2()
3099 if (be16_to_cpu(dip->di_flushiter) == DI_MAX_FLUSH && in xlog_recover_inode_pass2()
3121 __func__, item, dip, bp, in_f->ilf_ino); in xlog_recover_inode_pass2()
3135 __func__, item, dip, bp, in_f->ilf_ino); in xlog_recover_inode_pass2()
3147 __func__, item, dip, bp, in_f->ilf_ino, in xlog_recover_inode_pass2()
3160 item, dip, bp, in_f->ilf_ino, ldip->di_forkoff); in xlog_recover_inode_pass2()
3177 xfs_log_dinode_to_disk(ldip, dip); in xlog_recover_inode_pass2()
3181 xfs_dinode_put_rdev(dip, in_f->ilf_u.ilfu_rdev); in xlog_recover_inode_pass2()
3195 memcpy(XFS_DFORK_DPTR(dip), src, len); in xlog_recover_inode_pass2()
3200 (xfs_bmdr_block_t *)XFS_DFORK_DPTR(dip), in xlog_recover_inode_pass2()
3201 XFS_DFORK_DSIZE(dip, mp)); in xlog_recover_inode_pass2()
3230 dest = XFS_DFORK_APTR(dip); in xlog_recover_inode_pass2()
3231 ASSERT(len <= XFS_DFORK_ASIZE(dip, mp)); in xlog_recover_inode_pass2()
3236 dest = XFS_DFORK_APTR(dip); in xlog_recover_inode_pass2()
3239 XFS_DFORK_ASIZE(dip, mp)); in xlog_recover_inode_pass2()
3253 (dip->di_mode != 0)) in xlog_recover_inode_pass2()
3254 error = xfs_recover_inode_owner_change(mp, dip, in_f, in xlog_recover_inode_pass2()
3257 xfs_dinode_calc_crc(log->l_mp, dip); in xlog_recover_inode_pass2()
5056 struct xfs_dinode *dip; in xlog_recover_process_one_iunlink() local
5069 error = xfs_imap_to_bp(mp, NULL, &ip->i_imap, &dip, &ibp, 0, 0); in xlog_recover_process_one_iunlink()
5078 agino = be32_to_cpu(dip->di_next_unlinked); in xlog_recover_process_one_iunlink()