Searched refs:softd (Results 1 – 2 of 2) sorted by relevance
63 ipf_dns_softc_t *softd; in ipf_p_dns_soft_create() local65 KMALLOC(softd, ipf_dns_softc_t *); in ipf_p_dns_soft_create()66 if (softd == NULL) in ipf_p_dns_soft_create()69 bzero((char *)softd, sizeof(*softd)); in ipf_p_dns_soft_create()70 RWLOCK_INIT(&softd->ipf_p_dns_rwlock, "ipf dns rwlock"); in ipf_p_dns_soft_create()72 return (softd); in ipf_p_dns_soft_create()79 ipf_dns_softc_t *softd = arg; in ipf_p_dns_soft_destroy() local82 while ((idns = softd->ipf_p_dns_list) != NULL) { in ipf_p_dns_soft_destroy()86 softd->ipf_p_dns_list = idns->idns_next; in ipf_p_dns_soft_destroy()89 RW_DESTROY(&softd->ipf_p_dns_rwlock); in ipf_p_dns_soft_destroy()[all …]
144 ipf_dstl_softc_t *softd; in ipf_dstlist_soft_create() local147 KMALLOC(softd, ipf_dstl_softc_t *); in ipf_dstlist_soft_create()148 if (softd == NULL) { in ipf_dstlist_soft_create()153 bzero((char *)softd, sizeof(*softd)); in ipf_dstlist_soft_create()155 softd->tails[i] = &softd->dstlist[i]; in ipf_dstlist_soft_create()157 return (softd); in ipf_dstlist_soft_create()173 ipf_dstl_softc_t *softd = arg; in ipf_dstlist_soft_destroy() local175 KFREE(softd); in ipf_dstlist_soft_destroy()205 ipf_dstl_softc_t *softd = arg; in ipf_dstlist_soft_fini() local209 while (softd->dstlist[i + 1] != NULL) { in ipf_dstlist_soft_fini()[all …]