/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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() 150 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords() argument 152 a += initval; in __jhash_nwords() 153 b += initval; in __jhash_nwords() 154 c += initval; in __jhash_nwords() 161 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words() argument 163 return __jhash_nwords(a, b, c, initval + JHASH_INITVAL + (3 << 2)); in jhash_3words() [all …]
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_queue.h | 49 static inline u32 hash_v4(const struct iphdr *iph, u32 initval) in hash_v4() argument 54 (__force u32)iph->daddr, iph->protocol, initval); in hash_v4() 57 (__force u32)iph->saddr, iph->protocol, initval); in hash_v4() 60 static inline u32 hash_v6(const struct ipv6hdr *ip6h, u32 initval) in hash_v6() argument 79 return jhash_3words(a, b, c, initval); in hash_v6() 82 static inline u32 hash_bridge(const struct sk_buff *skb, u32 initval) in hash_bridge() argument 92 return hash_v4(iph, initval); in hash_bridge() 98 return hash_v6(ip6h, initval); in hash_bridge() 107 u32 initval) in nfqueue_hash() argument 111 queue += reciprocal_scale(hash_v4(ip_hdr(skb), initval), in nfqueue_hash() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | hash_func01.h | 10 __u32 SuperFastHash (const char *data, int len, __u32 initval) { in SuperFastHash() argument 11 __u32 hash = initval; in SuperFastHash()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_hash.h | 59 u32 initval = 0; in __xfrm6_pref_hash() local 69 initval = (__force u32)(addr->a6[pdw] & mask); in __xfrm6_pref_hash() 72 return jhash2((__force u32 *)addr->a6, pdw, initval); in __xfrm6_pref_hash()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | transport.c | 455 unsigned long initval; in xprt_rdma_set_connect_timeout() local 458 initval = connect_timeout; in xprt_rdma_set_connect_timeout() 459 if (initval < RPCRDMA_INIT_REEST_TO << 1) in xprt_rdma_set_connect_timeout() 460 initval = RPCRDMA_INIT_REEST_TO << 1; in xprt_rdma_set_connect_timeout() 461 to.to_initval = initval; in xprt_rdma_set_connect_timeout() 462 to.to_maxval = initval; in xprt_rdma_set_connect_timeout()
|
/kernel/linux/linux-5.10/include/net/ |
D | inet6_hashtables.h | 31 const u32 initval) in __inet6_ehashfn() argument 34 return jhash_3words(lhash, fhash, ports, initval); in __inet6_ehashfn()
|
D | inet_sock.h | 344 u32 initval) in __inet_ehashfn() argument 349 initval); in __inet_ehashfn()
|
D | ipv6.h | 664 static inline u32 __ipv6_addr_jhash(const struct in6_addr *a, const u32 initval) in __ipv6_addr_jhash() argument 667 ARRAY_SIZE(a->s6_addr32), initval); in __ipv6_addr_jhash()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/ |
D | ninet_hashtables.h | 38 const u32 initval) in __ninet_ehashfn() argument 42 return jhash_3words(lhash, fhash, ports, initval); in __ninet_ehashfn()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_pe_sip.c | 136 u32 initval, bool inverse) in ip_vs_sip_hashkey_raw() argument 138 return jhash(p->pe_data, p->pe_data_len, initval); in ip_vs_sip_hashkey_raw()
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 291 #define HKEY(data, initval, htable_bits) \ argument 298 jhash2(__k, __l, initval) & jhash_mask(htable_bits); \ 306 u32 initval; /* random jhash init value */ member 709 key = HKEY(data, h->initval, htable_bits); in mtype_resize() 860 key = HKEY(value, h->initval, t->htable_bits); in mtype_add() 1053 key = HKEY(value, h->initval, t->htable_bits); in mtype_del() 1188 key = HKEY(d, h->initval, t->htable_bits); in mtype_test_cidrs() 1242 key = HKEY(d, h->initval, t->htable_bits); in mtype_test() 1544 get_random_bytes(&h->initval, sizeof(h->initval)); in IPSET_TOKEN()
|
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-bm1880.c | 93 u32 initval; member 190 .div.initval = _initval, \ 599 val = div->initval; in bm1880_clk_div_recalc_rate() 815 div_hws->div.initval = clks->div_initval; in bm1880_clk_register_composite()
|
/kernel/linux/linux-5.10/drivers/iio/proximity/ |
D | sx9310.c | 826 const struct sx9310_reg_default *initval; in sx9310_init_device() local 843 initval = &sx9310_default_regs[i]; in sx9310_init_device() 844 ret = regmap_write(data->regmap, initval->reg, initval->def); in sx9310_init_device()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
D | phy_g.h | 185 u16 initval; //FIXME rename? member
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | ninet_hashtables.c | 119 static u32 __nip_addr_jhash(const struct nip_addr *a, const u32 initval) in __nip_addr_jhash() argument 126 initval); in __nip_addr_jhash()
|
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
D | file.c | 628 int os_eventfd(unsigned int initval, int flags) in os_eventfd() argument 630 int fd = eventfd(initval, flags); in os_eventfd()
|
/kernel/linux/linux-5.10/arch/um/include/shared/ |
D | os.h | 181 extern int os_eventfd(unsigned int initval, int flags);
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | xprtsock.c | 2165 unsigned long initval; in xs_tcp_set_connect_timeout() local 2172 initval = DIV_ROUND_UP(connect_timeout, to.to_retries + 1); in xs_tcp_set_connect_timeout() 2174 if (initval < XS_TCP_INIT_REEST_TO << 1) in xs_tcp_set_connect_timeout() 2175 initval = XS_TCP_INIT_REEST_TO << 1; in xs_tcp_set_connect_timeout() 2176 to.to_initval = initval; in xs_tcp_set_connect_timeout() 2177 to.to_maxval = initval; in xs_tcp_set_connect_timeout()
|
/kernel/linux/linux-5.10/drivers/net/dsa/ |
D | vitesse-vsc73xx-core.c | 719 u32 initval) in vsc73xx_adjust_enable_port() argument 721 u32 val = initval; in vsc73xx_adjust_enable_port()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
D | b43legacy.h | 508 u16 initval; member
|