Lines Matching refs:NULL
116 NULL, NULL, NULL, ctl_ctloutput,
117 NULL, NULL,
118 NULL, NULL, NULL, NULL, &ctl_usrreqs,
126 NULL, NULL, NULL, ctl_ctloutput,
127 NULL, NULL,
128 NULL, NULL, NULL, NULL, &ctl_usrreqs,
225 if (kcb == NULL) {
232 if (kcb->mtx == NULL) {
288 struct ctl_cb *kcb_next = NULL;
300 if (kctl == NULL) {
323 if (kcb_find(kctl, sa.sc_unit) != NULL) {
351 if (kcb_next != NULL) {
414 if (kcb == NULL) /* sanity check */
417 if ((kctl = kcb->kctl) == NULL)
441 if (kcb == NULL) /* sanity check */
444 if ((kctl = kcb->kctl) == NULL)
463 if (kctl == NULL)
467 if (kcb == NULL)
471 if (so == NULL)
500 if (kctlref == NULL)
504 if (kcb == NULL)
508 if (so == NULL)
518 m = m_allocpacket_internal(&num_needed, len, NULL, M_NOWAIT, 1, 0);
519 if (m == NULL) {
525 for (n = m; n != NULL; n = n->m_next) {
554 if (kctlref == NULL || space == NULL)
558 if (kcb == NULL)
562 if (so == NULL)
586 if (kcb == NULL) /* sanity check */
589 if ((kctl = kcb->kctl) == NULL)
594 if (kctl->setopt == NULL)
597 data = NULL;
600 if (data == NULL)
614 if (kctl->getopt == NULL)
616 data = NULL;
619 if (data == NULL)
630 if (data != NULL)
635 if (data != NULL)
697 struct kctl *kctl = NULL;
698 struct kctl *kctl_next = NULL;
702 if (userkctl == NULL) /* sanity check */
704 if (userkctl->ctl_connect == NULL)
711 if (kctl == NULL)
732 if (ctl_find_by_name(userkctl->ctl_name) != NULL) {
742 if (kctl_next != NULL) {
745 kctl_next = NULL;
775 if (ctl_find_by_id_unit(userkctl->ctl_id, userkctl->ctl_unit) != NULL) {
821 if (kctlref == NULL) /* sanity check */
859 return NULL;
877 return NULL;
892 return NULL;
967 if (so->so_pcb == NULL) {
994 panic("ctl_getlock: so=%p NULL so_pcb\n", so);