Home
last modified time | relevance | path

Searched refs:initval (Results 1 – 7 of 7) sorted by relevance

/tools/include/linux/
Djhash.h70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() argument
76 a = b = c = JHASH_INITVAL + length + initval; in jhash()
117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() argument
122 a = b = c = JHASH_INITVAL + (length<<2) + initval; in jhash2()
149 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords() argument
151 a += initval; in __jhash_nwords()
152 b += initval; in __jhash_nwords()
153 c += initval; in __jhash_nwords()
160 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words() argument
162 return __jhash_nwords(a, b, c, initval + JHASH_INITVAL + (3 << 2)); in jhash_3words()
[all …]
/tools/testing/selftests/bpf/progs/
Dtest_l4lb_noinline.c53 static __noinline u32 jhash(const void *key, u32 length, u32 initval) in jhash() argument
58 a = b = c = JHASH_INITVAL + length + initval; in jhash()
89 static __noinline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords() argument
91 a += initval; in __jhash_nwords()
92 b += initval; in __jhash_nwords()
93 c += initval; in __jhash_nwords()
98 static __noinline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() argument
100 return __jhash_nwords(a, b, 0, initval + JHASH_INITVAL + (2 << 2)); in jhash_2words()
Dtest_l4lb.c59 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() argument
64 a = b = c = JHASH_INITVAL + length + initval; in jhash()
95 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords() argument
97 a += initval; in __jhash_nwords()
98 b += initval; in __jhash_nwords()
99 c += initval; in __jhash_nwords()
104 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() argument
106 return __jhash_nwords(a, b, 0, initval + JHASH_INITVAL + (2 << 2)); in jhash_2words()
Dtest_jhash.h36 u32 jhash(const void *key, u32 length, u32 initval) in jhash() argument
41 a = b = c = JHASH_INITVAL + length + initval; in jhash()
Dtest_xdp_noinline.c53 u32 jhash(const void *key, u32 length, u32 initval) in jhash() argument
58 a = b = c = JHASH_INITVAL + length + initval; in jhash()
90 u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords() argument
92 a += initval; in __jhash_nwords()
93 b += initval; in __jhash_nwords()
94 c += initval; in __jhash_nwords()
100 u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() argument
102 return __jhash_nwords(a, b, 0, initval + JHASH_INITVAL + (2 << 2)); in jhash_2words()
/tools/memory-model/Documentation/
Daccess-marking.txt482 void initialize_foo(int initval, int nkthreads)
486 foo = initval;
Dlitmus-tests.txt300 by defining another global variable "initval=42" and replacing all
301 occurrences of "42" with "initval". This will not, repeat *not*,
302 initialize "x" and "y" to 42, but instead to the address of "initval"