state_hmask 45 include/net/netns/xfrm.h unsigned int state_hmask; state_hmask 64 net/xfrm/xfrm_state.c return __xfrm_dst_hash(daddr, saddr, reqid, family, net->xfrm.state_hmask); state_hmask 72 net/xfrm/xfrm_state.c return __xfrm_src_hash(daddr, saddr, family, net->xfrm.state_hmask); state_hmask 79 net/xfrm/xfrm_state.c return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask); state_hmask 113 net/xfrm/xfrm_state.c static unsigned long xfrm_hash_new_size(unsigned int state_hmask) state_hmask 115 net/xfrm/xfrm_state.c return ((state_hmask + 1) << 1) * sizeof(struct hlist_head); state_hmask 126 net/xfrm/xfrm_state.c nsize = xfrm_hash_new_size(net->xfrm.state_hmask); state_hmask 147 net/xfrm/xfrm_state.c for (i = net->xfrm.state_hmask; i >= 0; i--) state_hmask 152 net/xfrm/xfrm_state.c ohashmask = net->xfrm.state_hmask; state_hmask 157 net/xfrm/xfrm_state.c net->xfrm.state_hmask = nhashmask; state_hmask 705 net/xfrm/xfrm_state.c for (i = 0; i <= net->xfrm.state_hmask; i++) { state_hmask 725 net/xfrm/xfrm_state.c for (i = 0; i <= net->xfrm.state_hmask; i++) { state_hmask 766 net/xfrm/xfrm_state.c for (i = 0; i <= net->xfrm.state_hmask; i++) { state_hmask 809 net/xfrm/xfrm_state.c for (i = 0; i <= net->xfrm.state_hmask; i++) { state_hmask 845 net/xfrm/xfrm_state.c si->sadhcnt = net->xfrm.state_hmask + 1; state_hmask 996 net/xfrm/xfrm_state.c (net->xfrm.state_hmask + 1) < xfrm_state_hashmax && state_hmask 997 net/xfrm/xfrm_state.c net->xfrm.state_num > net->xfrm.state_hmask) state_hmask 1901 net/xfrm/xfrm_state.c for (i = 0; i <= net->xfrm.state_hmask; i++) { state_hmask 2552 net/xfrm/xfrm_state.c net->xfrm.state_hmask = ((sz / sizeof(struct hlist_head)) - 1); state_hmask 2577 net/xfrm/xfrm_state.c sz = (net->xfrm.state_hmask + 1) * sizeof(struct hlist_head);