Lines Matching refs:M_BUS
110 static MALLOC_DEFINE(M_BUS, "bus", "Bus data structures");
304 M_BUS, M_NOWAIT | M_ZERO); in devclass_find_internal()
310 bsd_free(dc, M_BUS); in devclass_find_internal()
439 dl = bsd_malloc(sizeof *dl, M_BUS, M_NOWAIT|M_ZERO); in devclass_add_driver()
592 bsd_free(dl, M_BUS); in devclass_delete_driver()
953 newlist = bsd_malloc(sizeof(device_t) * newsize, M_BUS, M_NOWAIT); in devclass_alloc_unit()
966 bsd_free(oldlist, M_BUS); in devclass_alloc_unit()
981 bsd_free(dev->desc, M_BUS); in device_set_desc_internal()
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()
1290 bsd_free(dev->nameunit, M_BUS); in devclass_add_device()
1297 bsd_free(dev->nameunit, M_BUS); in devclass_add_device()
1332 bsd_free(dev->nameunit, M_BUS); in devclass_delete_device()
1559 kobj_delete((kobj_t) child, M_BUS); in device_delete_child()
2640 bsd_free(rle->res, M_BUS); in resource_list_free()
2642 bsd_free(rle, M_BUS); in resource_list_free()
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()