Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_hash.h59 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()
/net/sunrpc/xprtrdma/
Dtransport.c448 unsigned long initval; in xprt_rdma_set_connect_timeout() local
451 initval = connect_timeout; in xprt_rdma_set_connect_timeout()
452 if (initval < RPCRDMA_INIT_REEST_TO << 1) in xprt_rdma_set_connect_timeout()
453 initval = RPCRDMA_INIT_REEST_TO << 1; in xprt_rdma_set_connect_timeout()
454 to.to_initval = initval; in xprt_rdma_set_connect_timeout()
455 to.to_maxval = initval; in xprt_rdma_set_connect_timeout()
/net/netfilter/ipset/
Dip_set_hash_gen.h279 #define HKEY(data, initval, htable_bits) \ argument
286 jhash2(__k, __l, initval) & jhash_mask(htable_bits); \
294 u32 initval; /* random jhash init value */ member
702 key = HKEY(data, h->initval, htable_bits); in mtype_resize()
853 key = HKEY(value, h->initval, t->htable_bits); in mtype_add()
1051 key = HKEY(value, h->initval, t->htable_bits); in mtype_del()
1186 key = HKEY(d, h->initval, t->htable_bits); in mtype_test_cidrs()
1240 key = HKEY(d, h->initval, t->htable_bits); in mtype_test()
1310 nla_put_net32(skb, IPSET_ATTR_INITVAL, htonl(h->initval))) in mtype_head()
1590 h->initval = ntohl(nla_get_be32(tb[IPSET_ATTR_INITVAL])); in IPSET_TOKEN()
[all …]
/net/netfilter/ipvs/
Dip_vs_pe_sip.c136 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()
/net/sunrpc/
Dxprtsock.c2282 unsigned long initval; in xs_tcp_do_set_connect_timeout() local
2286 initval = max_t(unsigned long, connect_timeout, XS_TCP_INIT_REEST_TO); in xs_tcp_do_set_connect_timeout()
2287 to.to_initval = initval; in xs_tcp_do_set_connect_timeout()
2288 to.to_maxval = initval; in xs_tcp_do_set_connect_timeout()