Lines Matching refs:newtab
7907 nat_t **newtab[2], *nat, **natp;
7922 newtab[0] = NULL;
7923 newtab[1] = NULL;
7930 KMALLOCS(newtab[0], nat_t **, newsize * sizeof(nat_t *));
7931 if (newtab[0] == NULL) {
7936 KMALLOCS(newtab[1], nat_t **, newsize * sizeof(nat_t *));
7937 if (newtab[1] == NULL) {
7961 bzero((char *)newtab[0], newsize * sizeof(nat_t *));
7962 bzero((char *)newtab[1], newsize * sizeof(nat_t *));
7973 softn->ipf_nat_table[0] = newtab[0];
7980 softn->ipf_nat_table[1] = newtab[1];
8046 if (newtab[0] != NULL) {
8047 KFREES(newtab[0], newsize * sizeof(nat_t *));
8049 if (newtab[1] != NULL) {
8050 KFREES(newtab[1], newsize * sizeof(nat_t *));
8073 ipnat_t **newtab, *np, ***old, **npp;
8099 KMALLOCS(newtab, ipnat_t **, newsize * sizeof(ipnat_t *));
8100 if (newtab == NULL) {
8105 bzero((char *)newtab, newsize * sizeof(ipnat_t *));
8112 *old = newtab;
8122 for (npp = newtab + hv; *npp != NULL; )
8130 for (npp = newtab + hv; *npp != NULL; )
8158 hostmap_t *hm, **newtab;
8169 KMALLOCS(newtab, hostmap_t **, newsize * sizeof(hostmap_t *));
8170 if (newtab == NULL) {
8175 bzero((char *)newtab, newsize * sizeof(hostmap_t *));
8182 softn->ipf_hm_maptable = newtab;