Lines Matching refs:bsd_malloc
303 dc = bsd_malloc(sizeof(struct devclass) + strlen(classname) + 1, in devclass_find_internal()
439 dl = bsd_malloc(sizeof *dl, M_BUS, M_NOWAIT|M_ZERO); in devclass_add_driver()
758 list = bsd_malloc(count * sizeof(device_t), M_TEMP, M_NOWAIT|M_ZERO); in devclass_get_devices()
802 list = bsd_malloc(count * sizeof(driver_t *), M_TEMP, M_NOWAIT); in devclass_get_drivers()
953 newlist = bsd_malloc(sizeof(device_t) * newsize, M_BUS, M_NOWAIT); in devclass_alloc_unit()
987 dev->desc = bsd_malloc(strlen(desc) + 1, M_BUS, M_NOWAIT); in device_set_desc_internal()
1285 dev->nameunit = bsd_malloc(buflen, M_BUS, M_NOWAIT|M_ZERO); in devclass_add_device()
1369 dev = bsd_malloc(sizeof(struct device), 0, M_NOWAIT|M_ZERO); in make_device()
2403 dev->softc = bsd_malloc(driver->size, M_BUS_SC, in device_set_driver()
2669 rle = bsd_malloc(sizeof(struct resource_list_entry), M_BUS, in resource_list_add()
2683 rle->res = bsd_malloc(sizeof(struct resource), M_BUS, M_NOWAIT); in resource_list_add()