Lines Matching refs:NULL
145 { 1, NULL, filt_sordetach, filt_solisten };
147 { 1, NULL, filt_sordetach, filt_soread };
149 { 1, NULL, filt_sowdetach, filt_sowrite };
268 if (so_cache_mtx == NULL)
278 timeout(so_cache_timer, NULL, (SO_CACHE_FLUSH_INTERVAL * hz));
429 timeout(so_cache_timer, NULL, (SO_CACHE_FLUSH_INTERVAL * hz));
450 if (so != NULL)
455 if (so != NULL) {
462 return (NULL);
498 if (pffinddomain(dom) == NULL) {
502 if (pffindprotonotype(dom, proto) != NULL) {
520 if (!suser(kauth_cred_get(), NULL))
688 if (so->so_proto == NULL) {
787 if (head != NULL) {
812 so->so_head = NULL;
834 if (so->so_proto->pr_getlock != NULL)
850 "soclose_wait_locked", NULL);
871 sflt_notify(so, sock_evt_closing, NULL);
883 for (sp = TAILQ_FIRST(&so->so_incomp); sp != NULL; sp = sonext) {
895 if (so->so_proto->pr_getlock != NULL) {
910 sp->so_head = NULL;
919 while ((sp = TAILQ_FIRST(&so->so_comp)) != NULL) {
924 if (so->so_proto->pr_getlock != NULL) {
931 sp->so_head = NULL;
936 if (so->so_proto->pr_getlock != NULL) {
957 if (so->so_proto->pr_getlock != NULL)
1039 if (so->so_proto->pr_getlock != NULL)
1084 struct sockaddr *local = NULL, *remote = NULL;
1096 so->so_head = NULL;
1109 for (filter = so->so_filt; filter != NULL && error == 0;
1111 if (filter->sfe_filter->sf_filter.sf_accept != NULL) {
1149 so->so_head = NULL;
1157 /* Callee checks for NULL pointer */
1300 sflt_notify(so, sock_evt_disconnected, NULL);
1476 register struct mbuf *m, *freelist = NULL;
1538 if (uio == NULL) {
1589 if (freelist == NULL &&
1610 if (freelist == NULL &&
1631 if (freelist == NULL &&
1652 if (freelist == NULL) {
1660 if (freelist == NULL) {
1678 m->m_next = NULL;
1727 so->so_temp = NULL;
1738 top = NULL;
1763 recursive = (so->so_send_filt_thread != NULL);
1824 so->so_temp = NULL;
1898 register struct mbuf *m, **mp, *ml = NULL;
1959 if (m == NULL) {
2065 if (m == NULL && so->so_rcv.sb_cc != 0)
2160 m->m_nextpkt = NULL;
2163 } while (m != NULL);
2181 } while (m != NULL);
2196 for (m = m0; m->m_next != NULL; m = m->m_next)
2199 if (so->so_rcv.sb_mb == NULL) {
2228 if (m != NULL) {
2243 if (m != NULL && m->m_type == MT_CONTROL) {
2244 struct mbuf *cm = NULL, *cmn;
2258 if (controlp != NULL) {
2264 m->m_nextpkt = NULL;
2267 m->m_next = NULL;
2272 } while (m != NULL && m->m_type == MT_CONTROL);
2275 if (sb_rcv->sb_mb != NULL) {
2281 if (nextrecord == NULL)
2288 while (cm != NULL) {
2292 cm->m_next = NULL;
2302 if (pr->pr_domain->dom_externalize != NULL &&
2318 if (controlp != NULL && error == 0) {
2328 if (sb_rcv->sb_mb != NULL)
2331 nextrecord = NULL;
2334 if (m != NULL) {
2341 * should be either NULL or equal to m->m_nextpkt.
2348 if (nextrecord == NULL)
2463 m->m_nextpkt = NULL;
2471 if (free_list == NULL)
2479 if (m != NULL) {
2481 if (nextrecord == NULL)
2553 if (so->so_rcv.sb_mb == NULL && sbwait(&so->so_rcv)) {
2628 if (so->so_rcv.sb_mb == NULL) {
2629 so->so_rcv.sb_mbtail = NULL;
2630 so->so_rcv.sb_lastrecord = NULL;
2631 } else if (nextrecord->m_nextpkt == NULL) {
2706 *free_list = (struct mbuf *)NULL;
2800 if (so->so_proto->pr_getlock != NULL)
2807 sflt_notify(so, sock_evt_flush_read, NULL);
3121 error = sflt_attach_private(so, NULL,
3556 while (m != NULL && sopt->sopt_valsize >= m->m_len) {
3557 if (sopt->sopt_p != NULL) {
3574 if (m != NULL) /* should be allocated enoughly at ip6_sooptmcopyin() */
3588 while (m != NULL && sopt->sopt_valsize >= m->m_len) {
3589 if (sopt->sopt_p != NULL) {
3607 if (m != NULL) {
3876 if (so->so_proto == NULL)
3910 if (so->so_proto->pr_getlock != NULL)