Home
last modified time | relevance | path

Searched refs:h32 (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/lib/
H A Dxxhash.c106 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 …]
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_compat.c579 static struct nlmsghdr *xfrm_user_rcv_msg_compat(const struct nlmsghdr *h32, in xfrm_user_rcv_msg_compat() argument
584 u16 type = h32->nlmsg_type - XFRM_MSG_BASE; in xfrm_user_rcv_msg_compat()
596 if ((h32->nlmsg_type == XFRM_MSG_GETSA || in xfrm_user_rcv_msg_compat()
597 h32->nlmsg_type == XFRM_MSG_GETPOLICY) && in xfrm_user_rcv_msg_compat()
598 (h32->nlmsg_flags & NLM_F_DUMP)) in xfrm_user_rcv_msg_compat()
601 err = nlmsg_parse_deprecated(h32, compat_msg_min[type], attrs, in xfrm_user_rcv_msg_compat()
606 len = xfrm_user_rcv_calculate_len64(h32, attrs, maxtype); in xfrm_user_rcv_msg_compat()
608 if (len == nlmsg_len(h32)) in xfrm_user_rcv_msg_compat()
616 err = xfrm_xlate32(h64, h32, attrs, len, type, maxtype, extack); in xfrm_user_rcv_msg_compat()
/OK3568_Linux_fs/kernel/lib/zstd/
H A Ddecompress.c1838 U32 const h32 = (U32)xxh64_digest(&dctx->xxhState); in ZSTD_decompressContinue() local
1840 if (check32 != h32) in ZSTD_decompressContinue()