Lines Matching refs:val64
759 uint64_t val64; in zio_crypt_encode_params_bp() local
770 bcopy(salt, &val64, sizeof (uint64_t)); in zio_crypt_encode_params_bp()
771 bp->blk_dva[2].dva_word[0] = BSWAP_64(val64); in zio_crypt_encode_params_bp()
773 bcopy(iv, &val64, sizeof (uint64_t)); in zio_crypt_encode_params_bp()
774 bp->blk_dva[2].dva_word[1] = BSWAP_64(val64); in zio_crypt_encode_params_bp()
784 uint64_t val64; in zio_crypt_decode_params_bp() local
803 val64 = BSWAP_64(bp->blk_dva[2].dva_word[0]); in zio_crypt_decode_params_bp()
804 bcopy(&val64, salt, sizeof (uint64_t)); in zio_crypt_decode_params_bp()
806 val64 = BSWAP_64(bp->blk_dva[2].dva_word[1]); in zio_crypt_decode_params_bp()
807 bcopy(&val64, iv, sizeof (uint64_t)); in zio_crypt_decode_params_bp()
817 uint64_t val64; in zio_crypt_encode_mac_bp() local
827 bcopy(mac, &val64, sizeof (uint64_t)); in zio_crypt_encode_mac_bp()
828 bp->blk_cksum.zc_word[2] = BSWAP_64(val64); in zio_crypt_encode_mac_bp()
830 bcopy(mac + sizeof (uint64_t), &val64, sizeof (uint64_t)); in zio_crypt_encode_mac_bp()
831 bp->blk_cksum.zc_word[3] = BSWAP_64(val64); in zio_crypt_encode_mac_bp()
838 uint64_t val64; in zio_crypt_decode_mac_bp() local
853 val64 = BSWAP_64(bp->blk_cksum.zc_word[2]); in zio_crypt_decode_mac_bp()
854 bcopy(&val64, mac, sizeof (uint64_t)); in zio_crypt_decode_mac_bp()
856 val64 = BSWAP_64(bp->blk_cksum.zc_word[3]); in zio_crypt_decode_mac_bp()
857 bcopy(&val64, mac + sizeof (uint64_t), sizeof (uint64_t)); in zio_crypt_decode_mac_bp()