Lines Matching defs:htab
4085 struct xfrm_policy_hash *htab;
4091 htab = &net->xfrm.policy_bydst[dir];
4092 htab->table = xfrm_hash_alloc(sz);
4093 if (!htab->table)
4095 htab->hmask = hmask;
4096 htab->dbits4 = 32;
4097 htab->sbits4 = 32;
4098 htab->dbits6 = 128;
4099 htab->sbits6 = 128;
4116 struct xfrm_policy_hash *htab;
4118 htab = &net->xfrm.policy_bydst[dir];
4119 xfrm_hash_free(htab->table, sz);
4141 struct xfrm_policy_hash *htab;
4145 htab = &net->xfrm.policy_bydst[dir];
4146 sz = (htab->hmask + 1) * sizeof(struct hlist_head);
4147 WARN_ON(!hlist_empty(htab->table));
4148 xfrm_hash_free(htab->table, sz);