Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_attr_remote.c74 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_hdr_ok() local
76 if (bno != be64_to_cpu(rmt->rm_blkno)) in xfs_attr3_rmt_hdr_ok()
78 if (offset != be32_to_cpu(rmt->rm_offset)) in xfs_attr3_rmt_hdr_ok()
80 if (size != be32_to_cpu(rmt->rm_bytes)) in xfs_attr3_rmt_hdr_ok()
82 if (ino != be64_to_cpu(rmt->rm_owner)) in xfs_attr3_rmt_hdr_ok()
97 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_verify() local
99 if (!xfs_verify_magic(bp, rmt->rm_magic)) in xfs_attr3_rmt_verify()
101 if (!uuid_equal(&rmt->rm_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_attr3_rmt_verify()
103 if (be64_to_cpu(rmt->rm_blkno) != bno) in xfs_attr3_rmt_verify()
105 if (be32_to_cpu(rmt->rm_bytes) > fsbsize - sizeof(*rmt)) in xfs_attr3_rmt_verify()
[all …]