Lines Matching defs:htab
4232 struct xfrm_policy_hash *htab;
4237 htab = &net->xfrm.policy_bydst[dir];
4238 htab->table = xfrm_hash_alloc(sz);
4239 if (!htab->table)
4241 htab->hmask = hmask;
4242 htab->dbits4 = 32;
4243 htab->sbits4 = 32;
4244 htab->dbits6 = 128;
4245 htab->sbits6 = 128;
4262 struct xfrm_policy_hash *htab;
4264 htab = &net->xfrm.policy_bydst[dir];
4265 xfrm_hash_free(htab->table, sz);
4287 struct xfrm_policy_hash *htab;
4289 htab = &net->xfrm.policy_bydst[dir];
4290 sz = (htab->hmask + 1) * sizeof(struct hlist_head);
4291 WARN_ON(!hlist_empty(htab->table));
4292 xfrm_hash_free(htab->table, sz);