| /include/ |
| D | stddef.h | 5 #ifndef NULL 6 #define NULL ((void *)0) macro
|
| D | stdlib.h | 7 #ifndef NULL 8 #define NULL ((void *)0) macro
|
| /lib/liblwip/src/core/ |
| D | mem.c | 98 return NULL; in mem_malloc() 101 if (element == NULL) { in mem_malloc() 111 return NULL; in mem_malloc() 134 LWIP_ASSERT("rmem != NULL", (rmem != NULL)); in mem_free() 140 LWIP_ASSERT("hmem != NULL", (hmem != NULL)); in mem_free() 316 if (rmem == NULL) { in mem_free() 387 return NULL; in mem_trim() 411 return NULL; in mem_trim() 504 return NULL; in mem_malloc() 517 return NULL; in mem_malloc() [all …]
|
| /lib/liblwip/src/netif/ppp/ |
| D | ppp.c | 277 NULL 378 pc->linkStatusCB(pc->linkStatusCtx, pc->errCode ? pc->errCode : PPPERR_PROTOCOL, NULL); in pppLinkTerminated() 446 pppSetAuth(PPPAUTHTYPE_NONE, NULL, NULL); in pppInit() 454 for (j = 0; (protp = ppp_protocols[j]) != NULL; ++j) { in pppInit() 542 if (linkStatusCB == NULL) { in pppOverSerialOpen() 602 lcp_close(pd, NULL); in pppOverEthernetClose() 616 if (linkStatusCB == NULL) { in pppOverEthernetOpen() 708 for(b = nb; b != NULL; b = b->next) { in nPut() 817 struct pbuf *headMB = NULL, *tailMB = NULL, *p; in pppifOutput() 853 if (headMB == NULL) { in pppifOutput() [all …]
|
| D | pap.c | 83 { NULL } 106 NULL, 107 NULL, 110 NULL, 115 NULL, 116 NULL, 117 NULL 142 u->us_user = NULL; in upap_init() 144 u->us_passwd = NULL; in upap_init()
|
| /sys/kern/ |
| D | syscall.c | 225 if (handle == NULL) { in Syscall_Read() 243 if (handle == NULL) { in Syscall_Write() 261 if (handle == NULL) { in Syscall_Flush() 320 if (handle == NULL) { in Syscall_Close() 365 if (handle == NULL) { in Syscall_ReadDir() 406 if (newThread == NULL) { in Syscall_ThreadCreate() 451 thr->timerEvt = NULL; in ThreadWakeupHelper() 464 if (cur->timerEvt == NULL) { in Syscall_ThreadSleep() 513 if (nic == NULL) { in Syscall_NICStat() 538 if (nic == NULL) { in Syscall_NICSend() [all …]
|
| D | palloc.c | 59 pageInfoXMem = NULL; in PAlloc_Init() 60 pageInfoTable = NULL; in PAlloc_Init() 110 if (pageInfoTable == NULL) { in PAlloc_AddRegion() 136 ASSERT(pageInfoXMem != NULL); in PAlloc_AddRegion() 195 ASSERT(pg != NULL); in PAlloc_AllocPage() 201 ASSERT(info != NULL); in PAlloc_AllocPage()
|
| D | process.c | 55 return NULL; in Process_Create() 72 if (proc->space == NULL) { in Process_Create() 74 return NULL; in Process_Create() 148 Process *proc = NULL; in Process_Lookup() 209 Process *p = NULL; in Process_Wait()
|
| D | disk.c | 40 return NULL; in Disk_GetByID() 99 Disk_Read(d, &buf, &sga, NULL, NULL); in Debug_DumpDisk()
|
| D | libc.c | 19 return NULL; in strchr() 28 if (str == NULL) in strtok_r() 38 return NULL; in strtok_r()
|
| /lib/liblwip/src/include/lwip/ |
| D | netif.h | 301 #define netif_set_hostname(netif, name) do { if((netif) != NULL) { (netif)->hostname = name; }}whil… 302 #define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL) 306 #define netif_set_igmp_mac_filter(netif, function) do { if((netif) != NULL) { (netif)->igmp_mac_fil… 307 #define netif_get_igmp_mac_filter(netif) (((netif) != NULL) ? ((netif)->igmp_mac_filter) : NULL)
|
| /lib/liblwip/src/core/ipv4/ |
| D | ip.c | 130 if (netif != NULL) { in ip_route() 136 for (netif = netif_list; netif != NULL; netif = netif->next) { in ip_route() 145 if ((netif_default == NULL) || (!netif_is_up(netif_default))) { in ip_route() 150 return NULL; in ip_route() 222 if (netif == NULL) { in ip_forward() 393 netif = NULL; 424 if ((netif->autoip != NULL) && 442 } while(netif != NULL); 455 if (netif == NULL) { 489 if (netif == NULL) { [all …]
|
| D | autoip.c | 135 LWIP_ASSERT("netif != NULL", netif != NULL); in autoip_set_struct() 136 LWIP_ASSERT("autoip != NULL", autoip != NULL); in autoip_set_struct() 137 LWIP_ASSERT("netif already has a struct autoip set", netif->autoip == NULL); in autoip_set_struct() 304 if (autoip == NULL) { in autoip_start() 309 if (autoip == NULL) { in autoip_start() 396 while (netif != NULL) { in autoip_tmr() 398 if (netif->autoip != NULL) { in autoip_tmr() 481 if ((netif->autoip != NULL) && (netif->autoip->state != AUTOIP_STATE_OFF)) { in autoip_arp_reply()
|
| /lib/libc/ |
| D | malloc.c | 76 if (addr == NULL) { in grow_small() 106 return NULL; in malloc_small() 133 if (addr == NULL) { in malloc_large() 134 return NULL; in malloc_large() 174 if (mem == NULL) in free()
|
| D | exit.c | 14 static struct atexit_cb *_atexit_last = NULL; 38 while (_atexit_last != NULL) { in exit()
|
| D | dir.c | 18 return NULL; in opendir() 29 return NULL; in readdir()
|
| D | file.c | 52 return NULL; in _alloc_file() 74 return NULL; in fopen() 173 return NULL; in fgets()
|
| D | string.c | 19 return NULL; in strchr() 126 if (str == NULL) in strtok_r() 136 return NULL; in strtok_r()
|
| /sys/amd64/ |
| D | mp.c | 97 cpus[CPU()].frame = NULL; in MP_Init() 101 cpus[i].frame = NULL; in MP_Init() 150 if (frame == NULL) in MP_CrossCallTrap() 196 cpus[CPU()].frame = NULL; in MP_CrossCall() 219 MP_CrossCall(&MPPing, NULL); in Debug_CrossCall()
|
| /lib/liblwip/src/include/ipv6/lwip/ |
| D | ip.h | 59 #define IP_HDRINCL NULL 117 #define ip_current_netif() NULL 118 #define ip_current_header() NULL
|
| /lib/liblwip/src/api/ |
| D | tcpip.c | 79 if (tcpip_init_done != NULL) { in tcpip_thread() 184 if (msg == NULL) { in tcpip_input() 217 if (msg == NULL) { in tcpip_callback_with_block() 253 if (msg == NULL) { in tcpip_timeout() 282 if (msg == NULL) { in tcpip_untimeout() 411 if (msg == NULL) { in tcpip_callbackmsg_new() 412 return NULL; in tcpip_callbackmsg_new() 470 sys_thread_new(TCPIP_THREAD_NAME, tcpip_thread, NULL, TCPIP_THREAD_STACKSIZE, TCPIP_THREAD_PRIO); in tcpip_init()
|
| /sys/fs/o2fs/ |
| D | o2fs.c | 52 return NULL; in O2FS_Mount() 57 return NULL; in O2FS_Mount() 65 return NULL; in O2FS_Mount() 71 return NULL; in O2FS_Mount() 86 return NULL; in O2FS_Mount() 104 fs->root = NULL; in O2FS_Mount() 110 return NULL; in O2FS_Mount() 139 if (fs->bitmap[i] == NULL) in O2FSBAlloc() 190 ASSERT(bentry != NULL); in O2FSBFree() 220 return NULL; in O2FSLoadVNode() [all …]
|
| /lib/liblwip/src/core/ipv6/ |
| D | ip6.c | 79 for(netif = netif_list; netif != NULL; netif = netif->next) { in ip_route() 102 if ((netif = ip_route((struct ip_addr *)&(iphdr->dest))) == NULL) { in ip_forward() 187 for(netif = netif_list; netif != NULL; netif = netif->next) { in ip_input() 201 if (netif == NULL) { in ip_input() 321 if ((netif = ip_route(dest)) == NULL) { in ip_output() 338 if ((netif = ip_route(dest)) == NULL) { in ip_output_hinted() 346 LWIP_NETIF_HWADDRHINT(netif, NULL); in ip_output_hinted()
|
| D | icmp6.c | 115 if (q == NULL) { in icmp_dest_unreach() 136 ip_output(q, NULL, in icmp_dest_unreach() 153 if (q == NULL) { in icmp_time_exceeded() 174 ip_output(q, NULL, in icmp_time_exceeded()
|
| /lib/liblwip/src/core/snmp/ |
| D | msg_out.c | 115 struct snmp_varbind_root emptyvb = {NULL, NULL, 0, 0, 0}; in snmp_send_response() 126 if (p == NULL) in snmp_send_response() 139 if (p != NULL) in snmp_send_response() 255 if (p != NULL) in snmp_send_trap() 283 trap_msg.outvb.head = NULL; in snmp_coldstart_trap() 284 trap_msg.outvb.tail = NULL; in snmp_coldstart_trap() 286 snmp_send_trap(SNMP_GENTRAP_COLDSTART, NULL, 0); in snmp_coldstart_trap() 296 trap_msg.outvb.head = NULL; in snmp_authfail_trap() 297 trap_msg.outvb.tail = NULL; in snmp_authfail_trap() 299 snmp_send_trap(SNMP_GENTRAP_AUTHFAIL, NULL, 0); in snmp_authfail_trap() [all …]
|