Home
last modified time | relevance | path

Searched refs:cpu_to_zfs64 (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/fs/zfs/
Dzfs_fletcher.c49 zcp->zc_word[0] = cpu_to_zfs64(a0, endian); in fletcher_2_endian()
50 zcp->zc_word[1] = cpu_to_zfs64(a1, endian); in fletcher_2_endian()
51 zcp->zc_word[2] = cpu_to_zfs64(b0, endian); in fletcher_2_endian()
52 zcp->zc_word[3] = cpu_to_zfs64(b1, endian); in fletcher_2_endian()
70 zcp->zc_word[0] = cpu_to_zfs64(a, endian); in fletcher_4_endian()
71 zcp->zc_word[1] = cpu_to_zfs64(b, endian); in fletcher_4_endian()
72 zcp->zc_word[2] = cpu_to_zfs64(c, endian); in fletcher_4_endian()
73 zcp->zc_word[3] = cpu_to_zfs64(d, endian); in fletcher_4_endian()
Dzfs_sha256.c127 zcp->zc_word[0] = cpu_to_zfs64((uint64_t)H[0] << 32 | H[1], in zio_checksum_SHA256()
129 zcp->zc_word[1] = cpu_to_zfs64((uint64_t)H[2] << 32 | H[3], in zio_checksum_SHA256()
131 zcp->zc_word[2] = cpu_to_zfs64((uint64_t)H[4] << 32 | H[5], in zio_checksum_SHA256()
133 zcp->zc_word[3] = cpu_to_zfs64((uint64_t)H[6] << 32 | H[7], in zio_checksum_SHA256()
Dzfs.c373 zc.zc_word[0] = cpu_to_zfs64(offset, endian); in uberblock_verify()
/external/u-boot/include/
Dzfs_common.h49 #define cpu_to_zfs64(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be64(x) \ macro