Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_attr_remote.c64 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_hdr_ok() local
66 if (bno != be64_to_cpu(rmt->rm_blkno)) in xfs_attr3_rmt_hdr_ok()
68 if (offset != be32_to_cpu(rmt->rm_offset)) in xfs_attr3_rmt_hdr_ok()
70 if (size != be32_to_cpu(rmt->rm_bytes)) in xfs_attr3_rmt_hdr_ok()
72 if (ino != be64_to_cpu(rmt->rm_owner)) in xfs_attr3_rmt_hdr_ok()
86 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_verify() local
90 if (rmt->rm_magic != cpu_to_be32(XFS_ATTR3_RMT_MAGIC)) in xfs_attr3_rmt_verify()
92 if (!uuid_equal(&rmt->rm_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_attr3_rmt_verify()
94 if (be64_to_cpu(rmt->rm_blkno) != bno) in xfs_attr3_rmt_verify()
96 if (be32_to_cpu(rmt->rm_bytes) > fsbsize - sizeof(*rmt)) in xfs_attr3_rmt_verify()
[all …]
/linux-4.19.296/include/linux/
Digmp.h123 extern int ip_mc_sf_allow(struct sock *sk, __be32 local, __be32 rmt,