Searched refs:_dev_handle (Results 1 – 1 of 1) sorted by relevance
1244 struct libusb_device_handle *_dev_handle; in libusb_open() local1253 _dev_handle = malloc(sizeof(*_dev_handle) + priv_size); in libusb_open()1254 if (!_dev_handle) in libusb_open()1257 r = usbi_mutex_init(&_dev_handle->lock); in libusb_open()1259 free(_dev_handle); in libusb_open()1263 _dev_handle->dev = libusb_ref_device(dev); in libusb_open()1264 _dev_handle->auto_detach_kernel_driver = 0; in libusb_open()1265 _dev_handle->claimed_interfaces = 0; in libusb_open()1266 memset(&_dev_handle->os_priv, 0, priv_size); in libusb_open()1268 r = usbi_backend->open(_dev_handle); in libusb_open()[all …]