Home
last modified time | relevance | path

Searched refs:sockfd (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/usbip/
Dstub_dev.c46 int sockfd = 0; in usbip_sockfd_store() local
57 rv = sscanf(buf, "%d", &sockfd); in usbip_sockfd_store()
61 if (sockfd != -1) { in usbip_sockfd_store()
74 socket = sockfd_lookup(sockfd, &err); in usbip_sockfd_store()
107 sdev->ud.sockfd = sockfd; in usbip_sockfd_store()
164 dev_dbg(&sdev->udev->dev, "shutdown sockfd %d\n", ud->sockfd); in stub_shutdown_connection()
187 ud->sockfd = -1; in stub_shutdown_connection()
283 sdev->ud.sockfd = -1; in stub_device_alloc()
Dvhci_sysfs.c51 vdev->ud.sockfd, in port_show_vhci()
312 int sockfd = 0; in attach_store() local
329 if (sscanf(buf, "%u %u %u %u", &port, &sockfd, &devid, &speed) != 4) in attach_store()
337 sockfd, devid, speed); in attach_store()
360 socket = sockfd_lookup(sockfd, &err); in attach_store()
416 pdev_nr, rhport, sockfd); in attach_store()
422 vdev->ud.sockfd = sockfd; in attach_store()
Dvudc_sysfs.c99 int sockfd = 0; in usbip_sockfd_store() local
107 rv = kstrtoint(in, 0, &sockfd); in usbip_sockfd_store()
124 if (sockfd != -1) { in usbip_sockfd_store()
138 socket = sockfd_lookup(sockfd, &err); in usbip_sockfd_store()
Dusbip_common.h270 int sockfd; member
Dvhci_hcd.c1019 pr_debug("shutdown tcp_socket %d\n", ud->sockfd); in vhci_shutdown_connection()
1038 vdev->ud.sockfd = -1; in vhci_shutdown_connection()
1086 ud->sockfd = -1; in vhci_device_reset()