Home
last modified time | relevance | path

Searched refs:edev (Results 1 – 4 of 4) sorted by relevance

/tools/usb/usbip/libsrc/
Dusbip_host_common.c68 struct usbip_exported_device *edev = NULL; in usbip_exported_device_new() local
73 edev = calloc(1, sizeof(struct usbip_exported_device)); in usbip_exported_device_new()
75 edev->sudev = in usbip_exported_device_new()
77 if (!edev->sudev) { in usbip_exported_device_new()
82 if (hdriver->ops.read_device(edev->sudev, &edev->udev) < 0) in usbip_exported_device_new()
85 edev->status = read_attr_usbip_status(&edev->udev); in usbip_exported_device_new()
86 if (edev->status < 0) in usbip_exported_device_new()
91 edev->udev.bNumInterfaces * sizeof(struct usbip_usb_interface); in usbip_exported_device_new()
93 edev_old = edev; in usbip_exported_device_new()
94 edev = realloc(edev, size); in usbip_exported_device_new()
[all …]
Dusbip_host_common.h88 int usbip_export_device(struct usbip_exported_device *edev, int sockfd);
/tools/usb/usbip/src/
Dusbipd.c94 struct usbip_exported_device *edev; in recv_request_import() local
111 edev = list_entry(i, struct usbip_exported_device, node); in recv_request_import()
112 if (!strncmp(req.busid, edev->udev.busid, SYSFS_BUS_ID_SIZE)) { in recv_request_import()
124 status = usbip_export_device(edev, sockfd); in recv_request_import()
143 memcpy(&pdu_udev, &edev->udev, sizeof(pdu_udev)); in recv_request_import()
159 struct usbip_exported_device *edev; in send_reply_devlist() local
178 edev = list_entry(j, struct usbip_exported_device, node); in send_reply_devlist()
179 if (edev->status != SDEV_ST_USED) in send_reply_devlist()
198 edev = list_entry(j, struct usbip_exported_device, node); in send_reply_devlist()
199 if (edev->status == SDEV_ST_USED) in send_reply_devlist()
[all …]
/tools/testing/selftests/net/forwarding/
Dmirror_gre_changes.sh188 local edev=$1; shift
197 ip route del $route dev $edev
200 ip route add $route dev $edev