Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/fs/zfs/
H A Dzfs_fletcher.c37 zio_cksum_t *zcp) in fletcher_2_endian() argument
50 zcp->zc_word[0] = cpu_to_zfs64(a0, endian); in fletcher_2_endian()
51 zcp->zc_word[1] = cpu_to_zfs64(a1, endian); in fletcher_2_endian()
52 zcp->zc_word[2] = cpu_to_zfs64(b0, endian); in fletcher_2_endian()
53 zcp->zc_word[3] = cpu_to_zfs64(b1, endian); in fletcher_2_endian()
58 zio_cksum_t *zcp) in fletcher_4_endian() argument
71 zcp->zc_word[0] = cpu_to_zfs64(a, endian); in fletcher_4_endian()
72 zcp->zc_word[1] = cpu_to_zfs64(b, endian); in fletcher_4_endian()
73 zcp->zc_word[2] = cpu_to_zfs64(c, endian); in fletcher_4_endian()
74 zcp->zc_word[3] = cpu_to_zfs64(d, endian); in fletcher_4_endian()
H A Dzfs_sha256.c105 zfs_endian_t endian, zio_cksum_t *zcp) in zio_checksum_SHA256() argument
128 zcp->zc_word[0] = cpu_to_zfs64((uint64_t)H[0] << 32 | H[1], in zio_checksum_SHA256()
130 zcp->zc_word[1] = cpu_to_zfs64((uint64_t)H[2] << 32 | H[3], in zio_checksum_SHA256()
132 zcp->zc_word[2] = cpu_to_zfs64((uint64_t)H[4] << 32 | H[5], in zio_checksum_SHA256()
134 zcp->zc_word[3] = cpu_to_zfs64((uint64_t)H[6] << 32 | H[7], in zio_checksum_SHA256()
H A Dzfs.c239 zio_cksum_t *zcp) in zio_checksum_off() argument
241 ZIO_SET_CHECKSUM(zcp, 0, 0, 0, 0); in zio_checksum_off()
/OK3568_Linux_fs/u-boot/include/zfs/
H A Dspa.h245 #define ZIO_SET_CHECKSUM(zcp, w0, w1, w2, w3) \ argument
247 (zcp)->zc_word[0] = w0; \
248 (zcp)->zc_word[1] = w1; \
249 (zcp)->zc_word[2] = w2; \
250 (zcp)->zc_word[3] = w3; \
H A Dzio_checksum.h19 zfs_endian_t endian, zio_cksum_t *zcp);