Lines Matching defs:softh

144 	ipf_htable_softc_t *softh;
146 KMALLOC(softh, ipf_htable_softc_t *);
147 if (softh == NULL) {
152 bzero((char *)softh, sizeof(*softh));
154 return softh;
172 ipf_htable_softc_t *softh = arg;
174 KFREE(softh);
191 ipf_htable_softc_t *softh = arg;
193 bzero((char *)softh, sizeof(*softh));
242 ipf_htable_softc_t *softh = arg;
251 stats.iphs_tables = softh->ipf_htables[op->iplo_unit + 1];
252 stats.iphs_numtables = softh->ipf_nhtables[op->iplo_unit + 1];
253 stats.iphs_numnodes = softh->ipf_nhtnodes[op->iplo_unit + 1];
254 stats.iphs_nomem = softh->ipht_nomem[op->iplo_unit + 1];
281 ipf_htable_softc_t *softh = arg;
308 iph = ipf_htable_exists(softh, unit, op->iplo_name);
322 softh->ipht_nomem[op->iplo_unit + 1]++;
337 for (oiph = softh->ipf_htables[unit + 1]; oiph != NULL;
357 softh->ipht_nomem[unit + 1]++;
371 iph->iph_next = softh->ipf_htables[unit + 1];
372 iph->iph_pnext = &softh->ipf_htables[unit + 1];
373 if (softh->ipf_htables[unit + 1] != NULL)
374 softh->ipf_htables[unit + 1]->iph_pnext = &iph->iph_next;
375 softh->ipf_htables[unit + 1] = iph;
377 softh->ipf_nhtables[unit + 1]++;
482 ipf_htable_softc_t *softh = arg;
491 softh->ipf_nhtables[iph->iph_unit + 1]--;
682 ipf_htable_softc_t *softh = arg;
690 ipf_htable_free(softh, iph);
708 ipf_htable_softc_t *softh = arg;
712 softh->ipf_nhtnodes[ipe->ipe_unit + 1]--;
733 ipf_htable_softc_t *softh = arg;
740 for (iph = softh->ipf_htables[i]; iph != NULL;
750 for (iph = softh->ipf_htables[unit + 1]; iph != NULL;
824 ipf_htable_softc_t *softh = arg;
833 while ((iph = softh->ipf_htables[i + 1]) != NULL) {
913 ipf_htable_softc_t *softh = arg;
976 for (n = softh->ipf_node_explist; n != NULL; n = n->ipe_dnext) {
992 if (softh->ipf_node_explist == NULL) {
993 softh->ipf_node_explist = ipe;
994 ipe->ipe_pdnext = &softh->ipf_node_explist;
1026 softh->ipf_nhtnodes[ipe->ipe_unit + 1]++;
1234 ipf_htable_softc_t *softh = arg;
1253 nextiph = softh->ipf_htables[(int)ilp->ili_unit + 1];
1316 ipf_htable_deref(softc, softh, iph);
1434 ipf_htable_softc_t *softh = arg;
1437 while ((n = softh->ipf_node_explist) != NULL) {
1441 ipf_htent_remove(softc, softh, n->ipe_owner, n);
1456 ipf_htable_softc_t *softh = arg;
1462 for (iph = softh->ipf_htables[i]; iph != NULL;