Lines Matching refs:ptr
50 void *ptr, in xfs_attr3_rmt_hdr_ok() argument
56 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_hdr_ok()
75 void *ptr, in xfs_attr3_rmt_verify() argument
79 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_verify()
107 char *ptr; in __xfs_attr3_rmt_read_verify() local
116 ptr = bp->b_addr; in __xfs_attr3_rmt_read_verify()
123 !xfs_verify_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF)) { in __xfs_attr3_rmt_read_verify()
127 *failaddr = xfs_attr3_rmt_verify(mp, bp, ptr, blksize, bno); in __xfs_attr3_rmt_read_verify()
131 ptr += blksize; in __xfs_attr3_rmt_read_verify()
173 char *ptr; in xfs_attr3_rmt_write_verify() local
181 ptr = bp->b_addr; in xfs_attr3_rmt_write_verify()
187 struct xfs_attr3_rmt_hdr *rmt = (struct xfs_attr3_rmt_hdr *)ptr; in xfs_attr3_rmt_write_verify()
189 fa = xfs_attr3_rmt_verify(mp, bp, ptr, blksize, bno); in xfs_attr3_rmt_write_verify()
203 xfs_update_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF); in xfs_attr3_rmt_write_verify()
206 ptr += blksize; in xfs_attr3_rmt_write_verify()
225 void *ptr, in xfs_attr3_rmt_hdr_set() argument
231 struct xfs_attr3_rmt_hdr *rmt = ptr; in xfs_attr3_rmt_hdr_set()