Home
last modified time | relevance | path

Searched refs:bsd_malloc (Results 1 – 9 of 9) sorted by relevance

/third_party/FreeBSD/sys/kern/
Dsubr_kobj.c120 ops = bsd_malloc(sizeof(struct kobj_ops), M_KOBJ, M_NOWAIT); in kobj_class_compile()
249 obj = bsd_malloc(cls->size, mtype, mflags | M_ZERO); in kobj_create()
Dsubr_bus.c303 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()
[all …]
/third_party/FreeBSD/sys/sys/
Dmalloc.h76 #define bsd_malloc(size, type, flags) zalloc(size) macro
/third_party/FreeBSD/sys/dev/usb/
Dusb_device.c775 udev->ifaces = bsd_malloc(sizeof(*iface) * udev->ifaces_max, in usb_config_parse()
785 udev->endpoints = bsd_malloc(sizeof(*ep) * ep_max, in usb_config_parse()
1509 udev = bsd_malloc(sizeof(*udev), M_USB, M_WAITOK | M_ZERO); in usb_alloc_device()
1870 pd = bsd_malloc(sizeof(struct usb_fs_privdata), M_USBDEV, in usb_make_dev()
Dusb_dev.c315 f = bsd_malloc(sizeof(*f), M_USBDEV, M_WAITOK | M_ZERO); in usb_fifo_alloc()
800 cpd = bsd_malloc(sizeof(*cpd), M_USBDEV, M_WAITOK | M_ZERO); in usb_open()
1975 ps = bsd_malloc(sizeof(*ps), M_USBDEV, M_WAITOK); in usb_alloc_symlink()
Dusb_request.c1270 return (bsd_malloc(size, M_USBDEV, M_ZERO | M_WAITOK)); in usbd_alloc_config_desc()
Dusb_hub.c1426 hub = bsd_malloc(sizeof(hub[0]) + (sizeof(hub->ports[0]) * nports), in uhub_attach()
Dusb_generic.c2460 f->fs_xfer = bsd_malloc(sizeof(f->fs_xfer[0]) * in ugen_ioctl_post()
Dusb_transfer.c1190 buf = bsd_malloc(parm->size[0], M_USB, M_WAITOK | M_ZERO); in usbd_transfer_setup()