Lines Matching defs:htab
4183 struct xfrm_policy_hash *htab;
4189 htab = &net->xfrm.policy_bydst[dir];
4190 htab->table = xfrm_hash_alloc(sz);
4191 if (!htab->table)
4193 htab->hmask = hmask;
4194 htab->dbits4 = 32;
4195 htab->sbits4 = 32;
4196 htab->dbits6 = 128;
4197 htab->sbits6 = 128;
4214 struct xfrm_policy_hash *htab;
4216 htab = &net->xfrm.policy_bydst[dir];
4217 xfrm_hash_free(htab->table, sz);
4239 struct xfrm_policy_hash *htab;
4243 htab = &net->xfrm.policy_bydst[dir];
4244 sz = (htab->hmask + 1) * sizeof(struct hlist_head);
4245 WARN_ON(!hlist_empty(htab->table));
4246 xfrm_hash_free(htab->table, sz);