#include <linux/bitops.h>
#include <linux/unaligned/packed_struct.h>
Go to the source code of this file.
#define __jhash_final |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value:{ \
c ^=
b;
c -= rol32(
b, 14); \
a ^=
c;
a -= rol32(
c, 11); \
b ^=
a;
b -= rol32(
a, 25); \
c ^=
b;
c -= rol32(
b, 16); \
a ^=
c;
a -= rol32(
c, 4); \
b ^=
a;
b -= rol32(
a, 14); \
c ^=
b;
c -= rol32(
b, 24); \
}
Definition at line 46 of file jhash.h.
#define __jhash_mix |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value:{ \
a -=
c;
a ^= rol32(
c, 4);
c +=
b; \
b -=
a;
b ^= rol32(
a, 6);
a +=
c; \
c -=
b;
c ^= rol32(
b, 8);
b +=
a; \
a -=
c;
a ^= rol32(
c, 16);
c +=
b; \
b -=
a;
b ^= rol32(
a, 19);
a +=
c; \
c -=
b;
c ^= rol32(
b, 4);
b +=
a; \
}
Definition at line 35 of file jhash.h.
#define JHASH_INITVAL 0xdeadbeef |
#define jhash_size |
( |
|
n | ) |
((u32)1<<(n)) |