Lines Matching refs:KASSERT
400 KASSERT(nhp->nh_name != NULL,
402 KASSERT(nhp->nh_handler != NULL,
404 KASSERT(nhp->nh_policy == NETISR_POLICY_SOURCE ||
409 KASSERT(nhp->nh_policy == NETISR_POLICY_FLOW ||
413 KASSERT(nhp->nh_policy == NETISR_POLICY_CPU || nhp->nh_m2cpuid == NULL,
416 KASSERT(nhp->nh_policy != NETISR_POLICY_CPU || nhp->nh_m2cpuid != NULL,
419 KASSERT(nhp->nh_dispatch == NETISR_DISPATCH_DEFAULT ||
425 KASSERT(proto < NETISR_MAXPROT,
432 KASSERT(netisr_proto[proto].np_name == NULL,
434 KASSERT(netisr_proto[proto].np_handler == NULL,
490 KASSERT(proto < NETISR_MAXPROT,
494 KASSERT(netisr_proto[proto].np_handler != NULL,
523 KASSERT(proto < NETISR_MAXPROT,
527 KASSERT(netisr_proto[proto].np_handler != NULL,
554 KASSERT(proto < NETISR_MAXPROT,
558 KASSERT(netisr_proto[proto].np_handler != NULL,
586 KASSERT(proto < NETISR_MAXPROT,
590 KASSERT(netisr_proto[proto].np_handler != NULL,
622 KASSERT(npwp->nw_tail == NULL, ("%s: tail", __func__));
623 KASSERT(npwp->nw_len == 0, ("%s: len", __func__));
646 KASSERT(proto < NETISR_MAXPROT,
650 KASSERT(netisr_proto[proto].np_handler != NULL,
686 KASSERT(curvnet != NULL, ("%s: curvnet is NULL", __func__));
687 KASSERT(proto < NETISR_MAXPROT,
690 KASSERT(netisr_proto[proto].np_handler != NULL,
708 KASSERT(vnet != NULL, ("%s: vnet is NULL", __func__));
761 KASSERT(curvnet != NULL, ("%s: curvnet is NULL", __func__));
762 KASSERT(proto < NETISR_MAXPROT,
765 KASSERT(netisr_proto[proto].np_handler != NULL,
860 KASSERT(policy == NETISR_POLICY_SOURCE,
892 KASSERT(nwsp->nws_flags & NWS_RUNNING,
894 KASSERT(proto >= 0 && proto < NETISR_MAXPROT,
929 KASSERT(local_npw.nw_len == 0,
956 KASSERT(nws_count == 1,
964 KASSERT(!(nwsp->nws_flags & NWS_RUNNING), ("swi_net: running"));
1038 KASSERT(cpuid <= mp_maxid, ("%s: cpuid too big (%u, %u)", __func__,
1040 KASSERT(!CPU_ABSENT(cpuid), ("%s: CPU %u absent", __func__, cpuid));
1063 KASSERT(proto < NETISR_MAXPROT,
1069 KASSERT(netisr_proto[proto].np_handler != NULL,
1082 KASSERT(!CPU_ABSENT(cpuid), ("%s: CPU %u absent", __func__,
1119 KASSERT(proto < NETISR_MAXPROT,
1125 KASSERT(npp->np_handler != NULL, ("%s: invalid proto %u", __func__,
1156 KASSERT(dispatch_policy == NETISR_DISPATCH_HYBRID,
1171 KASSERT(!CPU_ABSENT(cpuid), ("%s: CPU %u absent", __func__, cpuid));
1268 KASSERT(!CPU_ABSENT(cpuid), ("%s: CPU %u absent", __func__, cpuid));
1406 KASSERT(counter <= NETISR_MAXPROT,
1457 KASSERT(counter <= MAXCPU,
1516 KASSERT(counter <= MAXCPU * NETISR_MAXPROT,