Go to the source code of this file.
◆ JHASH_INITVAL
#define JHASH_INITVAL 0xdeadbeef |
◆ OSMO_JHASH_FINAL
#define OSMO_JHASH_FINAL |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value:{ \
}
struct abis_rsl_common_hdr c
static uint32_t osmo_rol32(uint32_t word, unsigned int shift)
rol32 - rotate a 32-bit value left @word: value to rotate @shift: bits to roll
Definition: jhash.h:14
◆ OSMO_JHASH_MIX
#define OSMO_JHASH_MIX |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
◆ __attribute__()
◆ osmo_get_unaligned_cpu32()
static uint32_t osmo_get_unaligned_cpu32 |
( |
const void * |
p | ) |
|
|
inlinestatic |
◆ osmo_jhash()
static uint32_t osmo_jhash |
( |
const void * |
key, |
|
|
uint32_t |
length, |
|
|
uint32_t |
initval |
|
) |
| |
|
inlinestatic |
◆ osmo_jhash2()
static uint32_t osmo_jhash2 |
( |
const uint32_t * |
k, |
|
|
uint32_t |
length, |
|
|
uint32_t |
initval |
|
) |
| |
|
inlinestatic |
◆ osmo_rol32()
static uint32_t osmo_rol32 |
( |
uint32_t |
word, |
|
|
unsigned int |
shift |
|
) |
| |
|
inlinestatic |
rol32 - rotate a 32-bit value left @word: value to rotate @shift: bits to roll
Referenced by __attribute__(), leading_bits(), osmo_base64_decode(), osmo_bit_reversal(), osmo_constant_time_cmp(), osmo_isqrt32(), osmo_revbytebits_32(), osmo_revbytebits_8(), osmo_store16be(), osmo_store16be_ext(), osmo_store16le(), osmo_store16le_ext(), osmo_store32be(), osmo_store32be_ext(), osmo_store32le(), osmo_store32le_ext(), osmo_store64be(), osmo_store64be_ext(), osmo_store64le(), and osmo_store64le_ext().