Deleted Added
full compact
jhash.h (289644) jhash.h (290135)
1#ifndef _LINUX_JHASH_H_
2#define _LINUX_JHASH_H_
3
4/* jhash.h: Jenkins hash support.
5 *
6 * Copyright (C) 1996 Bob Jenkins (bob_jenkins@burtleburtle.net)
7 *
8 * http://burtleburtle.net/bob/hash/

--- 5 unchanged lines hidden (view full) ---

14 * Routines to test the hash are included if SELF_TEST is defined.
15 * You can use this free for any purpose. It has no warranty.
16 *
17 * Copyright (C) 2003 David S. Miller (davem@redhat.com)
18 *
19 * I've modified Bob's hash to be useful in the Linux kernel, and
20 * any bugs present are surely my fault. -DaveM
21 *
1#ifndef _LINUX_JHASH_H_
2#define _LINUX_JHASH_H_
3
4/* jhash.h: Jenkins hash support.
5 *
6 * Copyright (C) 1996 Bob Jenkins (bob_jenkins@burtleburtle.net)
7 *
8 * http://burtleburtle.net/bob/hash/

--- 5 unchanged lines hidden (view full) ---

14 * Routines to test the hash are included if SELF_TEST is defined.
15 * You can use this free for any purpose. It has no warranty.
16 *
17 * Copyright (C) 2003 David S. Miller (davem@redhat.com)
18 *
19 * I've modified Bob's hash to be useful in the Linux kernel, and
20 * any bugs present are surely my fault. -DaveM
21 *
22 * $FreeBSD: head/sys/ofed/include/linux/jhash.h 289644 2015-10-20 19:08:26Z hselasky $
22 * $FreeBSD: head/sys/compat/linuxkpi/common/include/linux/jhash.h 290135 2015-10-29 08:28:39Z hselasky $
23 */
24
25/* NOTE: Arguments are modified. */
26#define __jhash_mix(a, b, c) \
27{ \
28 a -= b; a -= c; a ^= (c>>13); \
29 b -= c; b -= a; b ^= (a<<8); \
30 c -= a; c -= b; c ^= (b>>13); \

--- 115 unchanged lines hidden ---
23 */
24
25/* NOTE: Arguments are modified. */
26#define __jhash_mix(a, b, c) \
27{ \
28 a -= b; a -= c; a ^= (c>>13); \
29 b -= c; b -= a; b ^= (a<<8); \
30 c -= a; c -= b; c ^= (b>>13); \

--- 115 unchanged lines hidden ---