Lines Matching refs:NULL
121 * if offp == NULL, the target will start at <retval, 0> on resulting chain.
122 * if offp != NULL, the target will start at <retval, *offp> on resulting chain.
124 * on error return (NULL return value), original "m" will be freed.
135 static struct mbuf *prev = NULL;
140 if (m == NULL)
141 panic("m == NULL in m_pulldown()");
144 return NULL; /* impossible */
223 while (n != NULL && off > 0) {
230 while (n != NULL && n->m_len == 0)
234 return NULL; /* mbuf chain too short */
256 if (o == NULL) {
258 return NULL; /* ENOBUFS */
281 for (o = n->m_next; o != NULL; o = o->m_next)
285 return NULL; /* mbuf chain too short */
328 if (o == NULL) {
330 return NULL; /* ENOBUFS */
337 return NULL; /* ENOBUFS */
375 return NULL;
382 if (m == NULL)
383 return NULL;
388 t = NULL;
390 if (t == NULL)
391 return NULL;
404 if (t != NULL &&
413 if (t == NULL)
456 if (t != NULL)
460 if (p == NULL)
462 while ((q = SLIST_NEXT(p, m_tag_link)) != NULL)
474 if (t == NULL)
478 while (p != NULL) {
483 return NULL;
494 if (p == NULL)
495 return (NULL);
502 if (t != NULL &&
507 return (NULL);
525 struct m_tag *p, *t, *tprev = NULL;
529 m_tag_delete_chain(to, NULL);
532 if (t == NULL) {
533 m_tag_delete_chain(to, NULL);
536 if (tprev == NULL)