Lines Matching refs:NULL
159 sflt_notify(so, sock_evt_connecting, NULL);
170 sflt_notify(so, sock_evt_connected, NULL);
175 if (head->so_proto->pr_getlock != NULL) {
185 if (head->so_proto->pr_getlock != NULL) {
202 sflt_notify(so, sock_evt_disconnecting, NULL);
213 sflt_notify(so, sock_evt_disconnected, NULL);
234 if (head->so_proto->pr_getlock != NULL)
265 if (so == NULL)
268 if (head->so_proto == NULL) {
309 if (((*so->so_proto->pr_usrreqs->pru_attach)(so, 0, NULL) != 0) ||
372 return (NULL);
392 sflt_notify(so, sock_evt_cantsendmore, NULL);
400 sflt_notify(so, sock_evt_cantrecvmore, NULL);
421 if (so->so_proto->pr_getlock != NULL)
461 if (so == NULL)
466 if (so->so_proto->pr_getlock != NULL)
655 if (m == NULL || (sb->sb_flags & SB_DROP)) {
656 if (m != NULL)
663 if (sb->sb_lastrecord != NULL && (sb->sb_mbtail->m_flags & M_EOR))
667 int error = sflt_data_in(so, NULL, &m, NULL, 0, NULL);
677 if (sb->sb_lastrecord == NULL)
693 if (m->m_nextpkt != NULL || (sb->sb_mb != sb->sb_lastrecord))
699 if (m == NULL || (sb->sb_flags & SB_DROP)) {
700 if (m != NULL)
706 int error = sflt_data_in(so, NULL, &m, NULL, 0, NULL);
730 if (sb->sb_so->so_proto->pr_getlock != NULL)
769 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt)
791 for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) {
793 for (n = m; n != NULL; n = n->m_next)
810 if (m0 == NULL || (sb->sb_flags & SB_DROP)) {
811 if (m0 != NULL)
816 for (m = m0; m != NULL; m = m->m_next)
825 int error = sflt_data_in(sb->sb_so, NULL, &m0, NULL,
826 sock_data_filt_flag_record, NULL);
840 if (sb->sb_lastrecord != NULL) {
876 int error = sflt_data_in(sb->sb_so, NULL, &m0, NULL,
877 sock_data_filt_flag_oob, NULL);
909 if (*mp == NULL) {
968 for (n = m; n->m_next != NULL; n = n->m_next)
973 if (sb->sb_lastrecord != NULL) {
1010 if (m0 != NULL)
1012 if (control != NULL && !sb_unix)
1014 if (error_out != NULL)
1022 error = sflt_data_in(sb->sb_so, asa, &m0, &control, 0, NULL);
1028 if (control != NULL && !sb_unix)
1041 if (control != NULL && !sb_unix)
1074 for (m = control; m->m_next != NULL; m = m->m_next)
1079 if (sb->sb_lastrecord != NULL) {
1105 if (m0 != NULL)
1107 if (control != NULL && !sb_unix)
1109 if (error_out != NULL)
1117 error = sflt_data_in(sb->sb_so, NULL, &m0, &control, 0, NULL);
1123 if (control != NULL && !sb_unix)
1136 if (control != NULL && !sb_unix)
1156 if (m == NULL) {
1158 for (; n->m_next != NULL; n = n->m_next)
1216 if (!(sb->sb_cc == 0 && sb->sb_mb == NULL && sb->sb_mbcnt == 0 &&
1217 sb->sb_mbtail == NULL && sb->sb_lastrecord == NULL)) {
1232 if (sb->sb_so == NULL)
1240 if (!sb->sb_cc && (sb->sb_mb == NULL || sb->sb_mb->m_len))
1337 if (m == NULL) {
1338 sb->sb_mbtail = NULL;
1339 sb->sb_lastrecord = NULL;
1340 } else if (m->m_nextpkt == NULL) {
1382 return ((struct mbuf *)NULL);
1383 if ((m = m_get(M_DONTWAIT, MT_CONTROL)) == NULL)
1384 return ((struct mbuf *)NULL);
1690 if (so->so_proto->pr_getlock != NULL)