Searched refs:h32 (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/lib/ |
D | xxhash.c | 106 uint32_t h32; in xxh32() local 126 h32 = xxh_rotl32(v1, 1) + xxh_rotl32(v2, 7) + in xxh32() 129 h32 = seed + PRIME32_5; in xxh32() 132 h32 += (uint32_t)len; in xxh32() 135 h32 += get_unaligned_le32(p) * PRIME32_3; in xxh32() 136 h32 = xxh_rotl32(h32, 17) * PRIME32_4; in xxh32() 141 h32 += (*p) * PRIME32_5; in xxh32() 142 h32 = xxh_rotl32(h32, 11) * PRIME32_1; in xxh32() 146 h32 ^= h32 >> 15; in xxh32() 147 h32 *= PRIME32_2; in xxh32() [all …]
|
/linux-6.12.1/net/xfrm/ |
D | xfrm_compat.c | 588 static struct nlmsghdr *xfrm_user_rcv_msg_compat(const struct nlmsghdr *h32, in xfrm_user_rcv_msg_compat() argument 593 u16 type = h32->nlmsg_type - XFRM_MSG_BASE; in xfrm_user_rcv_msg_compat() 605 if ((h32->nlmsg_type == XFRM_MSG_GETSA || in xfrm_user_rcv_msg_compat() 606 h32->nlmsg_type == XFRM_MSG_GETPOLICY) && in xfrm_user_rcv_msg_compat() 607 (h32->nlmsg_flags & NLM_F_DUMP)) in xfrm_user_rcv_msg_compat() 610 err = nlmsg_parse_deprecated(h32, compat_msg_min[type], attrs, in xfrm_user_rcv_msg_compat() 615 len = xfrm_user_rcv_calculate_len64(h32, attrs, maxtype); in xfrm_user_rcv_msg_compat() 617 if (len == nlmsg_len(h32)) in xfrm_user_rcv_msg_compat() 625 err = xfrm_xlate32(h64, h32, attrs, len, type, maxtype, extack); in xfrm_user_rcv_msg_compat()
|
/linux-6.12.1/lib/zstd/decompress/ |
D | zstd_decompress.c | 1239 U32 const h32 = (U32)xxh64_digest(&dctx->xxhState); in ZSTD_decompressContinue() local 1241 …TD_decompressContinue: checksum : calculated %08X :: %08X read", (unsigned)h32, (unsigned)check32); in ZSTD_decompressContinue() 1242 RETURN_ERROR_IF(check32 != h32, checksum_wrong, ""); in ZSTD_decompressContinue()
|