Searched refs:initval (Results 1 – 7 of 7) sorted by relevance
/tools/include/linux/ |
D | jhash.h | 70 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/ |
D | test_l4lb_noinline.c | 53 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()
|
D | test_l4lb.c | 59 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()
|
D | test_jhash.h | 36 u32 jhash(const void *key, u32 length, u32 initval) in jhash() argument 41 a = b = c = JHASH_INITVAL + length + initval; in jhash()
|
D | test_xdp_noinline.c | 53 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/ |
D | access-marking.txt | 482 void initialize_foo(int initval, int nkthreads) 486 foo = initval;
|
D | litmus-tests.txt | 300 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"
|