Home
last modified time | relevance | path

Searched refs:di_magic (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_inode_item_recover.c174 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()
Dxfs_inode_item.c552 to->di_magic = XFS_DINODE_MAGIC; in xfs_inode_to_log_dinode()
Dxfs_inode.c2367 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()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_inode_buf.c60 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()
Dxfs_log_format.h403 uint16_t di_magic; /* inode magic # = XFS_DINODE_MAGIC */ member
Dxfs_format.h811 __be16 di_magic; /* inode magic # = XFS_DINODE_MAGIC */ member
Dxfs_ialloc.c376 free->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); in xfs_ialloc_inode_init()
/linux-6.12.1/fs/xfs/scrub/
Dinode_repair.c184 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()
Dialloc_repair.c165 if (be16_to_cpu(dip->di_magic) != XFS_DINODE_MAGIC) in xrep_ibt_check_ifree()
Dialloc.c325 if (be16_to_cpu(dip->di_magic) != XFS_DINODE_MAGIC || in xchk_iallocbt_check_cluster_ifree()