Searched refs:state_hmask (Results 1 – 2 of 2) sorted by relevance
/linux/net/xfrm/ |
H A D | xfrm_state.c | 65 return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); in xfrm_dst_hash() 73 return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); in xfrm_src_hash() 80 return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); in xfrm_spi_hash() 85 return __xfrm_seq_hash(seq, net->xfrm.state_hmask); in xfrm_seq_hash() 146 static unsigned long xfrm_hash_new_size(unsigned int state_hmask) in xfrm_hash_new_size() argument 148 return ((state_hmask + 1) << 1) * sizeof(struct hlist_head); in xfrm_hash_new_size() 159 nsize = xfrm_hash_new_size(net->xfrm.state_hmask); in xfrm_hash_resize() 187 for (i = net->xfrm.state_hmask; i >= 0; i--) in xfrm_hash_resize() 193 ohashmask = net->xfrm.state_hmask; in xfrm_hash_resize() 199 net->xfrm.state_hmask = nhashmask; in xfrm_hash_resize() [all …]
|
/linux/include/net/netns/ |
H A D | xfrm.h | 46 unsigned int state_hmask; member
|