Lines Matching defs:newtab
7908 nat_t **newtab[2], *nat, **natp;
7923 newtab[0] = NULL;
7924 newtab[1] = NULL;
7931 KMALLOCS(newtab[0], nat_t **, newsize * sizeof(nat_t *));
7932 if (newtab[0] == NULL) {
7937 KMALLOCS(newtab[1], nat_t **, newsize * sizeof(nat_t *));
7938 if (newtab[1] == NULL) {
7962 bzero((char *)newtab[0], newsize * sizeof(nat_t *));
7963 bzero((char *)newtab[1], newsize * sizeof(nat_t *));
7974 softn->ipf_nat_table[0] = newtab[0];
7981 softn->ipf_nat_table[1] = newtab[1];
8047 if (newtab[0] != NULL) {
8048 KFREES(newtab[0], newsize * sizeof(nat_t *));
8050 if (newtab[1] != NULL) {
8051 KFREES(newtab[1], newsize * sizeof(nat_t *));
8074 ipnat_t **newtab, *np, ***old, **npp;
8100 KMALLOCS(newtab, ipnat_t **, newsize * sizeof(ipnat_t *));
8101 if (newtab == NULL) {
8106 bzero((char *)newtab, newsize * sizeof(ipnat_t *));
8113 *old = newtab;
8123 for (npp = newtab + hv; *npp != NULL; )
8131 for (npp = newtab + hv; *npp != NULL; )
8159 hostmap_t *hm, **newtab;
8170 KMALLOCS(newtab, hostmap_t **, newsize * sizeof(hostmap_t *));
8171 if (newtab == NULL) {
8176 bzero((char *)newtab, newsize * sizeof(hostmap_t *));
8183 softn->ipf_hm_maptable = newtab;