Lines Matching refs:isn
612 ipstate_t *is, *isn;
620 isn = ips.ips_next;
621 if (isn == NULL) {
622 isn = ifs->ifs_ips_list;
623 if (isn == NULL) {
635 if (is == isn)
640 ips.ips_next = isn->is_next;
641 bcopy((char *)isn, (char *)&ips.ips_is, sizeof(ips.ips_is));
642 ips.ips_rule = isn->is_rule;
643 if (isn->is_rule != NULL)
644 bcopy((char *)isn->is_rule, (char *)&ips.ips_fr,
668 ipstate_t *is, *isn;
694 KMALLOC(isn, ipstate_t *);
695 if (isn == NULL)
698 bcopy((char *)&ips.ips_is, (char *)isn, sizeof(*isn));
699 bzero((char *)isn, offsetof(struct ipstate, is_pkts));
700 isn->is_sti.tqe_pnext = NULL;
701 isn->is_sti.tqe_next = NULL;
702 isn->is_sti.tqe_ifq = NULL;
703 isn->is_sti.tqe_parent = isn;
704 isn->is_ifp[0] = NULL;
705 isn->is_ifp[1] = NULL;
706 isn->is_ifp[2] = NULL;
707 isn->is_ifp[3] = NULL;
708 isn->is_sync = NULL;
713 fr_stinsert(isn, 0, ifs);
714 MUTEX_EXIT(&isn->is_lock);
719 if (isn->is_flags & SI_NEWFR) {
722 KFREE(isn);
726 isn->is_rule = fr;
737 name = isn->is_ifname[i];
738 isn->is_ifp[i] = fr_resolvenic(name, isn->is_v, ifs);
756 KFREE(isn);
762 fr_stinsert(isn, 0, ifs);
763 MUTEX_EXIT(&isn->is_lock);
770 fr_stinsert(isn, 0, ifs);
771 MUTEX_EXIT(&isn->is_lock);
776 KFREE(isn);
777 isn = NULL;
781 return (isn == NULL) ? ESRCH : 0;
1146 * Note that because the lock isn't held on fr, it is possible to exceed
3492 ipstate_t *is, *isn;
3502 isn = ifs->ifs_ips_list;
3503 while ((is = isn) != NULL) {
3504 isn = is->is_next;