Home
last modified time | relevance | path

Searched refs:SYSFS_BUS_ID_SIZE (Results 1 – 8 of 8) sorted by relevance

/linux/tools/usb/usbip/src/
H A Dutils.c18 char command[SYSFS_BUS_ID_SIZE + 4]; in modify_match_busid()
29 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s", in modify_match_busid()
32 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s", in modify_match_busid()
H A Dusbip_network.h48 char busid[SYSFS_BUS_ID_SIZE];
63 char busid[SYSFS_BUS_ID_SIZE];
H A Dusbip_attach.c138 strncpy(request.busid, busid, SYSFS_BUS_ID_SIZE-1); in query_import_device()
165 if (strncmp(reply.udev.busid, busid, SYSFS_BUS_ID_SIZE)) { in query_import_device()
H A Dusbipd.c112 if (!strncmp(req.busid, edev->udev.busid, SYSFS_BUS_ID_SIZE)) { in recv_request_import()
/linux/tools/usb/usbip/libsrc/
H A Dvhci_driver.c54 char lbusid[SYSFS_BUS_ID_SIZE]; in parse_status()
195 int max_len[] = {(int)host_len, (int)port_len, SYSFS_BUS_ID_SIZE}; in read_record()
196 size_t buffer_len = host_len + port_len + SYSFS_BUS_ID_SIZE + 4; in read_record()
431 char remote_busid[SYSFS_BUS_ID_SIZE]; in usbip_vhci_imported_device_dump()
H A Dusbip_common.h44 #define SYSFS_BUS_ID_SIZE 32 macro
113 char busid[SYSFS_BUS_ID_SIZE];
H A Dusbip_common.c231 strncpy(udev->busid, name, SYSFS_BUS_ID_SIZE - 1); in read_usb_device()
232 udev->busid[SYSFS_BUS_ID_SIZE - 1] = '\0'; in read_usb_device()
243 char busid[SYSFS_BUS_ID_SIZE]; in read_usb_interface()
H A Dusbip_device_driver.c116 strncpy(dev->busid, name, SYSFS_BUS_ID_SIZE - 1); in read_usb_vudc_device()
117 dev->busid[SYSFS_BUS_ID_SIZE - 1] = '\0'; in read_usb_vudc_device()