Lines Matching refs:NULL
74 return NULL; in uml_vector_fetch_arg()
84 if (arg == NULL) in uml_parse_vector_ifspec()
85 return NULL; in uml_parse_vector_ifspec()
87 if (result == NULL) in uml_parse_vector_ifspec()
88 return NULL; in uml_parse_vector_ifspec()
119 return NULL; in uml_parse_vector_ifspec()
202 struct vector_fds *result = NULL; in user_init_tap_fds()
205 char *argv[] = {NULL, NULL, NULL, NULL}; in user_init_tap_fds()
208 if (iface == NULL) { in user_init_tap_fds()
215 if (result == NULL) { in user_init_tap_fds()
221 result->remote_addr = NULL; in user_init_tap_fds()
246 run_helper(NULL, NULL, argv); in user_init_tap_fds()
253 return NULL; in user_init_tap_fds()
259 struct vector_fds *result = NULL; in user_init_hybrid_fds()
260 char *argv[] = {NULL, NULL, NULL, NULL}; in user_init_hybrid_fds()
263 if (iface == NULL) { in user_init_hybrid_fds()
269 if (result == NULL) { in user_init_hybrid_fds()
275 result->remote_addr = NULL; in user_init_hybrid_fds()
298 run_helper(NULL, NULL, argv); in user_init_hybrid_fds()
304 return NULL; in user_init_hybrid_fds()
312 struct vector_fds *result = NULL; in user_init_unix_fds()
313 struct sockaddr_un *local_addr = NULL, *remote_addr = NULL; in user_init_unix_fds()
318 if (result == NULL) { in user_init_unix_fds()
323 if (remote_addr == NULL) { in user_init_unix_fds()
331 if ((src != NULL) && (strlen(src) <= MAX_UN_LEN)) { in user_init_unix_fds()
333 if (local_addr == NULL) { in user_init_unix_fds()
340 if ((dst == NULL) || (strlen(dst) > MAX_UN_LEN)) in user_init_unix_fds()
347 return NULL; in user_init_unix_fds()
358 if (local_addr != NULL) { in user_init_unix_fds()
382 return NULL; in user_init_unix_fds()
390 if (nptr == NULL) in strtofd()
408 char *fdarg = NULL; in user_init_fd_fds()
409 struct vector_fds *result = NULL; in user_init_fd_fds()
419 if (result == NULL) { in user_init_fd_fds()
427 result->remote_addr = NULL; in user_init_fd_fds()
434 return NULL; in user_init_fd_fds()
442 struct vector_fds *result = NULL; in user_init_raw_fds()
443 char *argv[] = {NULL, NULL, NULL, NULL}; in user_init_raw_fds()
446 if (iface == NULL) in user_init_raw_fds()
460 if (result != NULL) { in user_init_raw_fds()
463 result->remote_addr = NULL; in user_init_raw_fds()
469 run_helper(NULL, NULL, argv); in user_init_raw_fds()
475 return NULL; in user_init_raw_fds()
529 struct addrinfo *gairesult = NULL; in user_init_socket_fds()
530 struct vector_fds *result = NULL; in user_init_socket_fds()
536 if (value != NULL) { in user_init_socket_fds()
537 if (strtol((const char *) value, NULL, 10) > 0) in user_init_socket_fds()
542 if (value != NULL) { in user_init_socket_fds()
543 if (strtol((const char *) value, NULL, 10) > 0) in user_init_socket_fds()
574 return NULL; in user_init_socket_fds()
579 if ((gairet != 0) || (gairesult == NULL)) { in user_init_socket_fds()
584 return NULL; in user_init_socket_fds()
602 if (gairesult != NULL) in user_init_socket_fds()
605 gairesult = NULL; in user_init_socket_fds()
608 if ((gairet != 0) || (gairesult == NULL)) { in user_init_socket_fds()
613 return NULL; in user_init_socket_fds()
617 if (result != NULL) { in user_init_socket_fds()
622 if (result->remote_addr == NULL) in user_init_socket_fds()
634 if (gairesult != NULL) in user_init_socket_fds()
639 if (result != NULL) { in user_init_socket_fds()
643 return NULL; in user_init_socket_fds()
653 if (parsed == NULL) { in uml_vector_user_open()
655 return NULL; in uml_vector_user_open()
658 if (transport == NULL) { in uml_vector_user_open()
660 return NULL; in uml_vector_user_open()
676 return NULL; in uml_vector_user_open()
784 bpf_prog->filter = NULL; in uml_vector_default_bpf()
786 return NULL; in uml_vector_default_bpf()
806 bpf_prog = NULL; in uml_vector_default_bpf()
820 if (filename == NULL) in uml_vector_user_bpf()
821 return NULL; in uml_vector_user_bpf()
828 if (bpf_prog == NULL) { in uml_vector_user_bpf()
830 return NULL; in uml_vector_user_bpf()
833 bpf_prog->filter = NULL; in uml_vector_user_bpf()
840 if (bpf == NULL) { in uml_vector_user_bpf()
857 return NULL; in uml_vector_user_bpf()