drv 130 sys/kern/device.c device_create(struct driver *drv, const char *name, int flags) drv 136 sys/kern/device.c ASSERT(drv != NULL); drv 155 sys/kern/device.c if (drv->devsz != 0) { drv 156 sys/kern/device.c if ((private = kmem_alloc(drv->devsz)) == NULL) drv 158 sys/kern/device.c memset(private, 0, drv->devsz); drv 161 sys/kern/device.c dev->driver = drv;