Lines Matching defs:htab
4136 struct xfrm_policy_hash *htab;
4142 htab = &net->xfrm.policy_bydst[dir];
4143 htab->table = xfrm_hash_alloc(sz);
4144 if (!htab->table)
4146 htab->hmask = hmask;
4147 htab->dbits4 = 32;
4148 htab->sbits4 = 32;
4149 htab->dbits6 = 128;
4150 htab->sbits6 = 128;
4167 struct xfrm_policy_hash *htab;
4169 htab = &net->xfrm.policy_bydst[dir];
4170 xfrm_hash_free(htab->table, sz);
4192 struct xfrm_policy_hash *htab;
4196 htab = &net->xfrm.policy_bydst[dir];
4197 sz = (htab->hmask + 1) * sizeof(struct hlist_head);
4198 WARN_ON(!hlist_empty(htab->table));
4199 xfrm_hash_free(htab->table, sz);