Searched refs:di_magic (Results 1 – 10 of 10) sorted by relevance
174 to->di_magic = cpu_to_be16(from->di_magic); in xfs_log_dinode_to_disk()324 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) { in xlog_recover_inode_commit_pass2()332 if (XFS_IS_CORRUPT(mp, ldip->di_magic != XFS_DINODE_MAGIC)) { in xlog_recover_inode_commit_pass2()
552 to->di_magic = XFS_DINODE_MAGIC; in xfs_inode_to_log_dinode()
2367 if (XFS_TEST_ERROR(dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC), in xfs_iflush()2371 __func__, ip->i_ino, be16_to_cpu(dip->di_magic), dip); in xfs_iflush()
60 di_ok = xfs_verify_magic16(bp, dip->di_magic) && in xfs_inode_buf_verify()75 be16_to_cpu(dip->di_magic)); in xfs_inode_buf_verify()317 to->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); in xfs_inode_to_disk()501 if (dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC)) in xfs_dinode_verify()
403 uint16_t di_magic; /* inode magic # = XFS_DINODE_MAGIC */ member
811 __be16 di_magic; /* inode magic # = XFS_DINODE_MAGIC */ member
376 free->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); in xfs_ialloc_inode_init()
184 if (dip->di_magic == cpu_to_be16(XFS_DINODE_MAGIC) && in xrep_dinode_buf_core()196 dip->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); in xrep_dinode_buf_core()230 dip->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); in xrep_dinode_header()
165 if (be16_to_cpu(dip->di_magic) != XFS_DINODE_MAGIC) in xrep_ibt_check_ifree()
325 if (be16_to_cpu(dip->di_magic) != XFS_DINODE_MAGIC || in xchk_iallocbt_check_cluster_ifree()