Lines Matching defs:new
390 struct drvdb_ent *new;
446 new = malloc(sizeof(struct drvdb_ent), M_DEVBUF, M_NOWAIT|M_ZERO);
447 if (new == NULL)
452 free (new, M_DEVBUF);
462 free(new, M_DEVBUF);
474 free(new, M_DEVBUF);
479 new->windrv_object = drv;
480 new->windrv_regvals = regvals;
481 new->windrv_devlist = devlist;
482 new->windrv_bustype = bustype;
491 free(new, M_DEVBUF);
496 STAILQ_INSERT_HEAD(&drvdb_head, new, link);
503 * Make a new Physical Device Object for a device that was
516 * This is a new physical device object, which technically
586 struct drvdb_ent *new;
589 new = malloc(sizeof(struct drvdb_ent), M_DEVBUF, M_NOWAIT|M_ZERO);
590 if (new == NULL)
596 free(new, M_DEVBUF);
606 new->windrv_object = drv;
607 new->windrv_devlist = NULL;
608 new->windrv_regvals = NULL;
611 STAILQ_INSERT_HEAD(&drvdb_head, new, link);
638 /* Allocate a new wrapper instance. */
648 /* Insert the function address into the new wrapper instance. */
952 /* Allocate a new wrapper instance. */
962 /* Insert the function address into the new wrapper instance. */
1000 /* Allocate a new wrapper instance. */
1010 /* Insert the function address into the new wrapper instance. */
1040 /* Allocate a new wrapper instance. */
1050 /* Insert the function address into the new wrapper instance. */
1143 /* Set up new GDT entry. */