Lines Matching refs:key
184 net_flowhash_mh3_x86_32(const void *key, u_int32_t len, const u_int32_t seed)
186 const u_int8_t *data = (const u_int8_t *)key;
242 net_flowhash_mh3_x64_128(const void *key, u_int32_t len, const u_int32_t seed)
244 const u_int8_t *data = (const u_int8_t *)key;
381 net_flowhash_jhash(const void *key, u_int32_t len, const u_int32_t seed)
388 if (ALIGNED32(key)) {
390 const u_int32_t *k = (const u_int32_t *)key;
486 /* need to read the key one byte at a time */
487 const u_int8_t *k = (const u_int8_t *)key;
561 net_flowhash_jhash(const void *key, u_int32_t len, const u_int32_t seed)
570 * On i386/x86_64, it is faster to read 32-bit chunks if the key
574 if (ALIGNED32(key) || !ALIGNED16(key)) {
576 if (ALIGNED32(key)) {
579 const u_int32_t *k = (const u_int32_t *)key;
675 else if (ALIGNED16(key)) {
678 const u_int16_t *k = (const u_int16_t *)key;
754 /* need to read the key one byte at a time */
755 const u_int8_t *k = (const u_int8_t *)key;