Lines Matching refs:ptr
68 void *ptr, in xfs_attr3_rmt_hdr_ok() argument
74 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_hdr_ok()
93 void *ptr, in xfs_attr3_rmt_verify() argument
97 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_verify()
123 char *ptr; in __xfs_attr3_rmt_read_verify() local
132 ptr = bp->b_addr; in __xfs_attr3_rmt_read_verify()
139 !xfs_verify_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF)) { in __xfs_attr3_rmt_read_verify()
143 *failaddr = xfs_attr3_rmt_verify(mp, bp, ptr, blksize, bno); in __xfs_attr3_rmt_read_verify()
147 ptr += blksize; in __xfs_attr3_rmt_read_verify()
189 char *ptr; in xfs_attr3_rmt_write_verify() local
197 ptr = bp->b_addr; in xfs_attr3_rmt_write_verify()
203 struct xfs_attr3_rmt_hdr *rmt = (struct xfs_attr3_rmt_hdr *)ptr; in xfs_attr3_rmt_write_verify()
205 fa = xfs_attr3_rmt_verify(mp, bp, ptr, blksize, bno); in xfs_attr3_rmt_write_verify()
219 xfs_update_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF); in xfs_attr3_rmt_write_verify()
222 ptr += blksize; in xfs_attr3_rmt_write_verify()
241 void *ptr, in xfs_attr3_rmt_hdr_set() argument
247 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_hdr_set()