Lines Matching refs:M_BUS

170 static MALLOC_DEFINE(M_BUS, "bus", "Bus data structures");
578 M_BUS, M_WAITOK | M_ZERO); in devclass_find_internal()
712 dl = malloc(sizeof *dl, M_BUS, M_WAITOK|M_ZERO); in devclass_add_driver()
874 free(dl, M_BUS); in devclass_delete_driver()
1267 newsize * sizeof(*dc->devices), M_BUS, M_WAITOK); in devclass_alloc_unit()
1305 dev->nameunit = malloc(buflen, M_BUS, M_WAITOK|M_ZERO); in devclass_add_device()
1308 free(dev->nameunit, M_BUS); in devclass_add_device()
1345 free(dev->nameunit, M_BUS); in devclass_delete_device()
1382 dev = malloc(sizeof(*dev), M_BUS, M_WAITOK|M_ZERO); in make_device()
1400 kobj_delete((kobj_t) dev, M_BUS); in make_device()
1558 kobj_delete((kobj_t) child, M_BUS); in device_delete_child()
2057 free(dev->desc, M_BUS); in device_set_desc_internal()
2094 vasprintf(&buf, M_BUS, fmt, ap); in device_set_descf()
2110 buf = strdup_flags(desc, M_BUS, M_WAITOK); in device_set_desc_copy()
2869 free(rle, M_BUS); in resource_list_free()
2922 rle = malloc(sizeof(struct resource_list_entry), M_BUS, in resource_list_add()
3030 free(rle, M_BUS); in resource_list_delete()
3377 free(rle, M_BUS); in resource_list_purge()
5542 udev = malloc(sizeof(*udev), M_BUS, M_WAITOK | M_ZERO); in sysctl_devices()
5566 free(udev, M_BUS); in sysctl_devices()
6056 dcp = malloc(sizeof(*dcp), M_BUS, M_WAITOK | M_ZERO); in dev_wired_cache_init()
6068 free(dln, M_BUS); in dev_wired_cache_fini()
6070 free(dcp, M_BUS); in dev_wired_cache_fini()
6094 dln = malloc(sizeof(*dln) + loclen + pathlen, M_BUS, M_WAITOK | M_ZERO); in dev_wired_cache_add()
6171 e1 = malloc(sizeof(*e), M_BUS, M_WAITOK); in device_set_prop()
6174 free(e1, M_BUS); in device_set_prop()
6223 free(e, M_BUS); in device_clear_prop()
6238 free(e, M_BUS); in device_destroy_props()