NULL 64 bsp/boot/common/printf.c if (s == NULL) NULL 85 bsp/drv/arm/gba/keypad.c /* probe */ NULL, NULL 87 bsp/drv/arm/gba/keypad.c /* shutdown */ NULL, NULL 74 bsp/drv/arm/gba/lcd.c /* probe */ NULL, NULL 76 bsp/drv/arm/gba/lcd.c /* shutdown */ NULL, NULL 117 bsp/drv/arm/gba/swkbd.c /* probe */ NULL, NULL 119 bsp/drv/arm/gba/swkbd.c /* shutdown */ NULL, NULL 60 bsp/drv/dev/base/cons.c /* probe */ NULL, NULL 62 bsp/drv/dev/base/cons.c /* unload */ NULL, NULL 75 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 84 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 93 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 102 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 111 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 120 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 134 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 147 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 158 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 170 bsp/drv/dev/base/cons.c ASSERT(consdev != NULL); NULL 186 bsp/drv/dev/base/cons.c if (consdev != NULL) NULL 201 bsp/drv/dev/base/cons.c consdev = NULL; NULL 62 bsp/drv/dev/base/init.c ASSERT(dp != NULL); NULL 64 bsp/drv/dev/base/init.c if (dp->probe != NULL) { NULL 89 bsp/drv/dev/base/init.c ASSERT(dp->init != NULL); NULL 111 bsp/drv/dev/base/init.c if (dp == NULL) NULL 118 bsp/drv/dev/base/init.c if (dp->unload != NULL) NULL 88 bsp/drv/dev/base/kd.c { "?" ,kd_help ,NULL }, NULL 89 bsp/drv/dev/base/kd.c { "x" ,kd_examine ,NULL }, NULL 90 bsp/drv/dev/base/kd.c { "w" ,kd_write ,NULL }, NULL 91 bsp/drv/dev/base/kd.c { "c" ,kd_continue ,NULL }, NULL 92 bsp/drv/dev/base/kd.c { NULL ,kd_null ,NULL }, NULL 165 bsp/drv/dev/base/kd.c while (cmd_table[i].cmd != NULL) { NULL 404 bsp/drv/dev/base/kd.c dbgctl(DBGC_DUMPTRAP, NULL); NULL 414 bsp/drv/dev/base/kd.c device_broadcast(DEVCTL_DBG_DEVSTAT, NULL, 1); NULL 453 bsp/drv/dev/base/kd.c p = NULL; NULL 472 bsp/drv/dev/base/kd.c len = strtoul(p, NULL, 16); NULL 480 bsp/drv/dev/base/kd.c if (p != NULL) { NULL 481 bsp/drv/dev/base/kd.c addr = strtoul(p, NULL, 16); NULL 486 bsp/drv/dev/base/kd.c if ((kp = kmem_map((void *)addr, (size_t)len)) == NULL) NULL 556 bsp/drv/dev/base/kd.c addr = strtoul(pa, NULL, 16); NULL 560 bsp/drv/dev/base/kd.c val = strtoul(pv, NULL, 16); NULL 564 bsp/drv/dev/base/kd.c if ((kp = kmem_map((void *)addr, (size_t)size)) == NULL) NULL 586 bsp/drv/dev/base/kd.c while (cmd_table[i].cmd != NULL) { NULL 593 bsp/drv/dev/base/kd.c if (cmd_table[i].cmd == NULL) NULL 608 bsp/drv/dev/base/kd.c char *p, *word = NULL; NULL 617 bsp/drv/dev/base/kd.c if (word == NULL) { NULL 625 bsp/drv/dev/base/kd.c word = NULL; NULL 636 bsp/drv/dev/base/kd.c args[argc] = NULL; NULL 719 bsp/drv/dev/base/kd.c sched_dpc(&kd_dpc, &kd_invoke, NULL); NULL 729 bsp/drv/dev/base/kd.c kd_invoke(NULL); NULL 89 bsp/drv/dev/base/pm.c /* probe */ NULL, NULL 91 bsp/drv/dev/base/pm.c /* unload */ NULL, NULL 280 bsp/drv/dev/base/pm.c error = device_broadcast(DEVCTL_PM_POWERDOWN, NULL, 1); NULL 282 bsp/drv/dev/base/pm.c device_broadcast(DEVCTL_PM_POWERUP, NULL, 1); NULL 295 bsp/drv/dev/base/pm.c device_broadcast(DEVCTL_PM_POWERUP, NULL, 1); NULL 307 bsp/drv/dev/base/pm.c device_broadcast(DEVCTL_PM_POWERDOWN, NULL, 1); NULL 326 bsp/drv/dev/base/pm.c device_broadcast(DEVCTL_PM_POWERDOWN, NULL, 1); NULL 342 bsp/drv/dev/base/pm.c device_control(sc->lcd_dev, DEVCTL_PM_LCDOFF, NULL); NULL 357 bsp/drv/dev/base/pm.c device_control(sc->lcd_dev, DEVCTL_PM_LCDON, NULL); NULL 494 bsp/drv/dev/base/pm.c ASSERT(pm_softc != NULL); NULL 95 bsp/drv/dev/base/wscons.c /* probe */ NULL, NULL 97 bsp/drv/dev/base/wscons.c /* unload */ NULL, NULL 141 bsp/drv/dev/block/fdd.c /* shutdown */ NULL, NULL 572 bsp/drv/dev/block/fdd.c if ((kbuf = kmem_map(buf, *nbyte)) == NULL) NULL 628 bsp/drv/dev/block/fdd.c if ((kbuf = kmem_map(buf, *nbyte)) == NULL) NULL 697 bsp/drv/dev/block/fdd.c ASSERT(buf != NULL); NULL 74 bsp/drv/dev/block/ramdisk.c /* shutdown */ NULL, NULL 98 bsp/drv/dev/block/ramdisk.c if ((kbuf = kmem_map(buf, nr_read)) == NULL) { NULL 127 bsp/drv/dev/block/ramdisk.c if ((kbuf = kmem_map(buf, nr_write)) == NULL) NULL 93 bsp/drv/dev/cpufreq/cpufreq.c /* probe */ NULL, NULL 95 bsp/drv/dev/cpufreq/cpufreq.c /* shutdown */ NULL, NULL 256 bsp/drv/dev/cpufreq/cpufreq.c ASSERT(sc->ops != NULL); NULL 308 bsp/drv/dev/cpufreq/cpufreq.c if (sc->ops == NULL) NULL 332 bsp/drv/dev/cpufreq/cpufreq.c if (sc->ops == NULL) NULL 93 bsp/drv/dev/cpufreq/est.c /* devops */ NULL, NULL 98 bsp/drv/dev/cpufreq/est.c /* shutdown */ NULL, NULL 479 bsp/drv/dev/cpufreq/est.c for (i = 0; est_fqlist == NULL && i < NESTCPUS; i++) { NULL 495 bsp/drv/dev/cpufreq/est.c if (est_fqlist == NULL) { NULL 135 bsp/drv/dev/dma/i8237.c /* devsops */ NULL, NULL 138 bsp/drv/dev/dma/i8237.c /* probe */ NULL, NULL 140 bsp/drv/dev/dma/i8237.c /* shutdown */ NULL, NULL 255 bsp/drv/dev/dma/i8237.c return NULL; NULL 266 bsp/drv/dev/dma/i8237.c return NULL; NULL 61 bsp/drv/dev/input/pckbd.c /* devops */ NULL, NULL 64 bsp/drv/dev/input/pckbd.c /* probe */ NULL, NULL 66 bsp/drv/dev/input/pckbd.c /* shutdown */ NULL, NULL 84 bsp/drv/dev/input/psaux.c /* probe */ NULL, NULL 86 bsp/drv/dev/input/psaux.c /* shutdown */ NULL, NULL 54 bsp/drv/dev/misc/null.c /* probe */ NULL, NULL 56 bsp/drv/dev/misc/null.c /* shutdown */ NULL, NULL 53 bsp/drv/dev/misc/random.c /* probe */ NULL, NULL 55 bsp/drv/dev/misc/random.c /* shutdown */ NULL, NULL 54 bsp/drv/dev/misc/zero.c /* probe */ NULL, NULL 56 bsp/drv/dev/misc/zero.c /* shutdown */ NULL, NULL 68 bsp/drv/dev/misc/zero.c if ((p = kmem_map(buf, *nbyte)) == NULL) NULL 63 bsp/drv/dev/rtc/mc146818.c /* devops */ NULL, NULL 66 bsp/drv/dev/rtc/mc146818.c /* probe */ NULL, NULL 68 bsp/drv/dev/rtc/mc146818.c /* shutdown */ NULL, NULL 153 bsp/drv/dev/rtc/mc146818.c rtc_attach(&mc146818_ops, NULL); NULL 56 bsp/drv/dev/rtc/pl030.c /* devops */ NULL, NULL 59 bsp/drv/dev/rtc/pl030.c /* probe */ NULL, NULL 61 bsp/drv/dev/rtc/pl030.c /* shutdown */ NULL, NULL 89 bsp/drv/dev/rtc/pl030.c rtc_attach(&pl030_ops, NULL); NULL 80 bsp/drv/dev/rtc/rtc.c /* probe */ NULL, NULL 82 bsp/drv/dev/rtc/rtc.c /* shutdown */ NULL, NULL 100 bsp/drv/dev/serial/ns16550.c /* devops */ NULL, NULL 105 bsp/drv/dev/serial/ns16550.c /* unload */ NULL, NULL 100 bsp/drv/dev/serial/pl011.c /* devops */ NULL, NULL 103 bsp/drv/dev/serial/pl011.c /* probe */ NULL, NULL 105 bsp/drv/dev/serial/pl011.c /* detach */ NULL, NULL 80 bsp/drv/dev/serial/serial.c /* probe */ NULL, NULL 82 bsp/drv/dev/serial/serial.c /* unload */ NULL, NULL 85 bsp/drv/dev/video/vga.c /* probe */ NULL, NULL 87 bsp/drv/dev/video/vga.c /* shutdown */ NULL, NULL 98 bsp/hal/arm/gba/clock.c IST_NONE, NULL); NULL 62 bsp/hal/arm/gba/machdep.c ASSERT(bip != NULL); NULL 98 bsp/hal/arm/integrator/clock.c IST_NONE, NULL); NULL 182 bsp/hal/ppc/prep/interrupt.c clock_isr(NULL); NULL 83 bsp/hal/x86/pc/clock.c IST_NONE, NULL); NULL 126 bsp/hal/x86/pc/machdep.c ASSERT(bip != NULL); NULL 95 include/sys/param.h #ifndef NULL NULL 115 sys/ipc/msg.c if ((kmsg = kmem_map(msg, size)) == NULL) { NULL 148 sys/ipc/msg.c curthread->sendobj = NULL; NULL 243 sys/ipc/msg.c curthread->recvobj = NULL; NULL 266 sys/ipc/msg.c curthread->recvobj = NULL; NULL 305 sys/ipc/msg.c if (curthread->sender == NULL) { NULL 307 sys/ipc/msg.c curthread->recvobj = NULL; NULL 326 sys/ipc/msg.c t->receiver = NULL; NULL 329 sys/ipc/msg.c curthread->sender = NULL; NULL 330 sys/ipc/msg.c curthread->recvobj = NULL; NULL 362 sys/ipc/msg.c if (t->sendobj != NULL) { NULL 363 sys/ipc/msg.c if (t->receiver != NULL) NULL 364 sys/ipc/msg.c t->receiver->sender = NULL; NULL 368 sys/ipc/msg.c if (t->recvobj != NULL) { NULL 369 sys/ipc/msg.c if (t->sender != NULL) { NULL 371 sys/ipc/msg.c t->sender->receiver = NULL; NULL 87 sys/ipc/object.c if (name == NULL) NULL 112 sys/ipc/object.c if (object_find(str) != NULL) { NULL 116 sys/ipc/object.c if ((obj = kmem_alloc(sizeof(*obj))) == NULL) { NULL 120 sys/ipc/object.c if (name != NULL) NULL 154 sys/ipc/object.c if (obj == NULL) NULL 120 sys/kern/device.c static struct device *device_list = NULL; NULL 134 sys/kern/device.c void *private = NULL; NULL 136 sys/kern/device.c ASSERT(drv != NULL); NULL 141 sys/kern/device.c return NULL; NULL 146 sys/kern/device.c if (device_lookup(name) != NULL) NULL 152 sys/kern/device.c if ((dev = kmem_alloc(sizeof(*dev))) == NULL) NULL 156 sys/kern/device.c if ((private = kmem_alloc(drv->devsz)) == NULL) NULL 201 sys/kern/device.c for (dev = device_list; dev != NULL; dev = dev->next) { NULL 205 sys/kern/device.c return NULL; NULL 214 sys/kern/device.c ASSERT(dev != NULL); NULL 215 sys/kern/device.c ASSERT(dev->private != NULL); NULL 229 sys/kern/device.c for (tmp = device_list; tmp != NULL; tmp = tmp->next) { NULL 311 sys/kern/device.c if ((dev = device_lookup(str)) == NULL) { NULL 323 sys/kern/device.c ASSERT(ops->open != NULL); NULL 348 sys/kern/device.c ASSERT(ops->close != NULL); NULL 380 sys/kern/device.c ASSERT(ops->read != NULL); NULL 413 sys/kern/device.c ASSERT(ops->write != NULL); NULL 439 sys/kern/device.c ASSERT(ops->ioctl != NULL); NULL 456 sys/kern/device.c ASSERT(dev != NULL); NULL 460 sys/kern/device.c ASSERT(ops->devctl != NULL); NULL 488 sys/kern/device.c for (dev = device_list; dev != NULL; dev = dev->next) { NULL 493 sys/kern/device.c if (ops == NULL) NULL 496 sys/kern/device.c ASSERT(ops->devctl != NULL); NULL 525 sys/kern/device.c for (dev = device_list; dev != NULL; dev = dev->next) { NULL 551 sys/kern/device.c if (mod == NULL) { NULL 556 sys/kern/device.c ASSERT(entry != NULL); NULL 106 sys/kern/exception.c if (handler == NULL) NULL 176 sys/kern/exception.c thread_t t = NULL; NULL 88 sys/kern/irq.c ASSERT(isr != NULL); NULL 91 sys/kern/irq.c if ((irq = kmem_alloc(sizeof(*irq))) == NULL) NULL 106 sys/kern/irq.c if (irq->thread == NULL) NULL 129 sys/kern/irq.c ASSERT(irq != NULL); NULL 133 sys/kern/irq.c irq_table[irq->vector] = NULL; NULL 134 sys/kern/irq.c if (irq->thread != NULL) NULL 196 sys/kern/irq.c if (irq == NULL) { NULL 200 sys/kern/irq.c ASSERT(irq->isr != NULL); NULL 185 sys/kern/sched.c t->slpevt = NULL; NULL 272 sys/kern/sched.c ASSERT(evt != NULL); NULL 313 sys/kern/sched.c ASSERT(evt != NULL); NULL 338 sys/kern/sched.c thread_t top, t = NULL; NULL 653 sys/kern/sched.c ASSERT(dpc != NULL); NULL 654 sys/kern/sched.c ASSERT(fn != NULL); NULL 728 sys/kern/sched.c t = kthread_create(dpc_thread, NULL, PRI_DPC); NULL 729 sys/kern/sched.c if (t == NULL) NULL 104 sys/kern/system.c if (buf == NULL || !user_area(buf)) NULL 65 sys/kern/task.c vm_map_t map = NULL; NULL 67 sys/kern/task.c ASSERT(parent != NULL); NULL 104 sys/kern/task.c if ((task = kmem_alloc(sizeof(*task))) == NULL) { NULL 125 sys/kern/task.c if (map == NULL) { NULL 206 sys/kern/task.c task->map = NULL; NULL 90 sys/kern/thread.c t = NULL; NULL 99 sys/kern/thread.c if ((t = thread_allocate(task)) == NULL) { NULL 171 sys/kern/thread.c if (entry != NULL && !user_area(entry)) NULL 173 sys/kern/thread.c if (stack != NULL && !user_area(stack)) NULL 187 sys/kern/thread.c if (entry != NULL) NULL 189 sys/kern/thread.c if (stack != NULL) NULL 416 sys/kern/thread.c if ((t = kmem_alloc(sizeof(*t))) == NULL) NULL 417 sys/kern/thread.c return NULL; NULL 419 sys/kern/thread.c if ((stack = kmem_alloc(KSTACKSZ)) == NULL) { NULL 421 sys/kern/thread.c return NULL; NULL 452 sys/kern/thread.c if (zombie != NULL) { NULL 459 sys/kern/thread.c zombie->kstack = NULL; NULL 461 sys/kern/thread.c zombie = NULL; NULL 473 sys/kern/thread.c t->kstack = NULL; NULL 536 sys/kern/thread.c if ((t = thread_allocate(&kernel_task)) == NULL) NULL 537 sys/kern/thread.c return NULL; NULL 557 sys/kern/thread.c ASSERT(t != NULL); NULL 583 sys/kern/thread.c if ((stack = kmem_alloc(KSTACKSZ)) == NULL) NULL 101 sys/kern/timer.c ASSERT(tmr != NULL); NULL 123 sys/kern/timer.c ASSERT(tmr != NULL); NULL 124 sys/kern/timer.c ASSERT(fn != NULL); NULL 175 sys/kern/timer.c if (remain != NULL) { NULL 226 sys/kern/timer.c if (remain != NULL) { NULL 263 sys/kern/timer.c if (tmr == NULL || tmr->state != TM_ACTIVE) { NULL 269 sys/kern/timer.c if (tmr == NULL) { NULL 275 sys/kern/timer.c if ((tmr = kmem_alloc(sizeof(tmr))) == NULL) { NULL 312 sys/kern/timer.c if (tmr == NULL || tmr->state != TM_ACTIVE) NULL 333 sys/kern/timer.c if (t->periodic != NULL) { NULL 336 sys/kern/timer.c t->periodic = NULL; NULL 467 sys/kern/timer.c if (kthread_create(&timer_thread, NULL, PRI_TIMER) == NULL) NULL 107 sys/lib/vsprintf.c if (str == NULL) NULL 160 sys/mem/kmem.c return NULL; NULL 208 sys/mem/kmem.c return NULL; NULL 220 sys/mem/kmem.c blk->pg_next = NULL; NULL 274 sys/mem/kmem.c ASSERT(ptr != NULL); NULL 300 sys/mem/kmem.c for (blk = &pg->first_blk; blk != NULL; blk = blk->pg_next) { NULL 320 sys/mem/kmem.c return NULL; NULL 135 sys/mem/vm.c if ((seg = seg_alloc(&map->head, size)) == NULL) NULL 142 sys/mem/vm.c if ((seg = seg_reserve(&map->head, start, size)) == NULL) NULL 218 sys/mem/vm.c if (seg == NULL || seg->addr != va || (seg->flags & SEG_FREE)) NULL 289 sys/mem/vm.c if (seg == NULL || seg->addr != va || (seg->flags & SEG_FREE)) { NULL 402 sys/mem/vm.c tmp = NULL; NULL 415 sys/mem/vm.c if (seg == NULL || (seg->flags & SEG_FREE)) NULL 423 sys/mem/vm.c if ((seg = seg_alloc(&curmap->head, size)) == NULL) NULL 463 sys/mem/vm.c if ((map = kmem_alloc(sizeof(*map))) == NULL) NULL 464 sys/mem/vm.c return NULL; NULL 472 sys/mem/vm.c return NULL; NULL 551 sys/mem/vm.c if ((new_map = vm_create()) == NULL) NULL 552 sys/mem/vm.c return NULL; NULL 571 sys/mem/vm.c ASSERT(src != NULL); NULL 572 sys/mem/vm.c ASSERT(src->next != NULL); NULL 579 sys/mem/vm.c if (dest == NULL) NULL 580 sys/mem/vm.c return NULL; NULL 605 sys/mem/vm.c return NULL; NULL 619 sys/mem/vm.c return NULL; NULL 814 sys/mem/vm.c if ((seg = kmem_alloc(sizeof(*seg))) == NULL) NULL 815 sys/mem/vm.c return NULL; NULL 867 sys/mem/vm.c return NULL; NULL 887 sys/mem/vm.c seg->size - size) == NULL) NULL 888 sys/mem/vm.c return NULL; NULL 895 sys/mem/vm.c return NULL; NULL 954 sys/mem/vm.c if (seg == NULL || !(seg->flags & SEG_FREE)) NULL 955 sys/mem/vm.c return NULL; NULL 960 sys/mem/vm.c prev = NULL; NULL 965 sys/mem/vm.c if (seg == NULL) NULL 966 sys/mem/vm.c return NULL; NULL 974 sys/mem/vm.c if (next == NULL) { NULL 979 sys/mem/vm.c return NULL; NULL 127 sys/mem/vm_nommu.c if ((seg = seg_alloc(&map->head, size)) == NULL) NULL 135 sys/mem/vm_nommu.c if ((seg = seg_reserve(&map->head, start, size)) == NULL) NULL 194 sys/mem/vm_nommu.c if (seg == NULL || seg->addr != va || (seg->flags & SEG_FREE)) NULL 259 sys/mem/vm_nommu.c if (seg == NULL || seg->addr != va || (seg->flags & SEG_FREE)) { NULL 333 sys/mem/vm_nommu.c tmp = NULL; NULL 345 sys/mem/vm_nommu.c if (seg == NULL || (seg->flags & SEG_FREE)) NULL 353 sys/mem/vm_nommu.c if ((seg = seg_create(&curmap->head, start, size)) == NULL) NULL 374 sys/mem/vm_nommu.c if ((map = kmem_alloc(sizeof(*map))) == NULL) NULL 375 sys/mem/vm_nommu.c return NULL; NULL 424 sys/mem/vm_nommu.c return NULL; NULL 474 sys/mem/vm_nommu.c if ((seg = seg_create(&map->head, start, size)) == NULL) NULL 564 sys/mem/vm_nommu.c if ((seg = kmem_alloc(sizeof(*seg))) == NULL) NULL 565 sys/mem/vm_nommu.c return NULL; NULL 617 sys/mem/vm_nommu.c return NULL; NULL 630 sys/mem/vm_nommu.c return NULL; NULL 632 sys/mem/vm_nommu.c if ((seg = seg_create(head, (vaddr_t)pa, size)) == NULL) { NULL 634 sys/mem/vm_nommu.c return NULL; NULL 674 sys/mem/vm_nommu.c return NULL; NULL 676 sys/mem/vm_nommu.c if ((seg = seg_create(head, (vaddr_t)pa, size)) == NULL) { NULL 678 sys/mem/vm_nommu.c return NULL; NULL 60 sys/sync/cond.c if ((c = kmem_alloc(sizeof(struct cond))) == NULL) NULL 102 sys/sync/mutex.c if ((m = kmem_alloc(sizeof(struct mutex))) == NULL) NULL 107 sys/sync/mutex.c m->holder = NULL; NULL 210 sys/sync/mutex.c if (m->holder == NULL) NULL 218 sys/sync/mutex.c curthread->mutex_waiting = NULL; NULL 223 sys/sync/mutex.c curthread->mutex_waiting = NULL; NULL 256 sys/sync/mutex.c if (m->holder != NULL) NULL 297 sys/sync/mutex.c m->holder->mutex_waiting = NULL; NULL 340 sys/sync/mutex.c holder->mutex_waiting = NULL; NULL 456 sys/sync/mutex.c } while (m != NULL); NULL 47 sys/sync/sem.c static struct sem *sem_list = NULL; /* list head of semaphore list */ NULL 98 sys/sync/sem.c if ((s = kmem_alloc(sizeof(struct sem))) == NULL) { NULL 70 usr/bin/cat/cat.c if ((stdbuf = malloc(BUFSIZ)) == NULL) NULL 71 usr/bin/cat/cat.c err(1, NULL); NULL 141 usr/bin/cmdbox/cmd_conf.c { NULL ,null_main }, NULL 76 usr/bin/cmdbox/main.c while (entry->cmd != NULL) { NULL 80 usr/bin/cmdbox/main.c if (col > maxcol && entry->cmd != NULL) { NULL 91 usr/bin/cmdbox/main.c while (entry->cmd != NULL) { NULL 95 usr/bin/cmdbox/main.c if (col > maxcol && entry->cmd != NULL) { NULL 144 usr/bin/cmdbox/main.c while (entry->cmd != NULL) { NULL 75 usr/bin/cp/cp.c if ((iobuf = malloc(BUFSIZ)) == NULL) NULL 76 usr/bin/cp/cp.c err(1, NULL); NULL 53 usr/bin/dmesg/dmesg.c if ((buf = malloc(size)) == NULL) NULL 80 usr/bin/head/head.c if ((fp = fopen(*argv, "r")) == NULL) { NULL 123 usr/bin/ls/ls.c err(1, NULL); NULL 269 usr/bin/ls/ls.c if (dir == NULL) NULL 276 usr/bin/ls/ls.c if (entry == NULL) NULL 63 usr/bin/mkdir/mkdir.c if (argv[0] == NULL) NULL 66 usr/bin/mkdir/mkdir.c for (exitval = 0; *argv != NULL; ++argv) { NULL 49 usr/bin/more/more.c FILE *fp = NULL; NULL 69 usr/bin/more/more.c if ((fp = fopen(*argv, "r")) == NULL) { NULL 51 usr/bin/pwd/pwd.c if ((p = getcwd(cwd, PATH_MAX)) == NULL) { NULL 52 usr/bin/pwd/pwd.c err(1, NULL); NULL 61 usr/bin/sh/cmds.c { NULL ,cmd_null }, NULL 82 usr/bin/sh/cmds.c if (p == NULL) NULL 74 usr/bin/sh/sh.c if (msg != NULL) { NULL 121 usr/bin/sh/sh.c arg = argc > 1 ? &argv[1] : NULL; NULL 207 usr/bin/sh/sh.c for (i = 0; args[i] != NULL; i++) { NULL 256 usr/bin/sh/sh.c args[argc] = NULL; NULL 265 usr/bin/sh/sh.c while (cmds[i].cmd != NULL) { NULL 278 usr/bin/sh/sh.c char *p, *word = NULL; NULL 289 usr/bin/sh/sh.c if (word == NULL) { NULL 297 usr/bin/sh/sh.c word = NULL; NULL 306 usr/bin/sh/sh.c if (argc == 0 && word == NULL) NULL 311 usr/bin/sh/sh.c args[argc] = NULL; NULL 314 usr/bin/sh/sh.c if ((p = strchr(args[0], '=')) != NULL) { NULL 339 usr/bin/sh/sh.c if (fn == NULL && !strcmp(args[0], "sh")) { NULL 421 usr/bin/sh/sh.c return NULL; /* EOF */ NULL 446 usr/bin/sh/sh.c if (p == NULL) NULL 82 usr/bin/sh/var.c if (var->name != NULL && !strcmp(var->name, name)) NULL 86 usr/bin/sh/var.c return NULL; NULL 100 usr/bin/sh/var.c if (var == NULL) { NULL 104 usr/bin/sh/var.c free = NULL; NULL 107 usr/bin/sh/var.c if (var->name == NULL) { NULL 113 usr/bin/sh/var.c if (free == NULL) { NULL 124 usr/bin/sh/var.c if ((var->name = strdup(name)) == NULL) { NULL 138 usr/bin/sh/var.c if (var == NULL) NULL 143 usr/bin/sh/var.c var->name = NULL; NULL 144 usr/bin/sh/var.c var->val = NULL; NULL 174 usr/bin/sh/var.c if (var->name != NULL) NULL 206 usr/bin/sh/var.c if (var != NULL) NULL 219 usr/bin/sh/var.c vartab[i].name = NULL; NULL 182 usr/bin/test/test.c argv[argc] = NULL; NULL 191 usr/bin/test/test.c if (*t_wp != NULL && *++t_wp != NULL) NULL 253 usr/bin/test/test.c syntax(NULL, "closing paren expected"); NULL 258 usr/bin/test/test.c if (*++t_wp == NULL) NULL 289 usr/bin/test/test.c if ((opnd2 = *++t_wp) == NULL) NULL 381 usr/bin/test/test.c t_wp_op = NULL; NULL 394 usr/bin/test/test.c t_wp_op = NULL; NULL 76 usr/bin/touch/touch.c err(1, NULL); NULL 55 usr/include/dirent.h #ifndef NULL NULL 45 usr/include/stddef.h #ifndef NULL NULL 48 usr/include/stdio.h #ifndef NULL NULL 55 usr/include/stdlib.h #ifndef NULL NULL 40 usr/include/string.h #ifndef NULL NULL 42 usr/include/time.h #ifndef NULL NULL 42 usr/include/unistd.h #ifndef NULL NULL 55 usr/lib/crt/crt1.c if ((__progname = _strrchr(ap, '/')) == NULL) NULL 72 usr/lib/crt/crt1.c for (save = NULL;; ++p) { NULL 30 usr/lib/libc/gen/basename.c if (path == NULL || *path == '\0') { NULL 56 usr/lib/libc/gen/basename.c return (NULL); NULL 44 usr/lib/libc/gen/confstr.c if (len != 0 && buf != NULL) { NULL 30 usr/lib/libc/gen/dirname.c if (path == NULL || *path == '\0') { NULL 60 usr/lib/libc/gen/dirname.c return (NULL); NULL 52 usr/lib/libc/gen/execl.c for (i = 2; va_arg(ap, char *) != NULL; i++) NULL 60 usr/lib/libc/gen/execl.c for (i = 1; (argv[i] = (char *) va_arg(ap, char *)) != NULL; i++) NULL 43 usr/lib/libc/gen/execle.c while ((va_arg(ap, char *)) != NULL) NULL 55 usr/lib/libc/gen/execle.c for (i = 2; va_arg(ap, char *) != NULL; i++) NULL 63 usr/lib/libc/gen/execle.c for (i = 1; (argv[i] = (char *) va_arg(ap, char *)) != NULL; i++) NULL 46 usr/lib/libc/gen/execlp.c for (i = 2; va_arg(ap, char *) != NULL; i++) NULL 54 usr/lib/libc/gen/execlp.c for (i = 1; (argv[i] = va_arg(ap, char *)) != NULL; i++) NULL 106 usr/lib/libc/gen/execvp.c for (cnt = 0; argv[cnt] != NULL; ++cnt) NULL 108 usr/lib/libc/gen/execvp.c if ((memp = (const char **)(alloca((cnt + 2) * sizeof(*memp)))) == NULL) NULL 75 usr/lib/libc/gen/fts.c FTSENT *parent, *tmp = NULL; NULL 81 usr/lib/libc/gen/fts.c return (NULL); NULL 85 usr/lib/libc/gen/fts.c if ((sp = malloc((u_int)sizeof(FTS))) == NULL) NULL 86 usr/lib/libc/gen/fts.c return (NULL); NULL 103 usr/lib/libc/gen/fts.c if ((parent = fts_alloc(sp, "", 0)) == NULL) NULL 108 usr/lib/libc/gen/fts.c for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) { NULL 133 usr/lib/libc/gen/fts.c p->fts_link = NULL; NULL 134 usr/lib/libc/gen/fts.c if (root == NULL) NULL 150 usr/lib/libc/gen/fts.c if ((sp->fts_cur = fts_alloc(sp, "", 0)) == NULL) NULL 171 usr/lib/libc/gen/fts.c return (NULL); NULL 259 usr/lib/libc/gen/fts.c if (sp->fts_cur == NULL || ISSET(FTS_STOP)) NULL 260 usr/lib/libc/gen/fts.c return (NULL); NULL 303 usr/lib/libc/gen/fts.c sp->fts_child = NULL; NULL 313 usr/lib/libc/gen/fts.c sp->fts_child = NULL; NULL 336 usr/lib/libc/gen/fts.c } else if ((sp->fts_child = fts_build(sp, BREAD)) == NULL) { NULL 338 usr/lib/libc/gen/fts.c return (NULL); NULL 342 usr/lib/libc/gen/fts.c sp->fts_child = NULL; NULL 348 usr/lib/libc/gen/fts.c if ((p = p->fts_link) != NULL) { NULL 358 usr/lib/libc/gen/fts.c return (NULL); NULL 401 usr/lib/libc/gen/fts.c return (sp->fts_cur = NULL); NULL 415 usr/lib/libc/gen/fts.c return (NULL); NULL 423 usr/lib/libc/gen/fts.c return (NULL); NULL 429 usr/lib/libc/gen/fts.c return (NULL); NULL 463 usr/lib/libc/gen/fts.c return (NULL); NULL 477 usr/lib/libc/gen/fts.c return (NULL); NULL 489 usr/lib/libc/gen/fts.c return (NULL); NULL 513 usr/lib/libc/gen/fts.c return (NULL); NULL 516 usr/lib/libc/gen/fts.c return (NULL); NULL 548 usr/lib/libc/gen/fts.c char *cp = NULL; /* pacify gcc */ NULL 565 usr/lib/libc/gen/fts.c if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) { NULL 570 usr/lib/libc/gen/fts.c return (NULL); NULL 638 usr/lib/libc/gen/fts.c adjaddr = NULL; NULL 639 usr/lib/libc/gen/fts.c for (head = tail = NULL, nitems = 0; (dp = readdir(dirp)) != NULL;) { NULL 644 usr/lib/libc/gen/fts.c if ((p = fts_alloc(sp, dp->d_name, (int)dp->d_namlen)) == NULL) NULL 661 usr/lib/libc/gen/fts.c return (NULL); NULL 709 usr/lib/libc/gen/fts.c p->fts_link = NULL; NULL 710 usr/lib/libc/gen/fts.c if (head == NULL) NULL 749 usr/lib/libc/gen/fts.c return (NULL); NULL 756 usr/lib/libc/gen/fts.c return (NULL); NULL 860 usr/lib/libc/gen/fts.c (size_t)(sp->fts_nitems * sizeof(FTSENT *)))) == NULL) { NULL 872 usr/lib/libc/gen/fts.c ap[0]->fts_link = NULL; NULL 893 usr/lib/libc/gen/fts.c if ((p = malloc(len)) == NULL) NULL 894 usr/lib/libc/gen/fts.c return (NULL); NULL 907 usr/lib/libc/gen/fts.c p->fts_pointer = NULL; NULL 917 usr/lib/libc/gen/fts.c while ((p = head) != NULL) { NULL 934 usr/lib/libc/gen/fts.c return (sp->fts_path == NULL); NULL 53 usr/lib/libc/gen/getpass.c if ((outfp = fp = fopen(_PATH_TTY, "w+")) == NULL) { NULL 45 usr/lib/libc/gen/time.c if (t != NULL) NULL 49 usr/lib/libc/gen/verr.c if (fmt != NULL) { NULL 45 usr/lib/libc/gen/verrx.c if (fmt != NULL) NULL 47 usr/lib/libc/gen/vwarn.c if (fmt != NULL) { NULL 44 usr/lib/libc/gen/vwarnx.c if (fmt != NULL) NULL 49 usr/lib/libc/stdio/fdopen.c return (NULL); NULL 53 usr/lib/libc/stdio/fdopen.c return (NULL); NULL 57 usr/lib/libc/stdio/fdopen.c return (NULL); NULL 60 usr/lib/libc/stdio/fdopen.c if ((fp = __sfp()) == NULL) NULL 61 usr/lib/libc/stdio/fdopen.c return (NULL); NULL 43 usr/lib/libc/stdio/fflush.c if (fp == NULL) NULL 63 usr/lib/libc/stdio/fflush.c if ((p = fp->_bf._base) == NULL) NULL 58 usr/lib/libc/stdio/fgets.c return (NULL); NULL 67 usr/lib/libc/stdio/findfp.c if (fp->next == NULL) { NULL 68 usr/lib/libc/stdio/findfp.c if ((tmp = malloc(sizeof(FILE))) == NULL) NULL 75 usr/lib/libc/stdio/findfp.c return (NULL); NULL 77 usr/lib/libc/stdio/findfp.c std(fp, NULL, 1, -1); NULL 104 usr/lib/libc/stdio/findfp.c std(&__sF[2], NULL, __SWR|__SNBF, STDERR_FILENO); NULL 50 usr/lib/libc/stdio/fopen.c return (NULL); NULL 51 usr/lib/libc/stdio/fopen.c if ((fp = __sfp()) == NULL) NULL 52 usr/lib/libc/stdio/fopen.c return (NULL); NULL 55 usr/lib/libc/stdio/fopen.c return (NULL); NULL 57 usr/lib/libc/stdio/freopen.c return (NULL); NULL 110 usr/lib/libc/stdio/freopen.c fp->_p = NULL; NULL 111 usr/lib/libc/stdio/freopen.c fp->_bf._base = NULL; NULL 120 usr/lib/libc/stdio/freopen.c return (NULL); NULL 79 usr/lib/libc/stdio/fseek.c } else if (fp->_flags & __SWR && fp->_p != NULL) NULL 98 usr/lib/libc/stdio/fseek.c if (fp->_bf._base == NULL) NULL 63 usr/lib/libc/stdio/ftell.c } else if (fp->_flags & __SWR && fp->_p != NULL) { NULL 45 usr/lib/libc/stdio/fwalk.c for (fp = &__sF[0]; fp != NULL; fp = fp->next) { NULL 46 usr/lib/libc/stdio/gets.c return (NULL); NULL 64 usr/lib/libc/stdio/local.h ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && \ NULL 71 usr/lib/libc/stdio/local.h #define HASUB(fp) ((fp)->_ub._base != NULL) NULL 73 usr/lib/libc/stdio/local.h (fp)->_ub._base = NULL; \ NULL 80 usr/lib/libc/stdio/makebuf.c if ((p = malloc(size)) == NULL) { NULL 53 usr/lib/libc/stdio/mktemp.c return(_gettemp(path, (int *)NULL) ? path : (char *)NULL); NULL 39 usr/lib/libc/stdio/perror.c if (s != NULL && *s != '\0') { NULL 96 usr/lib/libc/stdio/refill.c if (fp->_bf._base == NULL) NULL 53 usr/lib/libc/stdio/setbuffer.c return (setvbuf(fp, (char *)NULL, _IOLBF, (size_t)0)); NULL 72 usr/lib/libc/stdio/setvbuf.c if (buf != NULL && (flags & __SMBF)) NULL 87 usr/lib/libc/stdio/setvbuf.c if (buf == NULL) NULL 48 usr/lib/libc/stdio/sscanf.c f._ub._base = NULL; NULL 46 usr/lib/libc/stdio/tempnam.c return(NULL); NULL 51 usr/lib/libc/stdio/tempnam.c if ((f = getenv("TMPDIR")) != NULL) { NULL 54 usr/lib/libc/stdio/tempnam.c if ((f = mktemp(name)) != NULL) NULL 58 usr/lib/libc/stdio/tempnam.c if ((/* LINTED */f = (char *)dir) != NULL) { NULL 61 usr/lib/libc/stdio/tempnam.c if ((f = mktemp(name)) != NULL) NULL 67 usr/lib/libc/stdio/tempnam.c if ((f = mktemp(name)) != NULL) NULL 72 usr/lib/libc/stdio/tempnam.c if ((f = mktemp(name)) != NULL) NULL 78 usr/lib/libc/stdio/tempnam.c return(NULL); NULL 60 usr/lib/libc/stdio/tmpfile.c (void)sigprocmask(SIG_SETMASK, &oset, NULL); NULL 63 usr/lib/libc/stdio/tmpfile.c return (NULL); NULL 65 usr/lib/libc/stdio/tmpfile.c if ((fp = fdopen(fd, "w+")) == NULL) { NULL 69 usr/lib/libc/stdio/tmpfile.c return (NULL); NULL 45 usr/lib/libc/stdio/tmpnam.c if (s == NULL) NULL 81 usr/lib/libc/stdio/ungetc.c if (fp->_bf._base != NULL && fp->_p > fp->_bf._base && NULL 202 usr/lib/libc/stdio/vfprintf.c char *xdigs = NULL; /* digits for [xX] conversion */ NULL 412 usr/lib/libc/stdio/vfprintf.c if ((cp = va_arg(ap, char *)) == NULL) NULL 422 usr/lib/libc/stdio/vfprintf.c if (p != NULL) { NULL 516 usr/lib/libc/stdio/vfscanf.c res = (*ccfn)(buf, (char **)NULL, base); NULL 71 usr/lib/libc/stdio/wsetup.c if (fp->_bf._base == NULL) NULL 49 usr/lib/libc/stdlib/abort.c (void)sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL); NULL 57 usr/lib/libc/stdlib/abort.c (void)sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL); NULL 37 usr/lib/libc/stdlib/atof.c return (strtod(ascii, NULL)); NULL 37 usr/lib/libc/stdlib/atoi.c return((int)strtol(str, (char **)NULL, 10)); NULL 37 usr/lib/libc/stdlib/atol.c return(strtol(str, (char **)NULL, 10)); NULL 41 usr/lib/libc/stdlib/calloc.c if ((p = malloc(size)) != NULL) NULL 69 usr/lib/libc/stdlib/getenv.c if (name == NULL || environ == NULL) NULL 70 usr/lib/libc/stdlib/getenv.c return (NULL); NULL 74 usr/lib/libc/stdlib/getenv.c for (p = environ; (c = *p) != NULL; ++p) NULL 79 usr/lib/libc/stdlib/getenv.c return (NULL); NULL 88 usr/lib/libc/stdlib/getopt.c optarg = NULL; NULL 50 usr/lib/libc/stdlib/getsubopt.c suboptarg = *valuep = NULL; NULL 40 usr/lib/libc/stdlib/putenv.c if ((p = strdup(str)) == NULL) NULL 42 usr/lib/libc/stdlib/putenv.c if ((equal = index(p, '=')) == NULL) { NULL 82 usr/lib/libc/stdlib/setenv.c environ[cnt + 1] = NULL; NULL 46 usr/lib/libc/string/index.c return((char *)NULL); NULL 50 usr/lib/libc/string/memchr.c return (NULL); NULL 44 usr/lib/libc/string/rindex.c for (save = NULL;; ++p) { NULL 54 usr/lib/libc/string/strcasecmp.c if (s1 == NULL || s2 == NULL) NULL 45 usr/lib/libc/string/strdup.c return (NULL); NULL 48 usr/lib/libc/string/strpbrk.c return (NULL); NULL 55 usr/lib/libc/string/strsep.c if ((s = *stringp) == NULL) NULL 56 usr/lib/libc/string/strsep.c return (NULL); NULL 63 usr/lib/libc/string/strsep.c s = NULL; NULL 51 usr/lib/libc/string/strstr.c return (NULL); NULL 45 usr/lib/libc/string/strtok_r.c if (s == NULL && (s = *lasts) == NULL) NULL 46 usr/lib/libc/string/strtok_r.c return (NULL); NULL 59 usr/lib/libc/string/strtok_r.c *lasts = NULL; NULL 60 usr/lib/libc/string/strtok_r.c return (NULL); NULL 74 usr/lib/libc/string/strtok_r.c s = NULL; NULL 123 usr/lib/libsa/vsprintf.c if (str == NULL) NULL 61 usr/lib/posix/exec/execve.c if (path == NULL) NULL 43 usr/lib/posix/file/chdir.c if (path == NULL) { NULL 43 usr/lib/posix/file/getcwd.c if (size == 0 || buf == NULL) { NULL 45 usr/lib/posix/file/getcwd.c return NULL; NULL 49 usr/lib/posix/file/getcwd.c return NULL; NULL 64 usr/lib/posix/file/ioctl.c if ((cmd & IOC_IN && (cmd & IOC_IVAL) == 0 && argp == NULL) || NULL 65 usr/lib/posix/file/ioctl.c (cmd & IOC_OUT && (cmd & IOC_OVAL) == 0 && argp == NULL)) { NULL 43 usr/lib/posix/file/link.c if (oldpath == NULL || newpath == NULL) { NULL 47 usr/lib/posix/file/mount.c if (data != NULL) NULL 46 usr/lib/posix/file/opendir.c if ((dir = malloc(sizeof(struct _dirdesc))) == NULL) NULL 47 usr/lib/posix/file/opendir.c return NULL; NULL 52 usr/lib/posix/file/opendir.c return NULL; NULL 48 usr/lib/posix/file/readdir.c return NULL; NULL 43 usr/lib/posix/file/rename.c if (oldpath == NULL || newpath == NULL) { NULL 43 usr/lib/posix/file/rmdir.c if (path == NULL) { NULL 43 usr/lib/posix/file/unlink.c if (path == NULL || strlen(path) >= PATH_MAX) { NULL 127 usr/lib/posix/process/fork.c thread_load(t, __child_entry, NULL); NULL 133 usr/lib/posix/process/fork_nommu.c thread_load(t, __child_entry, NULL); NULL 148 usr/lib/posix/process/fork_nommu.c thread_load(__parent_thread, __parent_entry, NULL); NULL 82 usr/lib/posix/process/waitpid.c if (status != NULL) NULL 102 usr/lib/posix/signal/__exception.c action.sa_sigaction(sig, &si, NULL); NULL 55 usr/lib/posix/signal/sigaction.c if (oact != NULL) NULL 58 usr/lib/posix/signal/sigaction.c if (act != NULL) NULL 41 usr/lib/posix/signal/sigpending.c if (set == NULL) { NULL 41 usr/lib/posix/signal/sigprocmask.c if (set != NULL) NULL 46 usr/lib/posix/signal/sigprocmask.c if (oldset != NULL) NULL 49 usr/lib/posix/signal/sigprocmask.c if (set != NULL) { NULL 42 usr/lib/posix/signal/sigsuspend.c if (mask == NULL) { NULL 51 usr/lib/posix/signal/sigsuspend.c if (sigprocmask(SIG_SETMASK, &old_mask, NULL)) NULL 57 usr/lib/prex/malloc/malloc.c return NULL; NULL 62 usr/lib/prex/malloc/malloc.c if (scan_head == NULL) { NULL 87 usr/lib/prex/malloc/malloc.c if ((p = more_core(size)) == NULL) NULL 93 usr/lib/prex/malloc/malloc.c if (p == NULL) { NULL 97 usr/lib/prex/malloc/malloc.c return NULL; NULL 111 usr/lib/prex/malloc/malloc.c return NULL; NULL 131 usr/lib/prex/malloc/malloc.c if (addr == NULL) NULL 40 usr/lib/prex/malloc/realloc.c if (addr == NULL) NULL 49 usr/lib/prex/malloc/realloc.c if ((p = malloc(size)) == NULL) NULL 50 usr/lib/prex/malloc/realloc.c return NULL; NULL 100 usr/sample/tetris/input.c if (tvp == NULL) NULL 233 usr/sample/tetris/tetris.c } while (rwait((struct timeval *)NULL) == -1); NULL 77 usr/sbin/diskutil/diskutil.c { NULL ,disk_null ,NULL }, NULL 92 usr/sbin/diskutil/diskutil.c while (cmdtab[i].cmd != NULL) { NULL 117 usr/sbin/diskutil/diskutil.c if (mount(argv[4], argv[5], argv[3], 0, NULL) < 0) { NULL 155 usr/sbin/diskutil/diskutil.c disk_help(1, NULL); NULL 159 usr/sbin/diskutil/diskutil.c while (cmdtab[i].cmd != NULL) { NULL 168 usr/sbin/diskutil/diskutil.c disk_help(1, NULL); NULL 70 usr/sbin/lock/lock.c if ((fp = fopen(_PATH_PASSWD, "r")) == NULL) { NULL 74 usr/sbin/lock/lock.c if (((p = fgets(passcode, sizeof(passcode), fp)) == NULL) || NULL 144 usr/sbin/lock/lock.c if ((fp = fopen(_PATH_PASSWD, "w+")) == NULL) { NULL 145 usr/sbin/lock/lock.c err(1, NULL); NULL 77 usr/sbin/pmctrl/pmctrl.c { NULL ,pmctrl_null ,NULL }, NULL 94 usr/sbin/pmctrl/pmctrl.c while (cmdtab[i].cmd != NULL) { NULL 258 usr/sbin/pmctrl/pmctrl.c pmctrl_help(1, NULL); NULL 267 usr/sbin/pmctrl/pmctrl.c while (cmdtab[i].cmd != NULL) { NULL 276 usr/sbin/pmctrl/pmctrl.c pmctrl_help(1, NULL); NULL 66 usr/server/boot/boot.c static const char *initargs[] = { "1", NULL }; NULL 67 usr/server/boot/boot.c static const char *initenvs[] = { "TERM=vt100", "USER=root", NULL }; NULL 82 usr/server/boot/boot.c NULL NULL 135 usr/server/boot/boot.c if (mount("", "/", "ramfs", 0, NULL) < 0) NULL 142 usr/server/boot/boot.c while (base_dir[i] != NULL) { NULL 151 usr/server/boot/boot.c if (mount("/dev/ram0", "/boot", "arfs", 0, NULL) < 0) NULL 157 usr/server/boot/boot.c if ((fp = fopen("/boot/fstab", "r")) == NULL) NULL 161 usr/server/boot/boot.c if ((p = fgets(line, sizeof(line), fp)) == NULL) NULL 164 usr/server/boot/boot.c if (spec == NULL || *spec == '#') NULL 166 usr/server/boot/boot.c file = strtok(NULL, " \t\n"); NULL 167 usr/server/boot/boot.c type = strtok(NULL, " \t\n"); NULL 55 usr/server/exec/exec_cap.c while (map->c_path != NULL) { NULL 81 usr/server/exec/exec_cap.c if (msg->path == NULL) NULL 67 usr/server/exec/exec_elf.c if (phdr == NULL) NULL 207 usr/server/exec/exec_elf.c if ((buf = malloc(shdr_size)) == NULL) { NULL 277 usr/server/exec/exec_elf.c if ((addr = malloc(shdr->sh_size)) == NULL) { NULL 74 usr/server/exec/exec_execve.c struct exec_loader *ldr = NULL; NULL 106 usr/server/exec/exec_execve.c exec.xarg1 = NULL; NULL 107 usr/server/exec/exec_execve.c exec.xarg2 = NULL; NULL 358 usr/server/exec/exec_execve.c if (xarg2 != NULL) { NULL 365 usr/server/exec/exec_execve.c if (xarg1 != NULL) { NULL 394 usr/server/exec/exec_execve.c argv[argc + 1] = NULL; NULL 400 usr/server/exec/exec_execve.c envp[envc] = NULL; NULL 96 usr/server/exec/exec_script.c exec->xarg2 = NULL; NULL 79 usr/server/fs/arfs/arfs_vfsops.c if ((buf = malloc(BSIZE)) == NULL) NULL 179 usr/server/fs/arfs/arfs_vnops.c if ((p = memchr(&hdr->ar_name, '/', 16)) != NULL) NULL 325 usr/server/fs/arfs/arfs_vnops.c if ((p = memchr(&hdr->ar_name, '/', 16)) != NULL) NULL 128 usr/server/fs/fatfs/fatfs_node.c if (name == NULL) NULL 77 usr/server/fs/fatfs/fatfs_vfsops.c if (bpb == NULL) NULL 145 usr/server/fs/fatfs/fatfs_vfsops.c if (fmp == NULL) NULL 154 usr/server/fs/fatfs/fatfs_vfsops.c if (fmp->io_buf == NULL) NULL 158 usr/server/fs/fatfs/fatfs_vfsops.c if (fmp->fat_buf == NULL) NULL 162 usr/server/fs/fatfs/fatfs_vfsops.c if (fmp->dir_buf == NULL) NULL 205 usr/server/fs/fatfs/fatfs_vfsops.c if (np == NULL) NULL 502 usr/server/fs/fatfs/fatfs_vnops.c error = fatfs_rmdir(dvp2, NULL, name2); NULL 542 usr/server/fs/fatfs/fatfs_vnops.c error = fatfs_rmdir(dvp1, NULL, name1); NULL 194 usr/server/fs/fifofs/fifo_vnops.c if (np == NULL) NULL 320 usr/server/fs/fifofs/fifo_vnops.c struct fifo_node *np = NULL; NULL 364 usr/server/fs/fifofs/fifo_vnops.c if ((np = malloc(sizeof(struct fifo_node))) == NULL) NULL 367 usr/server/fs/fifofs/fifo_vnops.c if ((np->fn_buf = malloc(PIPE_BUF)) == NULL) { NULL 373 usr/server/fs/fifofs/fifo_vnops.c if (np->fn_name == NULL) { NULL 408 usr/server/fs/fifofs/fifo_vnops.c vp->v_data = NULL; NULL 440 usr/server/fs/fifofs/fifo_vnops.c np = NULL; NULL 448 usr/server/fs/fifofs/fifo_vnops.c if (np == NULL) { NULL 69 usr/server/fs/ramfs/ramfs_vfsops.c if (np == NULL) NULL 104 usr/server/fs/ramfs/ramfs_vnops.c if (np == NULL) NULL 105 usr/server/fs/ramfs/ramfs_vnops.c return NULL; NULL 110 usr/server/fs/ramfs/ramfs_vnops.c if (np->rn_name == NULL) { NULL 112 usr/server/fs/ramfs/ramfs_vnops.c return NULL; NULL 133 usr/server/fs/ramfs/ramfs_vnops.c if (np == NULL) NULL 134 usr/server/fs/ramfs/ramfs_vnops.c return NULL; NULL 139 usr/server/fs/ramfs/ramfs_vnops.c if (dnp->rn_child == NULL) { NULL 143 usr/server/fs/ramfs/ramfs_vnops.c while (prev->rn_next != NULL) NULL 156 usr/server/fs/ramfs/ramfs_vnops.c if (dnp->rn_child == NULL) NULL 167 usr/server/fs/ramfs/ramfs_vnops.c if (prev->rn_next == NULL) { NULL 193 usr/server/fs/ramfs/ramfs_vnops.c if (tmp == NULL) NULL 218 usr/server/fs/ramfs/ramfs_vnops.c for (np = dnp->rn_child; np != NULL; np = np->rn_next) { NULL 248 usr/server/fs/ramfs/ramfs_vnops.c if (np == NULL) NULL 275 usr/server/fs/ramfs/ramfs_vnops.c if (np->rn_buf != NULL) NULL 293 usr/server/fs/ramfs/ramfs_vnops.c if (np->rn_buf != NULL) { NULL 295 usr/server/fs/ramfs/ramfs_vnops.c np->rn_buf = NULL; NULL 328 usr/server/fs/ramfs/ramfs_vnops.c if (np == NULL) NULL 433 usr/server/fs/ramfs/ramfs_vnops.c if (np == NULL) NULL 468 usr/server/fs/ramfs/ramfs_vnops.c if (np == NULL) { NULL 475 usr/server/fs/ramfs/ramfs_vnops.c if (np == NULL) { NULL 173 usr/server/fs/vfs/main.c if (fp == NULL) NULL 179 usr/server/fs/vfs/main.c t->t_ofile[fd] = NULL; NULL 203 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->data[0])) == NULL) NULL 221 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->fd)) == NULL) NULL 241 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->fd)) == NULL) NULL 258 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->fd)) == NULL) NULL 269 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->data[0])) == NULL) NULL 282 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->fd)) == NULL) NULL 322 usr/server/fs/vfs/main.c if (fp == NULL) NULL 327 usr/server/fs/vfs/main.c t->t_ofile[fd] = NULL; NULL 336 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->fd)) == NULL) NULL 347 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->data[0])) == NULL) NULL 359 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->data[0])) == NULL) NULL 373 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->data[0])) == NULL) NULL 401 usr/server/fs/vfs/main.c if (msg->path == NULL) NULL 416 usr/server/fs/vfs/main.c if (msg->path == NULL || msg->path2 == NULL) NULL 435 usr/server/fs/vfs/main.c if (msg->path == NULL) NULL 457 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, fd)) == NULL) NULL 479 usr/server/fs/vfs/main.c if (msg->path == NULL) NULL 520 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, old_fd)) == NULL) NULL 552 usr/server/fs/vfs/main.c if (fp == NULL) NULL 555 usr/server/fs/vfs/main.c if (org != NULL) { NULL 578 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->fd)) == NULL) NULL 664 usr/server/fs/vfs/main.c if (fp != NULL) { NULL 707 usr/server/fs/vfs/main.c target->t_ofile[fd] = NULL; NULL 733 usr/server/fs/vfs/main.c if (fp != NULL) NULL 773 usr/server/fs/vfs/main.c t->t_ofile[rfd] = NULL; NULL 793 usr/server/fs/vfs/main.c t->t_ofile[rfd] = NULL; NULL 794 usr/server/fs/vfs/main.c t->t_ofile[wfd] = NULL; NULL 810 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->data[0])) == NULL) NULL 825 usr/server/fs/vfs/main.c if (msg->path == NULL) NULL 838 usr/server/fs/vfs/main.c if ((fp = task_getfp(t, msg->data[0])) == NULL) NULL 938 usr/server/fs/vfs/main.c fs_register(NULL, &msg); NULL 1020 usr/server/fs/vfs/main.c MSGMAP( 0, NULL ), NULL 1054 usr/server/fs/vfs/main.c error = fs_boot(NULL, msg); NULL 1058 usr/server/fs/vfs/main.c error = fs_register(NULL, msg); NULL 1064 usr/server/fs/vfs/main.c if (t == NULL) NULL 145 usr/server/fs/vfs/vfs_bio.c return NULL; NULL 165 usr/server/fs/vfs/vfs_bio.c if (bp != NULL) { NULL 74 usr/server/fs/vfs/vfs_conf.c {NULL, fs_noop, NULL}, NULL 81 usr/server/fs/vfs/vfs_lookup.c if ((dvp = mp->m_root) == NULL) NULL 107 usr/server/fs/vfs/vfs_lookup.c if (vp == NULL) { NULL 109 usr/server/fs/vfs/vfs_lookup.c if (vp == NULL) { NULL 84 usr/server/fs/vfs/vfs_mount.c return NULL; NULL 148 usr/server/fs/vfs/vfs_mount.c vp_covered = NULL; NULL 165 usr/server/fs/vfs/vfs_mount.c if ((vp = vget(mp, "/")) == NULL) { NULL 236 usr/server/fs/vfs/vfs_mount.c if (mp->m_covered == NULL) { NULL 323 usr/server/fs/vfs/vfs_mount.c m = NULL; NULL 334 usr/server/fs/vfs/vfs_mount.c if (m == NULL) NULL 131 usr/server/fs/vfs/vfs_security.c { NULL, 0, 0, 0, 0 }, NULL 173 usr/server/fs/vfs/vfs_security.c while (map->path != NULL) { NULL 221 usr/server/fs/vfs/vfs_security.c while (map->path != NULL) { NULL 620 usr/server/fs/vfs/vfs_syscalls.c if (dname == NULL) { NULL 76 usr/server/fs/vfs/vfs_task.c return NULL; NULL 92 usr/server/fs/vfs/vfs_task.c return NULL; NULL 104 usr/server/fs/vfs/vfs_task.c if (task_lookup(task) != NULL) NULL 169 usr/server/fs/vfs/vfs_task.c return NULL; NULL 197 usr/server/fs/vfs/vfs_task.c if (t->t_ofile[fd] == NULL) NULL 213 usr/server/fs/vfs/vfs_task.c t->t_ofile[fd] = NULL; NULL 124 usr/server/fs/vfs/vfs_vnode.c return NULL; /* not found */ NULL 170 usr/server/fs/vfs/vfs_vnode.c return NULL; NULL 176 usr/server/fs/vfs/vfs_vnode.c return NULL; NULL 192 usr/server/fs/vfs/vfs_vnode.c return NULL; NULL 455 usr/server/pow/pow.c map = NULL; NULL 474 usr/server/pow/pow.c if (map != NULL && error != 0) NULL 290 usr/server/proc/main.c if ((p = task_to_proc(orgtask)) == NULL) NULL 305 usr/server/proc/main.c if (parent != NULL && parent->p_vforked) NULL 323 usr/server/proc/main.c if ((p = task_to_proc(task)) == NULL) NULL 328 usr/server/proc/main.c if (p->p_parent == NULL) NULL 368 usr/server/proc/main.c if ((p = task_to_proc(task)) == NULL) NULL 390 usr/server/proc/main.c if ((p = malloc(sizeof(struct proc))) == NULL) NULL 87 usr/server/proc/proc_exit.c if (parent != NULL && parent->p_vforked) { NULL 161 usr/server/proc/proc_exit.c p = NULL; NULL 69 usr/server/proc/proc_fork.c if (p_find(pid) == NULL) NULL 138 usr/server/proc/proc_fork.c if (task_to_proc(child) != NULL) { NULL 143 usr/server/proc/proc_fork.c if ((p = malloc(sizeof(struct proc))) == NULL) NULL 56 usr/server/proc/proc_hash.c struct proc *p = NULL; NULL 66 usr/server/proc/proc_hash.c return NULL; NULL 76 usr/server/proc/proc_hash.c struct pgrp *g = NULL; NULL 86 usr/server/proc/proc_hash.c return NULL; NULL 96 usr/server/proc/proc_hash.c struct proc *p = NULL; NULL 107 usr/server/proc/proc_hash.c return NULL; NULL 84 usr/server/proc/proc_pid.c if ((p = p_find(pid)) == NULL) NULL 105 usr/server/proc/proc_pid.c if ((p = p_find(pid)) == NULL) NULL 125 usr/server/proc/proc_pid.c if ((pgrp = pg_find(pgid)) == NULL) { NULL 130 usr/server/proc/proc_pid.c if ((pgrp = malloc(sizeof(struct pgrp))) == NULL) NULL 186 usr/server/proc/proc_pid.c if ((p = p_find(pid)) == NULL) NULL 215 usr/server/proc/proc_pid.c if ((sess = malloc(sizeof(struct session))) == NULL) NULL 91 usr/server/proc/proc_sig.c if ((p = p_find(pid)) == NULL) NULL 109 usr/server/proc/proc_sig.c if ((pgrp = pg_find(pgid)) == NULL) NULL 58 usr/test/args/args.c for (i = 0; envp[i] != NULL; i++) { NULL 55 usr/test/attack/attack.c object_create(NULL, NULL); NULL 56 usr/test/attack/attack.c object_create(NULL, objp); NULL 57 usr/test/attack/attack.c object_create(name, NULL); NULL 63 usr/test/attack/attack.c object_lookup(NULL, objp); NULL 64 usr/test/attack/attack.c object_lookup(name, NULL); NULL 68 usr/test/attack/attack.c msg_send(obj, NULL, size); NULL 71 usr/test/attack/attack.c msg_send(0, NULL, size); NULL 75 usr/test/attack/attack.c msg_receive(obj, NULL, size); NULL 78 usr/test/attack/attack.c msg_receive(0, NULL, size); NULL 82 usr/test/attack/attack.c msg_reply(obj, NULL, size); NULL 85 usr/test/attack/attack.c msg_reply(0, NULL, size); NULL 45 usr/test/conf/conf.c sz = confstr(_CS_PATH,NULL,(size_t)0); NULL 46 usr/test/conf/conf.c if ((pathbuf = malloc(sz)) == NULL) { NULL 53 usr/test/environ/environ.c for (i = 0; envp[i] != NULL; i++) { NULL 92 usr/test/environ/environ.c if (val != NULL) NULL 98 usr/test/environ/environ.c if (val == NULL) NULL 151 usr/test/fileio/fileio.c mount("", "/", "ramfs", 0, NULL); NULL 153 usr/test/fileio/fileio.c mount("", "/dev", "devfs", 0, NULL); /* device */ NULL 155 usr/test/fileio/fileio.c mount("/dev/ram0", "/boot", "arfs", 0, NULL); /* archive */ NULL 66 usr/test/kmon/cmd.c { NULL ,NULL ,NULL }, NULL 74 usr/test/kmon/cmd.c while (cmd_table[i].cmd != NULL) { NULL 164 usr/test/kmon/cmd.c while (cmd_table[i].cmd != NULL) { NULL 171 usr/test/kmon/cmd.c if (cmd_table[i].cmd == NULL) NULL 51 usr/test/kmon/kmon.c char *p, *word = NULL; NULL 60 usr/test/kmon/kmon.c if (word == NULL) { NULL 68 usr/test/kmon/kmon.c word = NULL; NULL 79 usr/test/kmon/kmon.c args[argc] = NULL; NULL 50 usr/test/malloc/malloc.c if (p == NULL) { NULL 52 usr/test/malloc/malloc.c return NULL; NULL 113 usr/test/malloc/malloc.c if (ptr[j] != NULL) { NULL 115 usr/test/malloc/malloc.c ptr[j] = NULL; NULL 51 usr/test/mount/mount.c if (mount(argv[3], argv[4], argv[2], 0, NULL) < 0) {