Lines Matching refs:ptr
70 void *ptr, in xfs_attr3_rmt_hdr_ok() argument
76 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_hdr_ok()
94 void *ptr, in xfs_attr3_rmt_verify() argument
98 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_verify()
124 char *ptr; in xfs_attr3_rmt_read_verify() local
133 ptr = bp->b_addr; in xfs_attr3_rmt_read_verify()
139 if (!xfs_verify_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF)) { in xfs_attr3_rmt_read_verify()
143 if (!xfs_attr3_rmt_verify(mp, ptr, blksize, bno)) { in xfs_attr3_rmt_read_verify()
148 ptr += blksize; in xfs_attr3_rmt_read_verify()
164 char *ptr; in xfs_attr3_rmt_write_verify() local
172 ptr = bp->b_addr; in xfs_attr3_rmt_write_verify()
178 struct xfs_attr3_rmt_hdr *rmt = (struct xfs_attr3_rmt_hdr *)ptr; in xfs_attr3_rmt_write_verify()
180 if (!xfs_attr3_rmt_verify(mp, ptr, blksize, bno)) { in xfs_attr3_rmt_write_verify()
195 xfs_update_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF); in xfs_attr3_rmt_write_verify()
198 ptr += blksize; in xfs_attr3_rmt_write_verify()
213 void *ptr, in xfs_attr3_rmt_hdr_set() argument
219 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_hdr_set()